Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129471 - Amarok crashes when run by a normal user
Summary: Amarok crashes when run by a normal user
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-10 05:38 UTC by optiluca@gmail.com
Modified: 2006-04-10 14:06 UTC (History)
4 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 optiluca@gmail.com 2006-04-10 05:38:54 UTC
Hi.  I've just emerged amarok 1.4 beta 3, but it won't run if used by a non-root user.  It crashes before the splash screen...

My emerge --info:
Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=k8 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LINGUAS="en it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa apache2 arts atm avi berkdb bitmap-fonts browserplugin cdr cli crypt ctype cups dba dbus dhcpip dlloader doc dri dvd dvdr editor eds emboss encode expat fastbuild ffmpeg foomaticdb force-cgi-redirect fortran ftp gd gif gimpprint glx gphoto2 gpm gstreamer gtk2 hal imagemagick imlib ipod isdnlog jack java joystick jpeg kde kdeenablefinal libdvdread lzw lzw-tiff mad memlimit mikmod mp3 mpeg msn ncurses nls nocd nptl nptlonly nsplugin nvidia opengl pam pcre pdflib perl pic png posix ppds ppoa pppd python qt quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts usb v4l visualization vorbis xcomposite xine xml xpm xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_en linguas_it userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Lukasz Ligowski 2006-04-10 07:11:15 UTC
same here.

tinkerer@quicksilver ~ $ amarok
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
KCrash: Application 'amarokapp' crashing...
KCrash cannot reach kdeinit, launching directly.

emerge --info:

Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Turion(tm) 64 Mobile Technology ML-28
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -mtune=athlon64 -O2 -pipe -fprefetch-loop-arrays -DNDEBUG -DG_DISABLE_ASSERT"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -mtune=athlon64 -O2 -pipe -fprefetch-loop-arrays -DNDEBUG -DG_DISABLE_ASSERT"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://mirror.gentoo.no/ "
LANG="pl_PL@euro"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acl acpi alsa apache2 audiofile avi bash-completion bitmap-fonts blas bzip2 cairo cdparanoia cdr cli crypt cscope ctype cups curl dba divx4linux doc dri dts dvd dvdr dvdread eds emboss emul-linux-x86 encode ethereal examples exif expat fam fastbuild fastcgi ffmpeg fftw flac foomaticdb force-cgi-redirect fortran freetype ftp gd gdbm ggi gif glut gmp gpm gstreamer gtk2 guile hal iconv idn imagemagick imap imlib ipv6 isdnlog jabber java jpeg kde kdeenablefinal lapack lcms libcaca libwww lm_sensors lzw lzw-tiff mad memlimit mime mmap mng mp3 mpeg mpi nas ncurses netcdf nls nptl nptlonly odbc ogg opengl pcmcia pcre pdf pdflib perl php pic plotutils png posix postgres pppd python qt quicktime readline ruby samba sasl sdl session simplexml slang slp soap sockets source speex spell spl sqlite ssl svg tcpd tetex theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis wifi wmf xcomposite xine xinerama xml xml2 xpm xsl xv xvid zlib linguas_pl linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS
Comment 2 DArt 2006-04-10 07:17:15 UTC
Same thing here too. Works well at root but crash as user before splash screen with this trace:

amarok
Session management error: Could not open network socket
amaroK: [Loader] Starting amarokapp..
amaroK: [Loader] Don't run gdb, valgrind, etc. against this binary! Use amarokapp.
Session management error: Could not open network socket
QLayout: Adding KToolBar/mainToolBar (child of QVBox/unnamed) to layout for PlaylistWindow/PlaylistWindow
KCrash: Application 'amarokapp' crashing...

emerge info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cdb cdr crypt cscope cups curl divx4linux doc dri eds emacs emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 isdnlog java jpeg junit kde kdeenablefinal lame lcms ldap libg++ libwww lua mad mikmod mng motif mozilla mp3 mpeg mplayer musicbrainz mysql ncurses nls ogg oggvorbis opengl oss pam pcre pda pdf pdflib perl png pppd python qt quicktime readline ruby samba sdl slang spell ssl subversion svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs winbind xine xml2 xmms xrandr xscreensaver xv xvid zeroconf zlib linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 3 DArt 2006-04-10 07:26:55 UTC
[Forget to specify that I am on x86]
I've run strace on my amarok crash (perhaps it could help):

ioctl(13, FIONREAD, [1])                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
uname({sys="Linux", node="pres_mco_lin", ...}) = 0
connect(4, {sa_family=AF_FILE, path="/tmp/.ICE-unix/12949"}, 22) = -1 ENOENT (No such file or directory)
close(4)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb722bdd0, [CHLD], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
uname({sys="Linux", node="pres_mco_lin", ...}) = 0
connect(4, {sa_family=AF_FILE, path="/tmp/.ICE-unix/12949"}, 22) = -1 ENOENT (No such file or directory)
close(4)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb722bdd0, [CHLD], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
uname({sys="Linux", node="pres_mco_lin", ...}) = 0
connect(4, {sa_family=AF_FILE, path="/tmp/.ICE-unix/12949"}, 22) = -1 ENOENT (No such file or directory)
close(4)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb722bdd0, [CHLD], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
uname({sys="Linux", node="pres_mco_lin", ...}) = 0
connect(4, {sa_family=AF_FILE, path="/tmp/.ICE-unix/12949"}, 22) = -1 ENOENT (No such file or directory)
close(4)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb722bdd0, [CHLD], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
uname({sys="Linux", node="pres_mco_lin", ...}) = 0
connect(4, {sa_family=AF_FILE, path="/tmp/.ICE-unix/12949"}, 22) = -1 ENOENT (No such file or directory)
close(4)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb722bdd0, [CHLD], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
uname({sys="Linux", node="pres_mco_lin", ...}) = 0
connect(4, {sa_family=AF_FILE, path="/tmp/.ICE-unix/12949"}, 22) = -1 ENOENT (No such file or directory)
close(4)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0xb722bdd0, [CHLD], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
write(2, "Session management error: Could "..., 56Session management error: Could not open network socket
) = 56
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2006-04-10 07:34:25 UTC
looks like your dcopserver isn't running for some reason.
Comment 5 DArt 2006-04-10 07:37:34 UTC
(In reply to comment #4)
> looks like your dcopserver isn't running for some reason.
> 
I have verified it, it running correctly....
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2006-04-10 07:40:24 UTC
Is it running as the same user you are logged in as?

Seemingly, you don't have read access to /tmp/.ICE-unix/12949, or it's pointing to the wrong location.
Comment 7 DArt 2006-04-10 07:45:05 UTC
(In reply to comment #6)
> Is it running as the same user you are logged in as?

yes it is

> 
> Seemingly, you don't have read access to /tmp/.ICE-unix/12949, or it's pointing
> to the wrong location.
> 

A wrong location, it does not exist.
Thx
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2006-04-10 07:53:42 UTC
That file is defined in ~/.DCOPserver_xxxxxx

have you tried shutting down and restarting KDE?
Comment 9 DArt 2006-04-10 08:00:56 UTC
(In reply to comment #8)
> That file is defined in ~/.DCOPserver_xxxxxx

ls /home/mcornet/.DCOPserver_pres_mco_lin_*
.DCOPserver_pres_mco_lin__0           .DCOPserver_pres_mco_lin_10.1.2.74_0
.DCOPserver_pres_mco_lin_:0           .DCOPserver_pres_mco_lin_10.1.2.74:0
$ cat /home/mcornet/.DCOPserver_pres_mco_lin_*
local/pres_mco_lin:/tmp/.ICE-unix/dcop30085-1144677398
30085
local/pres_mco_lin:/tmp/.ICE-unix/dcop30085-1144677398
30085
local/pres_mco_lin:/tmp/.ICE-unix/dcop29469-1105368043
29469
local/pres_mco_lin:/tmp/.ICE-unix/dcop29469-1105368043
29469

and $ pgrep dcopserver -l
30085 dcopserver

> 
> have you tried shutting down and restarting KDE?
> 

Yes, one time (restart KDE). I will try to reboot my computer...
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-10 11:41:24 UTC
This should have been fixed in 1.4-beta3b (1.4_beta3-r1), please sync and update to that version, and report.
Comment 11 DArt 2006-04-10 13:54:41 UTC
On my second gentoo box (at home), I've got same problem. I've installed 1.4-beta3b. I've got compilation error due to real flag (chxmapstringtoob.h not found). So I've disabled it.
Once compiled and installed, amarok can be launch correctly. Thx for support. I'll test tomorrow on my first gentoo.
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-10 14:06:50 UTC
Okay this is fixed, now remains the helix problem.