Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193647 - media-sound/amarok-1.4.7 - first instance of amarok hangs on play. 2nd instance works
Summary: media-sound/amarok-1.4.7 - first instance of amarok hangs on play. 2nd instan...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-24 14:39 UTC by Sascha Jüngling
Modified: 2007-10-27 19:21 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 Sascha Jüngling 2007-09-24 14:39:35 UTC
When I boot up my laptop, start amarok (1.4.7) and press "Play", amarok would hang and not respond anymore (I'd have to kill it). After killing it and launching it a second time, the speaker now gives out a short noise and playing from amarok then works.

I already talked to the guys on the amarok IRC channel, but unfortunately they couldn't help either. One of them, Richlv, suggested to remove any "suspicious" CFLAGS. So I recompiled with O2 instead of O3, but that didn't solve the issue. For backtracing, I kept using O2, removed -fomit-frame-pointer, added -ggdb and recompiled amarok with FEATURES="nostrip" USE="debug". However, the backtrace still looks rather meaningless:


Reading symbols from /usr/lib/libmad.so.0...done.
Loaded symbols for /usr/lib/libmad.so.0
0xb7f4c410 in __kernel_vsyscall ()
(gdb) bt full
#0  0xb7f4c410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb5bc808e in ?? () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb5bc3f13 in ?? () from /lib/libpthread.so.0
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 


I tried using "thread apply all bt full" before, but gdb wouldn't output anything for that, so I went with "bt full".

It's not a biggie and I guess I'll have to wait until a new version is released and hope that it automagically fixes itself. Starting amarok twice after boot is nothing too annoying. Finally, my emerge info:

# emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r6 i686)
=================================================================
System uname: 2.6.22-gentoo-r6 i686 Intel(R) Pentium(R) M processor 2.13GHz
Timestamp of tree: Sun, 23 Sep 2007 20:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer"
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/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en de"
MAKEOPTS="-j2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi aim alsa amr asf bash-completion berkdb bitmap-fonts bl bzip2 bzlib cairo cdda cddb cdinstall cdio cdparanoia cdr cdrom cjk cle266 cli cpudetection cracklib crypt css cups dbus de_tvtoday dhcp divx divx4linux dlloader dri dts dv dvd dvdnav dvdr dvdread eds enca encode esd evdev evo exif expat ext3 fam ffmpeg firefox flac fortran ftp gamess gdbm gg gif gphoto2 gpm gstreamer gtk hal hbci iconv icq idn ieee1394 ifp ipv6 irc isdnlog jabber jack java javascript jpeg jpeg2k kde kdeenablefinal kerberos krb4 latex ldap live lzo mad midi mikmod mmap mmx mozcalendar mozdevelop mozsvg mp2 mp3 mpeg mpeg4 mplayer msn mudflap musepack mysql ncurses network nls nntp no-seamonkey nptl nptlonly nsplugin nvidia ogg openal opengl openmp oss pam pcmcia pcre pdf perl png ppds pppd pthreads python qt3 qt3support qt4 quicktime rar readline real realmedia rtsp samba screen sdl sensord server session shout smb snmp speex spell spl srt sse sse2 ssl stream svg symlink tcpd tga theora tiff truetype truetype-fonts type1-fonts unicode upnp usb userlocales vcd vdr vidix vim vorbis widescreen wifi win32codecs wmf wmv wxwindows x264 x86 xanim xine xinerama xml xorg xpm xv xvid xvmc yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard synaptics mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sascha Jüngling 2007-10-27 19:21:54 UTC
No idea what caused it, but issue seems to be gone. Fixed.