Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155507 - amarok-1.4.4 hangs after playing for hours
Summary: amarok-1.4.4 hangs after playing for hours
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-17 11:00 UTC by Frank T. Lofaro Jr.
Modified: 2009-01-30 15:23 UTC (History)
4 users (show)

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


Attachments
Backtrace from when I kill -3 amarokapp when it hangs (backtrace.log,3.14 KB, text/plain)
2007-04-05 17:58 UTC, Frank T. Lofaro Jr.
Details
Backtrace (amarok.bt.tar.bz2,1.10 KB, application/octet-stream)
2008-01-20 21:11 UTC, Ruud Althuizen
Details
Debugging output (amarok.out.tar.bz2,23.12 KB, application/octet-stream)
2008-01-20 21:11 UTC, Ruud Althuizen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank T. Lofaro Jr. 2006-11-17 11:00:46 UTC
Amarok 1.4.4 hangs after playing for a number of hours. If I do an strace sometimes I'll see system calls executing even though playback is frozen and sometimes I see it stuck on this:

futex(0x8377ae4, FUTEX_WAIT, 2, NULL

(if I stop/start playback it stays hung and will be hung on the above syscall)

gdb backtrace was worthless:
(gdb) bt
#0  0xb7fab410 in ?? ()
#1  0xbfd3dcc8 in ?? ()
#2  0x00000002 in ?? ()
#3  0x00000000 in ?? ()

Trying to close its window will often result in KDE complaining it is not responding. (an autokill of non-responding programs would be a nice feature for both KDE and Windows. :)

I'm running a ~x86 system, works quite well in general. Using OSS, not ALSA.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-17 11:03:47 UTC
emerge --info, please.
Comment 2 Frank T. Lofaro Jr. 2006-11-17 11:07:51 UTC
mypc ~ # emerge --info
Portage 2.1.2_rc1-r7 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.12.6
Last Sync: Fri, 17 Nov 2006 17:20:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium2 -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/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks maketest metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j1 -l1"
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="/mnt/hda3/portage-tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 acpi apache2 bash-completion bcmath berkdb bitmap-fonts bzlib cdparanoia cdr cli cracklib crypt cups dlloader dri elibc_glibc emacs emacs-w3 examples fastcgi fbcon flac gdbm glut gpm iconv imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux lcms libg++ linguas_en lm_sensors lmsensors matrox mp3 ncurses nls nocd nptl nptlonly offensive ogg opengl oss pam pcre perl php posix postgres ppds pppd python readline reflection session spl ssl sysvipc tcltk tcpd tidy truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis wddx x-face xaw8 xorg yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-18 05:27:46 UTC
Please try to get an useful backtrace: http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 4 Frank T. Lofaro Jr. 2006-12-22 08:49:10 UTC
#0  0xb7ef4410 in ?? ()
#1  0xbf8f4488 in ?? ()
#2  0x080a8c6c in ?? ()
#3  0x080a8ae8 in ?? ()
#4  0xb5d2ca91 in select () from /lib/libc.so.6
#5  0xb64ce388 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#6  0xb65353a1 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#7  0xb6535226 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#8  0xb651e2cf in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#9  0x0804cf23 in main (argc=-1610603208, argv=0x0) at main.cpp:109
#10 0xb5c8b838 in __libc_start_main () from /lib/libc.so.6
#11 0x0804c5e1 in _start ()

Do you want me to print out any variables from gdb? I still have the core file. Do you need me to recompile libc with debugging also? (If so, would that make my system slow or break anything?)
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-22 20:48:44 UTC
Please follow the guide to get a *full* backtrace if you still experience this.
Comment 6 Frank T. Lofaro Jr. 2007-04-05 17:58:28 UTC
Created attachment 115519 [details]
Backtrace from when I kill -3 amarokapp when it hangs
Comment 7 Frank T. Lofaro Jr. 2007-04-05 18:00:46 UTC
Problem exists in Amarok 1.4.5-r1 too.

I have attached the backtrace.

Here is my current emerge --info 

Portage 2.1.2.3 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.19-gentoo-r1 i686)
=================================================================
System uname: 2.6.19-gentoo-r1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.12.9
Timestamp of tree: Wed, 04 Apr 2007 15:20:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O1 -ggdb -march=pentium2"
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/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O1 -ggdb -march=pentium2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks maketest metadata-transfer sandbox sfperms splitdebug strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j1 -l1"
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="/mnt/hda4/portage-tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="acpi apache2 bash-completion bcmath berkdb bitmap-fonts bzlib cdparanoia cdr cli cracklib crypt cups dri emacs emacs-w3 examples fastcgi fbcon flac gdbm gif glut gpm iconv imagemagick ipv6 isdnlog jpeg lcms libg++ lm_sensors lmsensors matrox midi mp3 ncurses nls nocd nptl nptlonly offensive ogg opengl oss pam pcre perl php png posix postgres ppds pppd python readline reflection session spl ssl sysvipc tcltk tcpd tidy tiff truetype-fonts type1-fonts unicode usb vorbis wddx x-face x86 xaw8 xorg yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


I am saving the current amarokapp and core file so if you want me to print variable names, etc I can.
Comment 8 Frank T. Lofaro Jr. 2007-05-14 22:39:39 UTC
bump
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-07 18:28:52 UTC
The attached backtrace is only for the main thread, that is the eventloop, which can't provide any useful unformation.
Comment 10 Frank T. Lofaro Jr. 2007-07-13 19:35:04 UTC
I'm lost on debugging threaded programs. How would I get the needed backtrace?
Comment 11 Ruud Althuizen 2008-01-18 20:44:09 UTC
I believe I have something similar with 1.4.8. After playing stuff for a while and I want to listen to my normal webradio again _every_ single operation will be very slow (even the rising/lowering of the error window).

This will then be with normal music from the Collection.Only restarting amarok will make everything work again. I'll get an back-trace when I run into it again.
Comment 12 Ruud Althuizen 2008-01-20 21:11:02 UTC
Created attachment 141394 [details]
Backtrace

It took a while, but I've finally persuaded Amarok to reproduce the bug. I'll also submit the debugging output, maybe that can be helpful as well.
Comment 13 Ruud Althuizen 2008-01-20 21:11:31 UTC
Created attachment 141395 [details]
Debugging output
Comment 14 Ruud Althuizen 2008-01-28 21:33:35 UTC
This seems very similar with #206164
Comment 15 Stuart Coyle 2008-02-08 07:55:43 UTC
(In reply to comment #11)
> I believe I have something similar with 1.4.8. After playing stuff for a while
> and I want to listen to my normal webradio again _every_ single operation will
> be very slow (even the rising/lowering of the error window).
> 
> This will then be with normal music from the Collection.Only restarting amarok
> will make everything work again. I'll get an back-trace when I run into it
> again.
> 

I'm seeing the same as this. Amarok 1.4.8, KDE 3.5.7 on AMD64
It only happens after I try to use webradio or magnatune. After playing one track it will run very quickly over all other tracks. Works fine If I stick with CD or ogg playback.  
Comment 16 Stuart Coyle 2008-02-08 07:58:08 UTC
Emerge --info

Portage 2.1.4 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Tue, 22 Jan 2008 19:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
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-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://mirror.pacific.net.au/linux/Gentoo ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo/ ftp://mirror.isp.net.au/pub/gentoo/ ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apache2 arts berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emacs emboss encode esd fam fastcgi firefox flac fortran gdbm gif gpm gstreamer gtk2 hal hardened iconv ieee1394 ipv6 isdnlog jack jpeg ldap mad midi mikmod mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts v4l v4l2 vorbis xinerama xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="tda10046 tda10045" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 17 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-08-05 07:40:18 UTC
Reassigning amarok bugs to Ben as I won't be around for a while (leaving soon for the hospital -- either they hospitalise me or I get to convalescence). Ben feel free to update metadata if you wish, Amarok better have a new maintainer for the future.
Comment 18 Ben de Groot (RETIRED) gentoo-dev 2008-08-07 01:02:44 UTC
Reassigning to sound herd. 

Does this problem still occur with 1.4.9.1?
Comment 19 Carsten Lohrke (RETIRED) gentoo-dev 2009-01-30 15:23:57 UTC
No feedback. Please reopen, if this is still an issue with latest 1.4.x.