Amarok freezes

Marc Cramdal marc.cramdal at gmail.com
Fri Nov 24 00:48:36 UTC 2006


Some of you must have seen my questions on IRC :-) about my strange
amarok freezes.

I'm trying to find where it comes from.

I kind of freeze immediatly after starting playing a track : the mouse
pointer changes to the busy one (I'll call it "partial freeze"). It
completly freezes when the current track is over (I'll call it "full
freeze") I think it could be in ony one thread so I tried killing it
with kill -11 to get a backtrace.

I hope this could help pointing toward a solution ?

Here is the backtrace I get when killing it with segfault during
partial freeze. After it you'll find the one coming from killing it in
full freeze:
========================================================
PARTIAL FREEZE
========================================================

======== DEBUG INFORMATION  =======
Version:    1.4-SVN
Engine:     xine-engine
Build date: Nov 23 2006
CC version: 4.1.1 (Gentoo 4.1.1-r1)
KDElibs:    3.5.5
Qt:         3.3.6
TagLib:     1.4.0
CPU count:  2

==== file `which amarokapp` =======
/usr/kde/3.5/bin/amarokapp: ELF 64-bit LSB executable, AMD x86-64,
version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared
libs), not stripped


==== (gdb) bt =====================
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47719638592000 (LWP 9399)]
[New Thread 1090533696 (LWP 9592)]
[New Thread 1124104512 (LWP 9591)]
[New Thread 1115711808 (LWP 9409)]
[New Thread 1107319104 (LWP 9408)]
[New Thread 1082140992 (LWP 9407)]
[New Thread 1098926400 (LWP 9406)]
0x00002b6696fd2acf in waitpid () from /lib/libpthread.so.0
#0  0x00002b6696fd2acf in waitpid () from /lib/libpthread.so.0
#1  0x0000000000406a7c in Amarok::Crash::crashHandler ()
#2  0x00002b6697572810 in killpg () from /lib/libc.so.6
#3  0x0000000000000000 in ?? ()
#0  0x00002b6696fd2acf in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0000000000406a7c in Amarok::Crash::crashHandler ()
No symbol table info available.
#2  0x00002b6697572810 in killpg () from /lib/libc.so.6
No symbol table info available.
#3  0x0000000000000000 in ?? ()
No symbol table info available.
==== (gdb) thread apply all bt ====
Thread 7 (Thread 1098926400 (LWP 9406)):
#0  0x00002b6696fcf8f7 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaab87d3d5 in _x_metronom_clock_init ()
   from /usr/lib64/libxine.so.1
#2  0x00002b6696fcb135 in start_thread () from /lib/libpthread.so.0
#3  0x00002b66976003dd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()
Thread 6 (Thread 1082140992 (LWP 9407)):
#0  0x00002b66975f8616 in poll () from /lib/libc.so.6
#1  0x00002aaab0050809 in snd_pcm_wait_nocheck () from /usr/lib/libasound.so.2
#2  0x00002aaab1a720dd in ?? ()
   from /usr/lib64/xine/plugins/1.1.2/xineplug_ao_out_alsa.so
#3  0x00002aaaab88bae8 in xine_get_next_audio_frame ()
   from /usr/lib64/libxine.so.1
#4  0x00002b6696fcb135 in start_thread () from /lib/libpthread.so.0
#5  0x00002b66976003dd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()
Thread 5 (Thread 1107319104 (LWP 9408)):
#0  0x00002b6696fcf8f7 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaab88a04c in xine_free_audio_frame () from /usr/lib64/libxine.so.1
#2  0x00002aaaab88c5f4 in xine_get_next_audio_frame ()
   from /usr/lib64/libxine.so.1
#3  0x00002aaaab8940f5 in _x_post_intercept_overlay_manager ()
   from /usr/lib64/libxine.so.1
#4  0x00002aaab573215a in ?? ()
   from /usr/lib64/xine/plugins/1.1.2/xineplug_decode_mad.so
#5  0x00002aaaab886683 in _x_audio_decoder_init () from /usr/lib64/libxine.so.1
#6  0x00002b6696fcb135 in start_thread () from /lib/libpthread.so.0
#7  0x00002b66976003dd in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()
Thread 4 (Thread 1115711808 (LWP 9409)):
#0  0x00002b6696fcf706 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaab88d5cb in xine_event_wait () from /usr/lib64/libxine.so.1
#2  0x00002aaaab88d645 in xine_event_wait () from /usr/lib64/libxine.so.1
#3  0x00002b6696fcb135 in start_thread () from /lib/libpthread.so.0
#4  0x00002b66976003dd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()
Thread 3 (Thread 1124104512 (LWP 9591)):
#0  0x00002b6696fcf706 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaab8801bc in _x_dummy_fifo_buffer_new ()
   from /usr/lib64/libxine.so.1
#2  0x00002aaab22b6fb4 in ?? ()
   from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_audio.so
#3  0x00002aaab22b752b in ?? ()
   from /usr/lib64/xine/plugins/1.1.2/xineplug_dmx_audio.so
#4  0x00002aaaab8918f9 in _x_demux_start_thread () from /usr/lib64/libxine.so.1
#5  0x00002b6696fcb135 in start_thread () from /lib/libpthread.so.0
#6  0x00002b66976003dd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()
Thread 2 (Thread 1090533696 (LWP 9592)):
#0  0x00002b6696fd1d3b in __read_nocancel () from /lib/libpthread.so.0
#1  0x00002b669459f1af in _kde_IceTransGetConnectionNumber ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#2  0x00002b669459930b in _kde_IceRead () from /usr/kde/3.5/lib/libDCOP.so.4
#3  0x00002b669459d630 in KDE_IceProcessMessages ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#4  0x00002b669458cc4f in DCOPClient::callInternal ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#5  0x00002b669458cf48 in DCOPClient::callInternal ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#6  0x00002b6694591278 in DCOPClient::call ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#7  0x00002b66945872e9 in DCOPRef::callInternal ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#8  0x00002b6694587387 in DCOPRef::callInternal ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#9  0x00002b66937a7cfd in KProtocolManager::proxyForURL ()
   from /usr/kde/3.5/lib/libkio.so.4
#10 0x00002b66937a7f1d in KProtocolManager::slaveProtocol ()
   from /usr/kde/3.5/lib/libkio.so.4
#11 0x00002b66937b290b in KIO::Scheduler::_doJob ()
   from /usr/kde/3.5/lib/libkio.so.4
#12 0x00002b66937c0492 in KIO::SimpleJob::SimpleJob ()
   from /usr/kde/3.5/lib/libkio.so.4
#13 0x00002b66937c0a0d in KIO::TransferJob::TransferJob ()
   from /usr/kde/3.5/lib/libkio.so.4
#14 0x00002b66937c47de in KIO::get () from /usr/kde/3.5/lib/libkio.so.4
#15 0x00002b66923c9f79 in Scrobbler::similarArtists () at tooltip.moc:21
#16 0x00002b66921d8680 in CollectionDB::similarArtists ()
    at /usr/qt/3/include/qgarray.h:76
#17 0x00002b66922515f6 in CurrentTrackJob::doJob ()
    at /usr/qt/3/include/qgarray.h:76
#18 0x00002b6692406e6f in ThreadWeaver::Thread::run () at tooltip.moc:21
#19 0x00002b6694f500ab in QThreadInstance::start ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#20 0x00002b6696fcb135 in start_thread () from /lib/libpthread.so.0
#21 0x00002b66976003dd in clone () from /lib/libc.so.6
#22 0x0000000000000000 in ?? ()
Thread 1 (Thread 47719638592000 (LWP 9399)):
#0  0x00002b6696fd2acf in waitpid () from /lib/libpthread.so.0
#1  0x0000000000406a7c in Amarok::Crash::crashHandler ()
#2  0x00002b6697572810 in killpg () from /lib/libc.so.6
#3  0x0000000000000000 in ?? ()
#0  0x00002b6696fd2acf in waitpid () from /lib/libpthread.so.0


==== kdBacktrace() ================
[
0: /usr/kde/3.5/lib/libkdecore.so.4(_Z11kdBacktracei+0x48) [0x2b66942d5308]
1: /usr/kde/3.5/lib/libkdecore.so.4(_Z11kdBacktracev+0xe) [0x2b66942d559e]
2: amarokapp(_ZN6Amarok5Crash12crashHandlerEi+0xaee) [0x40650e]
3: /lib/libc.so.6 [0x2b6697572810]
4: /lib/libc.so.6(__select+0x62) [0x2b66975fa472]
5: /usr/qt/3/lib64/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x280)
[0x2b6694f0d770]
6: /usr/qt/3/lib64/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x42)
[0x2b6694f6ad62]
7: /usr/qt/3/lib64/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x22) [0x2b6694f6ac12]
8: amarokapp [0x4058c8]
9: /lib/libc.so.6(__libc_start_main+0xf4) [0x2b6697560394]
10: amarokapp(_ZN6QGList5clearEv+0xc9) [0x405289]
]


========================================================
FULL FREEZE
========================================================
======== DEBUG INFORMATION  =======
Version:    1.4-SVN
Engine:     xine-engine
Build date: Nov 23 2006
CC version: 4.1.1 (Gentoo 4.1.1-r1)
KDElibs:    3.5.5
Qt:         3.3.6
TagLib:     1.4.0
CPU count:  2

==== file `which amarokapp` =======
/usr/kde/3.5/bin/amarokapp: ELF 64-bit LSB executable, AMD x86-64,
version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared
libs), not stripped


==== (gdb) bt =====================
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47099109804544 (LWP 9773)]
[New Thread 1090533696 (LWP 9796)]
[New Thread 1115711808 (LWP 9783)]
[New Thread 1107319104 (LWP 9782)]
[New Thread 1082140992 (LWP 9781)]
[New Thread 1098926400 (LWP 9780)]
0x00002ad61c974acf in waitpid () from /lib/libpthread.so.0
#0  0x00002ad61c974acf in waitpid () from /lib/libpthread.so.0
#1  0x0000000000406a7c in Amarok::Crash::crashHandler ()
#2  0x00002ad61cf14810 in killpg () from /lib/libc.so.6
#3  0x0000000000000000 in ?? ()
#0  0x00002ad61c974acf in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#1  0x0000000000406a7c in Amarok::Crash::crashHandler ()
No symbol table info available.
#2  0x00002ad61cf14810 in killpg () from /lib/libc.so.6
No symbol table info available.
#3  0x0000000000000000 in ?? ()
No symbol table info available.
==== (gdb) thread apply all bt ====
Thread 6 (Thread 1098926400 (LWP 9780)):
#0  0x00002ad61c9718f7 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaab87d3d5 in _x_metronom_clock_init ()
   from /usr/lib64/libxine.so.1
#2  0x00002ad61c96d135 in start_thread () from /lib/libpthread.so.0
#3  0x00002ad61cfa23dd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()
Thread 5 (Thread 1082140992 (LWP 9781)):
#0  0x00002ad61c971706 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaab889ffd in xine_free_audio_frame ()
   from /usr/lib64/libxine.so.1
#2  0x00002aaaab88ab3a in _x_ao_new_port () from /usr/lib64/libxine.so.1
#3  0x00002aaaab88b765 in xine_get_next_audio_frame ()
   from /usr/lib64/libxine.so.1
#4  0x00002ad61c96d135 in start_thread () from /lib/libpthread.so.0
#5  0x00002ad61cfa23dd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()
Thread 4 (Thread 1107319104 (LWP 9782)):
#0  0x00002ad61c971706 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaab8800e2 in _x_dummy_fifo_buffer_new ()
   from /usr/lib64/libxine.so.1
#2  0x00002aaaab8860e4 in _x_audio_decoder_init ()
   from /usr/lib64/libxine.so.1
#3  0x00002ad61c96d135 in start_thread () from /lib/libpthread.so.0
#4  0x00002ad61cfa23dd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()
Thread 3 (Thread 1115711808 (LWP 9783)):
#0  0x00002ad61c971706 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00002aaaab88d5cb in xine_event_wait () from /usr/lib64/libxine.so.1
#2  0x00002aaaab88d645 in xine_event_wait () from /usr/lib64/libxine.so.1
#3  0x00002ad61c96d135 in start_thread () from /lib/libpthread.so.0
#4  0x00002ad61cfa23dd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()
Thread 2 (Thread 1090533696 (LWP 9796)):
#0  0x00002ad61c973d3b in __read_nocancel () from /lib/libpthread.so.0
#1  0x00002ad619f411af in _kde_IceTransGetConnectionNumber ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#2  0x00002ad619f3b30b in _kde_IceRead () from /usr/kde/3.5/lib/libDCOP.so.4
#3  0x00002ad619f3f630 in KDE_IceProcessMessages ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#4  0x00002ad619f2ec4f in DCOPClient::callInternal ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#5  0x00002ad619f2ef48 in DCOPClient::callInternal ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#6  0x00002ad619f33278 in DCOPClient::call ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#7  0x00002ad619f292e9 in DCOPRef::callInternal ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#8  0x00002ad619f29387 in DCOPRef::callInternal ()
   from /usr/kde/3.5/lib/libDCOP.so.4
#9  0x00002ad619149cfd in KProtocolManager::proxyForURL ()
   from /usr/kde/3.5/lib/libkio.so.4
#10 0x00002ad619149f1d in KProtocolManager::slaveProtocol ()
   from /usr/kde/3.5/lib/libkio.so.4
#11 0x00002ad61915490b in KIO::Scheduler::_doJob ()
   from /usr/kde/3.5/lib/libkio.so.4
#12 0x00002ad619162492 in KIO::SimpleJob::SimpleJob ()
   from /usr/kde/3.5/lib/libkio.so.4
#13 0x00002ad619162a0d in KIO::TransferJob::TransferJob ()
   from /usr/kde/3.5/lib/libkio.so.4
#14 0x00002ad6191667de in KIO::get () from /usr/kde/3.5/lib/libkio.so.4
#15 0x00002ad617d6bf79 in Scrobbler::similarArtists () at tooltip.moc:21
#16 0x00002ad617b7a680 in CollectionDB::similarArtists ()
    at /usr/qt/3/include/qgarray.h:76
#17 0x00002ad617bf35f6 in CurrentTrackJob::doJob ()
    at /usr/qt/3/include/qgarray.h:76
#18 0x00002ad617da8e6f in ThreadWeaver::Thread::run () at tooltip.moc:21
#19 0x00002ad61a8f20ab in QThreadInstance::start ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#20 0x00002ad61c96d135 in start_thread () from /lib/libpthread.so.0
#21 0x00002ad61cfa23dd in clone () from /lib/libc.so.6
#22 0x0000000000000000 in ?? ()
Thread 1 (Thread 47099109804544 (LWP 9773)):
#0  0x00002ad61c974acf in waitpid () from /lib/libpthread.so.0
#1  0x0000000000406a7c in Amarok::Crash::crashHandler ()
#2  0x00002ad61cf14810 in killpg () from /lib/libc.so.6
#3  0x0000000000000000 in ?? ()
#0  0x00002ad61c974acf in waitpid () from /lib/libpthread.so.0


==== kdBacktrace() ================
[
0: /usr/kde/3.5/lib/libkdecore.so.4(_Z11kdBacktracei+0x48) [0x2ad619c77308]
1: /usr/kde/3.5/lib/libkdecore.so.4(_Z11kdBacktracev+0xe) [0x2ad619c7759e]
2: amarokapp(_ZN6Amarok5Crash12crashHandlerEi+0xaee) [0x40650e]
3: /lib/libc.so.6 [0x2ad61cf14810]
4: /lib/libpthread.so.0(__read+0x49) [0x2ad61c973d39]
5: /usr/kde/3.5/lib/libDCOP.so.4 [0x2ad619f411af]
6: /usr/kde/3.5/lib/libDCOP.so.4(_kde_IceRead+0x4b) [0x2ad619f3b30b]
7: /usr/kde/3.5/lib/libDCOP.so.4(KDE_IceProcessMessages+0x50) [0x2ad619f3f630]
8: /usr/kde/3.5/lib/libDCOP.so.4(_ZN10DCOPClient12callInternalERK8QCStringS2_S2_RK9QMemArrayIcEPNS_11ReplyStructEbii+0x4ef)
[0x2ad619f2ec4f]
9: /usr/kde/3.5/lib/libDCOP.so.4(_ZN10DCOPClient12callInternalERK8QCStringS2_S2_RK9QMemArrayIcERS0_RS4_bii+0x148)
[0x2ad619f2ef48]
10: /usr/kde/3.5/lib/libDCOP.so.4(_ZN10DCOPClient4callERK8QCStringS2_S2_RK9QMemArrayIcERS0_RS4_bi+0x1d8)
[0x2ad619f33278]
11: /usr/kde/3.5/lib/libDCOP.so.4(_ZN7DCOPRef12callInternalERK8QCStringS2_RK9QMemArrayIcENS_13EventLoopFlagEi+0x169)
[0x2ad619f292e9]
12: /usr/kde/3.5/lib/libDCOP.so.4(_ZN7DCOPRef12callInternalERK8QCStringS2_RK9QMemArrayIcE+0x17)
[0x2ad619f29387]
13: /usr/kde/3.5/lib/libkio.so.4(_ZN16KProtocolManager11proxyForURLERK4KURL+0x56d)
[0x2ad619149cfd]
14: /usr/kde/3.5/lib/libkio.so.4(_ZN16KProtocolManager13slaveProtocolERK4KURLR7QString+0xdd)
[0x2ad619149f1d]
15: /usr/kde/3.5/lib/libkio.so.4(_ZN3KIO9Scheduler6_doJobEPNS_9SimpleJobE+0x7b)
[0x2ad61915490b]
16: /usr/kde/3.5/lib/libkio.so.4(_ZN3KIO9SimpleJobC2ERK4KURLiRK9QMemArrayIcEb+0x142)
[0x2ad619162492]
17: /usr/kde/3.5/lib/libkio.so.4(_ZN3KIO11TransferJobC1ERK4KURLiRK9QMemArrayIcES7_b+0x2d)
[0x2ad619162a0d]
18: /usr/kde/3.5/lib/libkio.so.4(_ZN3KIO9http_postERK4KURLRK9QMemArrayIcEb+0x4b6)
[0x2ad619166556]
19: /usr/kde/3.5/lib/libamarok.so.0(_ZN18ScrobblerSubmitter13performSubmitEv+0x1026)
[0x2ad617d70d36]
20: /usr/kde/3.5/lib/libamarok.so.0(_ZN18ScrobblerSubmitter8scheduleEb+0x312)
[0x2ad617d72412]
21: /usr/kde/3.5/lib/libamarok.so.0(_ZN18ScrobblerSubmitter10submitItemEP10SubmitItem+0x51)
[0x2ad617d74c31]
22: /usr/kde/3.5/lib/libamarok.so.0(_ZN9Scrobbler26engineTrackPositionChangedElb+0x563)
[0x2ad617d752b3]
23: /usr/kde/3.5/lib/libamarok.so.0(_ZN13EngineSubject26trackPositionChangedNotifyElb+0x57)
[0x2ad617c223d7]
24: /usr/kde/3.5/lib/libamarok.so.0(_ZN16EngineController13slotMainTimerEv+0x38)
[0x2ad617c1f918]
25: /usr/kde/3.5/lib/libamarok.so.0(_ZN16EngineController9qt_invokeEiP8QUObject+0x2b6)
[0x2ad617c21da6]
26: /usr/qt/3/lib64/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x13c)
[0x2ad61a94e70c]
27: /usr/qt/3/lib64/libqt-mt.so.3(_ZN7QObject15activate_signalEi+0xa3)
[0x2ad61a94f3b3]
28: /usr/qt/3/lib64/libqt-mt.so.3(_ZN6QTimer5eventEP6QEvent+0x25)
[0x2ad61a96d995]
29: /usr/qt/3/lib64/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x85)
[0x2ad61a8f8585]
30: /usr/qt/3/lib64/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x87)
[0x2ad61a8f9187]
31: /usr/kde/3.5/lib/libkdecore.so.4(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x19e)
[0x2ad619c6781e]
32: /usr/qt/3/lib64/libqt-mt.so.3(_ZN10QEventLoop14activateTimersEv+0x212)
[0x2ad61a8eecc2]
33: /usr/qt/3/lib64/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x702)
[0x2ad61a8afbf2]
34: /usr/qt/3/lib64/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x42)
[0x2ad61a90cd62]
35: /usr/qt/3/lib64/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x22) [0x2ad61a90cc12]
36: amarokapp [0x4058c8]
37: /lib/libc.so.6(__libc_start_main+0xf4) [0x2ad61cf02394]
38: amarokapp(_ZN6QGList5clearEv+0xc9) [0x405289]
]


==========================================


Thanks in advance for your help,
Marc



More information about the Amarok mailing list