Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 139025

Summary: media-sound/amarok-1.4.1 dies on startup
Product: Gentoo Linux Reporter: Tobias Klausmann (RETIRED) <klausman>
Component: Current packagesAssignee: Diego Elio Pettenò (RETIRED) <flameeyes>
Status: RESOLVED INVALID    
Severity: normal CC: sound
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: startup messages for amarok

Description Tobias Klausmann (RETIRED) gentoo-dev 2006-07-03 08:57:31 UTC
I'll attach the startup messages since it'd make the comment too long.

Also, this dialog box pops up and vanishes when the program eventually dies (after 10s or so):

http://eric.schwarzvogel.de/~klausman/amarok_error.png

A backtrace can be found here:

http://eric.schwarzvogel.de/~klausman/amarok_bt.txt

Portage 2.1.1_pre2-r2 (default-linux/amd64/2005.1, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17.1 x86_64)
=================================================================
System uname: 2.6.17.1 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.1
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 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: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe "
CHOST="x86_64-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 /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon64 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache distlocks parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch http://pandemonium.tiscali.de/pub/gentoo/"
LC_ALL="en_US.utf8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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://rsync5.de.gentoo.org/gentoo-portage"
USE="amd64 X a52 alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bzip2 calendar cdparanoia cdr cli crypt cups dio dlloader dri dts dvb dvd dvdr dvdread emboss encode ethereal exif ffmpeg fftw firefox foomaticdb fortran ftp gif glitz gpm gstreamer gtk gtk2 imlib imlib2 isdnlog jpeg kdeenablefinal ladcca lcms lua lzw lzw-tiff matroska mmap mng moznocompose moznoirc moznomail mozsvg mp3 mpeg mysqli ncurses nls nptl nptlonly offensive ogg opengl pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline recode reflection sdl session sharedmem sockets sox spell spl ssl svg szip tcpd tetex theora tiff truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vim vim-pager vlm vorbis wmf xorg xosd xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_wacom kernel_linux userland_GNU video_cards_vesa video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2006-07-03 08:57:55 UTC
Created attachment 90785 [details]
startup messages for amarok
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2006-07-03 09:10:13 UTC
Things I've already tried:

- rebuilding amarok
- rebuilding kdelibs
- rebuilding xine-lib
Comment 3 Tobias Klausmann (RETIRED) gentoo-dev 2006-07-03 09:12:04 UTC
Oh, and backdating to 1.4.0a yields an amarok that catches a SIGSEGV after this:

$ amarokapp 
amarok: BEGIN: App::App()
KCrash: Application 'amarokapp' crashing...
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.
$
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-03 09:58:51 UTC
Downgrade was never supported. The error is usually due to stale .la files in /usr/kde if you updated straight from 1.3, or if you ever installed Amarok by hand.

Finally, please provide out put of ldd `which amarokapp`
Comment 5 Tobias Klausmann (RETIRED) gentoo-dev 2006-07-03 14:27:30 UTC
[klausman@marv ~]$ ldd `which amarokapp`
	libamarok.so.0 => /usr/kde/3.5/lib64/libamarok.so.0 (0x00002aedf8918000)
	libkhtml.so.4 => /usr/kde/3.5/lib64/libkhtml.so.4 (0x00002aedf8fd8000)
	libkjs.so.1 => /usr/kde/3.5/lib64/libkjs.so.1 (0x00002aedf9500000)
	libpcreposix.so.0 => /usr/lib64/libpcreposix.so.0 (0x00002aedf9682000)
	libpcre.so.0 => /usr/lib64/libpcre.so.0 (0x00002aedf9784000)
	libkdeprint.so.4 => /usr/kde/3.5/lib64/libkdeprint.so.4 (0x00002aedf98a0000)
	libkparts.so.2 => /usr/kde/3.5/lib64/libkparts.so.2 (0x00002aedf9a97000)
	libkutils.so.1 => /usr/kde/3.5/lib64/libkutils.so.1 (0x00002aedf9bf1000)
	libknewstuff.so.1 => /usr/kde/3.5/lib64/libknewstuff.so.1 (0x00002aedf9d6d000)
	libkio.so.4 => /usr/kde/3.5/lib64/libkio.so.4 (0x00002aedf9eb9000)
	libkdeui.so.4 => /usr/kde/3.5/lib64/libkdeui.so.4 (0x00002aedfa382000)
	libkdesu.so.4 => /usr/kde/3.5/lib64/libkdesu.so.4 (0x00002aedfa832000)
	libkwalletclient.so.1 => /usr/kde/3.5/lib64/libkwalletclient.so.1 (0x00002aedfa949000)
	libkdecore.so.4 => /usr/kde/3.5/lib64/libkdecore.so.4 (0x00002aedfaa5c000)
	libDCOP.so.4 => /usr/kde/3.5/lib64/libDCOP.so.4 (0x00002aedfadff000)
	libresolv.so.2 => /lib/libresolv.so.2 (0x00002aedfaf5c000)
	libutil.so.1 => /lib/libutil.so.1 (0x00002aedfb070000)
	libart_lgpl_2.so.2 => /usr/lib64/libart_lgpl_2.so.2 (0x00002aedfb173000)
	libidn.so.11 => /usr/lib64/libidn.so.11 (0x00002aedfb28b000)
	libkdefx.so.4 => /usr/kde/3.5/lib64/libkdefx.so.4 (0x00002aedfb3bc000)
	libqt-mt.so.3 => /usr/qt/3/lib64/libqt-mt.so.3 (0x00002aedfb4e9000)
	libmng.so.1 => /usr/lib64/libmng.so.1 (0x00002aedfbe18000)
	liblcms.so.1 => /usr/lib64/liblcms.so.1 (0x00002aedfbf85000)
	libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00002aedfc0b8000)
	libXi.so.6 => /usr/lib64/libXi.so.6 (0x00002aedfc1db000)
	libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00002aedfc2e3000)
	libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00002aedfc3e6000)
	libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00002aedfc4f1000)
	libXft.so.2 => /usr/lib64/libXft.so.2 (0x00002aedfc5f6000)
	libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00002aedfc709000)
	libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00002aedfc848000)
	libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00002aedfc9c2000)
	libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00002aedfcae5000)
	libSM.so.6 => /usr/lib64/libSM.so.6 (0x00002aedfcc09000)
	libICE.so.6 => /usr/lib64/libICE.so.6 (0x00002aedfcd13000)
	libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00002aedfce2d000)
	libXau.so.6 => /usr/lib64/libXau.so.6 (0x00002aedfcf37000)
	libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00002aedfd03a000)
	libtag.so.1 => /usr/lib64/libtag.so.1 (0x00002aedfd13f000)
	libz.so.1 => /lib/libz.so.1 (0x00002aedfd296000)
	libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1 (0x00002aedfd3aa000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x00002aedfd55f000)
	libXext.so.6 => /usr/lib64/libXext.so.6 (0x00002aedfd667000)
	libdl.so.2 => /lib/libdl.so.2 (0x00002aedfd778000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00002aedfd87c000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/libstdc++.so.6 (0x00002aedfd993000)
	libm.so.6 => /lib/libm.so.6 (0x00002aedfdb94000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aedfdce9000)
	libc.so.6 => /lib/libc.so.6 (0x00002aedfddf7000)
	libpng.so.3 => /usr/lib/libpng.so.3 (0x00002aedfe025000)
	libGLcore.so.1 => //usr/lib64/opengl/nvidia/lib/libGLcore.so.1 (0x00002aedfe14c000)
	libnvidia-tls.so.1 => //usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.1 (0x00002aedfe9cb000)
	/lib64/ld-linux-x86-64.so.2 (0x00002aedf87fb000)


How would I find out if the .la files are stale? And if so, how do I best get rid of them?
Comment 6 Tobias Klausmann (RETIRED) gentoo-dev 2006-07-05 04:13:39 UTC
I think I got it. I removed kdelibs, kwin and kde-env (the only obvious *base* KDE packages), then I moved /usr/kde/ out of the way, merged the three packages again. 

On a hinch I also move ~/.kde out of the way (I tried that before, but not the /usr part). Voil
Comment 7 Tobias Klausmann (RETIRED) gentoo-dev 2006-07-05 04:13:39 UTC
I think I got it. I removed kdelibs, kwin and kde-env (the only obvious *base* KDE packages), then I moved /usr/kde/ out of the way, merged the three packages again. 

On a hinch I also move ~/.kde out of the way (I tried that before, but not the /usr part). Voilá, it worked. I even was able to move my old ~/.kde back and it still works.

Bottom line: something in /usr/kde got amarok and/or one of its kde-core-libs really out of its mind. I still have that /usr/kde in case anybody wants to dig around in it.
Comment 8 Tobias Klausmann (RETIRED) gentoo-dev 2006-07-05 12:56:20 UTC
This afternoon, it bit me back.

After a *thorough* system diagnosis, the root problem surfaced: my /usr fs was badly damaged. I'm reinstalling now (I don't trust a single binary on my system). 

Closing as invalid.