Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140563 - media-sound/amarok-1.4.1 with libvisual-0.4.0 problem
Summary: media-sound/amarok-1.4.1 with libvisual-0.4.0 problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-15 14:29 UTC by Kenton Groombridge
Modified: 2006-07-26 17:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenton Groombridge 2006-07-15 14:29:44 UTC
>=media-sound/amarok-1.4.1 has a problem with media-libs/libvisual-0.4.0

When I select visualizations from the Visualizations window, I get the following output:

*** glibc detected *** /usr/bin/amarok_libvisual: free(): invalid pointer: 0x08068cc8 ***
*** glibc detected *** /usr/bin/amarok_libvisual: free(): invalid pointer: 0x08068d10 ***
*** glibc detected *** /usr/bin/amarok_libvisual: free(): invalid pointer: 0x0807b2c8 ***
*** glibc detected *** /usr/bin/amarok_libvisual: free(): invalid pointer: 0x08068d60 ***
*** glibc detected *** /usr/bin/amarok_libvisual: free(): invalid pointer: 0x08068cc8 ***
*** glibc detected *** /usr/bin/amarok_libvisual: free(): invalid pointer: 0x08068cc8 ***
*** glibc detected *** /usr/bin/amarok_libvisual: free(): invalid pointer: 0x08068cf0 ***
*** glibc detected *** /usr/bin/amarok_libvisual: free(): invalid pointer: 0x08068cc8 ***
*** glibc detected *** /usr/bin/amarok_libvisual: free(): invalid pointer: 0x08068cc8 ***

Each line represents a different visualization selected.  Most visualization windows close immediately when selecting the check box and produce the above output, others will open, but produce either a black background or incorrectly rendered visualizations and will produce the above output when closing the window.

Sometimes I a get these type of messages:

 *** glibc detected *** /usr/bin/amarok_libvisual: munmap_chunk():
invalid pointer: 0x08067f80 ***
*** glibc detected *** /usr/bin/amarok_libvisual: munmap_chunk():
invalid pointer: 0x08067f80 ***
*** glibc detected *** /usr/bin/amarok_libvisual: munmap_chunk():
invalid pointer: 0x08067fa8 ***



Here are start and quit messages from amarok in case they help:

Starting amarok messages:
Amarok: [Loader] Starting amarokapp..
Amarok: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.
QLayout: Adding KToolBar/mainToolBar (child of QVBox/unnamed) to layout for PlaylistWindow/PlaylistWindow
sh: amarok_xmmswrapper2: command not found


Quiting amarok messages:
QObject::disconnect: Unexpected null parameter

QObject::connect: Cannot connect (null)::activePartChanged( KParts::Part * ) to KHTMLPart::slotActiveFrameChanged( KParts::Part * )
QObject::disconnect: Unexpected null parameter
QObject::connect: Cannot connect (null)::activePartChanged( KParts::Part * ) to KHTMLPart::slotActiveFrameChanged( KParts::Part * )
QObject::disconnect: Unexpected null parameter
QObject::connect: Cannot connect (null)::activePartChanged( KParts::Part * ) to KHTMLPart::slotActiveFrameChanged( KParts::Part * )


Other things I have tried:

I found that libvisual-0.2.0 coexists with libvisual-0.4.0, so I removed libvisual-0.2.0 thinking it was causing some type of conflict.  I tried minimal CFLAGS of "-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer" and built both amarok and libvisual.  Looked for residual files left over from  previous builds of libvisual and amarok, none found.  Did an "emerge -e world" and performed a complete rebuild.

Placed a post in linux.gentoo.user and found others with the same problem.  Thankfully it isn't just me.

Thanks for all your hard work.
Ken


emerge --info
Portage 2.1.1_pre2-r8 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-ck1-r2 i686)
=================================================================
                       System Settings
=================================================================
System uname: 2.6.17-ck1-r2 i686 AMD Athlon(tm) XP
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.osuosl.org/ http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext S3TC X a52 aac acpi alsa amarok apache2 arts asf asm audiofile berkdb bzip2 cairo cddb cdio cdparanoia cdr cdrom cli crypt css cups curl dga dlloader dri dv dvd dvdr dvdread eds emoticon encode fame ffmpeg firefox flac foomaticdb gdbm gif gimp glibc-omitfp glut gstreamer gtk gtk2 gzip ieee1394 imagemagick imlib imlib2 iproute2 isdnlog jack java javascript joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lame libwww live logitech-mouse lzo mad mikmod mjpeg mmx mmxext motif mozsvg mp3 mpeg mpeg2 mplayer musicbrainz ncurses network nforce2 nls nntp no-old-linux nomalloccheck nptl nptlonly nsplugin nspr nvidia ogg openal opengl pam pcre pdf perl physfs png python qt qt3 qt4 quicktime readline real reflection rtc samba scanner sdl spell sse ssl subtitles svg sysfs tcltk tcpd theora tiff transcode truetype truetype-fonts type1 type1-fonts udev unicode urandom usb userlocales v4l2 vcd visualization vorbis win32codecs wmf xine xml xorg xpm xrandr xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_evdev kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Christian Lemke 2006-07-22 15:42:35 UTC
I use amarok 1.4.1-r2 with latest libvisual (0.4) and for me also many visualizations do not work.
Some crashes and some only do not show a window without an error.
The error messages are the same as stated above.


emerge --info
Portage 2.1.1_pre3-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r1 i686)
=================================================================
System uname: 2.6.17-gentoo-r1 i686 Celeron (Coppermine)
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/hal/fdi /var/www/localhost/htdocs"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/mnt/E/distfiles"
FEATURES="autoconfig confcache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://einstein.fem.tu-ilmenau.de http://ftp.tu-ilmenau.de/Mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apm arts avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt cups dbus dlloader doc dri dvd dvdr dvdread emboss encode exif expat fbcon ffmpeg foomaticdb gdbm gif glut gmp gphoto2 gpm gtk gtk2 hal idn imagemagick imlib ipv6 isdnlog java jikes jpeg jpeg2k kde kdehiddenvisibility kdexdeltas libg++ libwww lm_sensors mad matroska mmx mng mp3 mpeg mysql ncurses nls nptl ogg opengl pam pcre pdf pdflib perl pic png ppds pppd python qt qt3 qt4 readline reflection samba sasl scanner sdl session slang source spell spl sqlite sqlite3 sse ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts udev usb vcd vorbis win32codecs xine xml xorg xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de linguas_en userland_GNU video_cards_nvidia video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-26 17:42:12 UTC
This should be fixed as of 1.4.1-r3 that I just committed, backporting the change from upstream's SVN.