Bug 131444 - amarok crashes when switching automatically to next song
Summary: amarok crashes when switching automatically to next song
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-27 17:45 UTC by Frederik Himpe
Modified: 2006-07-31 05:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederik Himpe 2006-07-27 17:45:55 UTC
Version:           1.4 svn (20060727) (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.1 
OS:                Linux

Amarok 1.4 svn (20060727) on x86_64 with xine 1.1.2 and alsa output plugin, just crashed by itself when a song finished playing, and it started playing the next song. After the crash, the music continued playing, and Amarok was still present in system tray and task bar, but the UI was completely unresponsive.

I'm not sure if this is a different bug than the one here, which was just closed: http://bugs.kde.org/show_bug.cgi?id=115827. It seems similar, although here it is triggered by itself, while in the other bug it was easily reproducable by having to click manually on the "next track" button. In case it is the same bug, we have yet another duplicate, and it should be reopened. Amarok is barely usable on my x86_64 because of these crashers.

======== DEBUG INFORMATION  =======
Version:    1.4-SVN
Engine:     xine-engine
Build date: Jul 27 2006
CC version: 4.1.1 20060724 (prerelease) (4.1.1-3mdk)
KDElibs:    3.5.3
Qt:         3.3.6
TagLib:     1.4.0
CPU count:  1

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


==== (gdb) bt =====================
Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47650082416448 (LWP 23112)]
[New Thread 1132489024 (LWP 29467)]
[New Thread 1090525504 (LWP 29460)]
[New Thread 1140881728 (LWP 29459)]
[New Thread 1124096320 (LWP 23121)]
[New Thread 1115703616 (LWP 23120)]
[New Thread 1107310912 (LWP 23119)]
[New Thread 1098918208 (LWP 23118)]
[New Thread 1082132800 (LWP 23117)]
0x00002b566603eaa2 in select () from /lib64/libc.so.6
#0  0x00002b566603eaa2 in select () from /lib64/libc.so.6
#1  0x00002b5662c21b20 in QEventLoop::processEvents () 
from /usr/lib/qt3/lib64/libqt-mt.so.3
#2  0x00002b5662c7c751 in QEventLoop::enterLoop () 
from /usr/lib/qt3/lib64/libqt-mt.so.3
#3  0x00002b5662c7c632 in QEventLoop::exec () 
from /usr/lib/qt3/lib64/libqt-mt.so.3
#4  0x0000000000405d3f in main (argc=1, argv=0x7fffffc47328) at main.cpp:108
#0  0x00002b566603eaa2 in select () from /lib64/libc.so.6
No symbol table info available.
#1  0x00002b5662c21b20 in QEventLoop::processEvents () 
from /usr/lib/qt3/lib64/libqt-mt.so.3
No symbol table info available.
#2  0x00002b5662c7c751 in QEventLoop::enterLoop () 
from /usr/lib/qt3/lib64/libqt-mt.so.3
No symbol table info available.
#3  0x00002b5662c7c632 in QEventLoop::exec () 
from /usr/lib/qt3/lib64/libqt-mt.so.3
No symbol table info available.
#4  0x0000000000405d3f in main (argc=1, argv=0x7fffffc47328) at main.cpp:108
        app = {<> = {<No data fields>}, <EngineObserver> = {_vptr.EngineObserver = 
0x2b56602cd2d0, m_subject = 0x0}, static metaObj = 0x605a90, 
  static mainThreadId = 0, m_pGlobalAccel = 0x6cb860, m_pPlayerWindow = 
0xa4f5e0, m_pPlaylistWindow = 0x7c1630, m_pTray = 0x6c1680, 
  m_pMediaDeviceManager = 0x2b566031b540}
==== (gdb) thread apply all bt ====
Thread 9 (Thread 1082132800 (LWP 23117)):
#0  0x00002b56653429d7 in pthread_cond_timedwait@@GLIBC_2.3.2 () 
from /lib64/libpthread.so.0
#1  0x00002aaaab330f23 in metronom_sync_loop (this=0xb331b0) at metronom.c:873
#2  0x00002b566533f360 in start_thread () from /lib64/libpthread.so.0
#3  0x00002b566604552d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()
Thread 8 (Thread 1098918208 (LWP 23118)):
#0  0x00002b566603c826 in poll () from /lib64/libc.so.6
#1  0x00002aaaacf769fd in ao_alsa_handle_event_thread (data=) at 
audio_alsa_out.c:157
#2  0x00002b566533f360 in start_thread () from /lib64/libpthread.so.0
#3  0x00002b566604552d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()
Thread 7 (Thread 1107310912 (LWP 23119)):
#0  0x00002b566603c826 in poll () from /lib64/libc.so.6
#1  0x00002aaaab973fa3 in snd_pcm_wait_nocheck () 
from /usr/lib64/libasound.so.2
#2  0x00002aaaacf76fcf in ao_alsa_write (this_gen=0x6c9ba0, 
data=0x2aaaad09b010, count=1115) at audio_alsa_out.c:801
#3  0x00002aaaab33fcfb in ao_loop (this_gen=) at audio_out.c:1213
#4  0x00002b566533f360 in start_thread () from /lib64/libpthread.so.0
#5  0x00002b566604552d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()
Thread 6 (Thread 1115703616 (LWP 23120)):
#0  0x00002b56653429d7 in pthread_cond_timedwait@@GLIBC_2.3.2 () 
from /lib64/libpthread.so.0
#1  0x00002aaaab33e27c in fifo_remove_int (fifo=0xb86f80, blocking=0) at 
audio_out.c:349
#2  0x00002aaaab33e584 in ao_get_buffer (this_gen=) at audio_out.c:391
#3  0x00002aaaab348ff5 in post_audio_get_buffer (port_gen=) at post.c:601
#4  0x00002aaaaf2d01d5 in vorbis_decode_data (this_gen=0x2aaaaf7881a0, 
buf=0xc958e0) at xine_decoder.c:222
#5  0x00002aaaab33a86d in audio_decoder_loop (stream_gen=) at 
audio_decoder.c:361
#6  0x00002b566533f360 in start_thread () from /lib64/libpthread.so.0
#7  0x00002b566604552d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()
Thread 5 (Thread 1124096320 (LWP 23121)):
#0  0x00002b56653427e6 in pthread_cond_wait@@GLIBC_2.3.2 () 
from /lib64/libpthread.so.0
#1  0x00002aaaab34206b in xine_event_wait (queue=0xca0910) at events.c:59
#2  0x00002aaaab3420e5 in listener_loop (queue_gen=) at events.c:213
#3  0x00002b566533f360 in start_thread () from /lib64/libpthread.so.0
#4  0x00002b566604552d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()
Thread 4 (Thread 1140881728 (LWP 29459)):
#0  0x00002b56653427e6 in pthread_cond_wait@@GLIBC_2.3.2 () 
from /lib64/libpthread.so.0
#1  0x00002aaaab33422c in buffer_pool_alloc (this=0xc94ad0) at buffer.c:93
#2  0x00002aaaab34627c in _x_demux_send_data (fifo=0xc94ad0, 
    
data=0x1d027ac "\236z%t\212È~Ð\b\020ÐJÅR\2170\207Ý\032\002\206\035I÷\207\233½#\200uÿîË7¯\215Þê\016\207\2040.}Ðß\033\031Ð÷ôÝy\216*\226\216S%¨<\f", 
    size=351, pts=0, type=50921472, decoder_flags=) at demux.c:531
#3  0x00002aaaad28bd11 in send_ogg_buf (this=0xe92e40, op=0x440070f0, 
stream_num=) at demux_ogg.c:624
#4  0x00002aaaad28e793 in demux_ogg_send_chunk (this_gen=) at demux_ogg.c:1514
#5  0x00002aaaab3467e9 in demux_loop (stream_gen=) at demux.c:261
#6  0x00002b566533f360 in start_thread () from /lib64/libpthread.so.0
#7  0x00002b566604552d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()
Thread 3 (Thread 1090525504 (LWP 29460)):
#0  0x00002b5665345d6f in waitpid () from /lib64/libpthread.so.0
#1  0x0000000000406a60 in amaroK::Crash::crashHandler () at 
crashhandler.cpp:249
#2  0x00002b5665fa8030 in killpg () from /lib64/libc.so.6
#3  0x0000000000000000 in ?? ()
Thread 2 (Thread 1132489024 (LWP 29467)):
#0  0x00002b5665344fe7 in __close_nocancel () from /lib64/libpthread.so.0
#1  0x00002b56600d86e4 in unixClose (pId=0xe79318) at os_unix.c:1556
#2  0x00002b56600d6f75 in sqlite3OsClose (pId=0xe79318) at os.c:29
#3  0x00002b56600d99c0 in pager_unwritelock (pPager=0xe792a0) at pager.c:898
#4  0x00002b56600dce1e in sqlite3pager_commit (pPager=0xe792a0) at 
pager.c:3336
#5  0x00002b56600ba2a1 in sqlite3BtreeCommit (p=0xdc6640) at btree.c:2504
#6  0x00002b56600fef2e in vdbeCommit (db=0xd76fe0) at vdbeaux.c:984
#7  0x00002b56600ff4a1 in sqlite3VdbeHalt (p=0xe83420) at vdbeaux.c:1282
#8  0x00002b56600f52a0 in sqlite3VdbeExec (p=0xe83420) at vdbe.c:635
#9  0x00002b56600fc684 in sqlite3_step (pStmt=0xe83420) at vdbeapi.c:223
#10 0x00002b565fe7885a in SqliteConnection::insert (this=0x1a677e0, 
statement=@0x43806060) at collectiondb.cpp:5639
#11 0x00002b565fe7a361 in CollectionDB::insert (this=0x2b566031ad20, 
statement=@0x43806060, table=@0x43806050) at collectiondb.cpp:419
#12 0x00002b565fead58e in SimilarArtistsInsertionJob::doJob (this=0x19f4f70) 
at collectiondb.cpp:4775
#13 0x00002b566001ac91 in ThreadWeaver::Thread::run (this=0x69cd90) at 
threadweaver.cpp:297
#14 0x00002b5662c6279b in QThreadInstance::start () 
from /usr/lib/qt3/lib64/libqt-mt.so.3
#15 0x00002b566533f360 in start_thread () from /lib64/libpthread.so.0
#16 0x00002b566604552d in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()
Thread 1 (Thread 47650082416448 (LWP 23112)):
#0  0x00002b566603eaa2 in select () from /lib64/libc.so.6
#1  0x00002b5662c21b20 in QEventLoop::processEvents () 
from /usr/lib/qt3/lib64/libqt-mt.so.3
#2  0x00002b5662c7c751 in QEventLoop::enterLoop () 
from /usr/lib/qt3/lib64/libqt-mt.so.3
#3  0x00002b5662c7c632 in QEventLoop::exec () 
from /usr/lib/qt3/lib64/libqt-mt.so.3
#4  0x0000000000405d3f in main (argc=1, argv=0x7fffffc47328) at main.cpp:108


==== kdBacktrace() ================
[
0: /usr/lib64/libkdecore.so.4(_Z11kdBacktracei+0x48) [0x2b5662038868]
1: /usr/lib64/libkdecore.so.4(_Z11kdBacktracev+0xe) [0x2b5662038afe]
2: amarokapp(_ZN6amaroK5Crash12crashHandlerEi+0xa4f) [0x4068ed]
3: /lib64/libc.so.6 [0x2b5665fa8030]
4: /usr/lib64/libpng12.so.0 [0x2b5664077da6]
]
Comment 1 Tobias Knieper 2006-07-28 18:58:03 UTC
I can confirm. I'm running a normal x86 system, the backtrace looks equal (apart from the lib64 library, mine is called tls)

Here is the last console output:

amarok:   [xine-engine] Metadata received.
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
Very strange! got a DCOPReplyWait opcode, but we were not waiting for a reply!
Very strange! got a DCOPReplyDelayed opcode, but we were not waiting for a 
reply!


Here is the backtrace:

======== DEBUG INFORMATION  =======
Version:    1.4-SVN
Engine:     xine-engine
Build date: Jul 26 2006
CC version: 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)
KDElibs:    3.5.3
Qt:         3.3.6
TagLib:     1.4.0
CPU count:  1

==== file `which amarokapp` =======
/usr/bin/amarokapp: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
for GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux 
2.4.1, not stripped


==== (gdb) bt =====================
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1244977472 (LWP 6039)]
[New Thread -1432790096 (LWP 9216)]
[New Thread -1483121744 (LWP 9212)]
[New Thread -1311216720 (LWP 6199)]
[New Thread -1474733136 (LWP 6198)]
[New Thread -1466344528 (LWP 6197)]
[New Thread -1416012880 (LWP 6196)]
[New Thread -1275466832 (LWP 6048)]
0xb5d9a327 in select () from /lib/tls/libc.so.6
#0  0xb5d9a327 in select () from /lib/tls/libc.so.6
#1  0xb65db258 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#2  0xb664e03d in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#3  0xb664de5e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#4  0xb6635683 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#5  0x0804cf3e in main (argc=1, argv=0xbf8d3ff4) at main.cpp:108
#0  0xb5d9a327 in select () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb65db258 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0xb664e03d in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#3  0xb664de5e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0xb6635683 in QApplication::exec () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#5  0x0804cf3e in main (argc=1, argv=0xbf8d3ff4) at main.cpp:108
        app = {<> = {<No data fields>}, <EngineObserver> = {
    _vptr.EngineObserver = 0xb7f8c7a8, m_subject = 0x0}, 
  static metaObj = 0x81118d8, static mainThreadId = 0, 
  m_pGlobalAccel = 0x812a1d0, m_pPlayerWindow = 0x0, 
  m_pPlaylistWindow = 0x8148180, m_pTray = 0x80e83d8, 
  m_pMediaDeviceManager = 0xb7fb4ba0}
==== (gdb) thread apply all bt ====
Thread 8 (Thread -1275466832 (LWP 6048)):
#0  0xb5fdede2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb44fdd4f in _x_metronom_init () from /usr/lib/libxine.so.1
#2  0xb3f9e43c in ?? ()
#3  0xb3f9e444 in ?? ()
#4  0x083c5e90 in ?? ()
#5  0xb3f9e43c in ?? ()
#6  0x88423f8a in ?? ()
#7  0x00000000 in ?? ()
Thread 7 (Thread -1416012880 (LWP 6196)):
#0  0xb5d97819 in poll () from /lib/tls/libc.so.6
#1  0xb379b197 in ?? ()
   from /usr/lib/xine/plugins/1.1.2/xineplug_ao_out_alsa.so
#2  0xab995398 in ?? ()
#3  0x00000001 in ?? ()
#4  0x0000014d in ?? ()
#5  0x00000000 in ?? ()
Thread 6 (Thread -1466344528 (LWP 6197)):
#0  0xb5d97819 in poll () from /lib/tls/libc.so.6
#1  0xb43f5225 in snd_pcm_wait_nocheck () from /usr/lib/libasound.so.2
#2  0xb43fcdaf in snd_pcm_wait () from /usr/lib/libasound.so.2
#3  0xb379b853 in ?? ()
   from /usr/lib/xine/plugins/1.1.2/xineplug_ao_out_alsa.so
#4  0x08670f08 in ?? ()
#5  0x000f4240 in ?? ()
#6  0x0000006c in ?? ()
#7  0x00000900 in ?? ()
#8  0x002fa200 in ?? ()
#9  0x00000000 in ?? ()
Thread 5 (Thread -1474733136 (LWP 6198)):
#0  0xb5fdede2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb450c0e0 in _x_ao_channels2mode () from /usr/lib/libxine.so.1
Thread 4 (Thread -1311216720 (LWP 6199)):
#0  0xb5fdeb81 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb4510f6c in xine_event_wait () from /usr/lib/libxine.so.1
#2  0x08514938 in ?? ()
#3  0x00000001 in ?? ()
#4  0xb4510ff4 in xine_event_wait () from /usr/lib/libxine.so.1
#5  0x00000000 in ?? ()
Thread 3 (Thread -1483121744 (LWP 9212)):
#0  0xb5fdeb81 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
#1  0xb45014cc in _x_dummy_fifo_buffer_new () from /usr/lib/libxine.so.1
#2  0x08c55c10 in ?? ()
#3  0xb0be7660 in ?? () from /usr/lib/xine/plugins/1.1.2/xineplug_dmx_audio.so
#4  0x000bb11b in ?? ()
#5  0x00000000 in ?? ()
Thread 2 (Thread -1432790096 (LWP 9216)):
#0  0xb5fe2221 in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#1  0x0804df2d in amaroK::Crash::crashHandler () at crashhandler.cpp:249
#2  <signal handler called>
#3  0xb5cf97c7 in raise () from /lib/tls/libc.so.6
#4  0xb5cfb06b in abort () from /lib/tls/libc.so.6
#5  0xb5eef9d4 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#6  0xb5eed3c5 in std::set_unexpected () from /usr/lib/libstdc++.so.6
#7  0xb5eed402 in std::terminate () from /usr/lib/libstdc++.so.6
#8  0xb5eed53a in __cxa_throw () from /usr/lib/libstdc++.so.6
#9  0xb5eed97b in operator new () from /usr/lib/libstdc++.so.6
#10 0xb5eeda4d in operator new[] () from /usr/lib/libstdc++.so.6
#11 0xb69bac03 in operator>> () from /usr/lib/libqt-mt.so.3
#12 0xb6dc93fe in KSycocaDict::find_string () from /usr/lib/libkdecore.so.4
#13 0xb7351244 in KServiceTypeFactory::findServiceTypeByName ()
   from /usr/lib/libkio.so.4
#14 0xb739a361 in KMimeType::mimeType () from /usr/lib/libkio.so.4
#15 0xb739b03a in KMimeType::findByFileContent () from /usr/lib/libkio.so.4
#16 0xb7eda9d3 in MimeTypeFileTypeResolver::createFile (this=0x82dc1f0, 
    
fileName=0x8ae0af0 "/home/micekiller/media/mp3s/misc/oliver_pocher_-_schwarz_und_weiss_(radio_edit)-mst.mp3", 
readProperties=true, 
    propertiesStyle=TagLib::AudioProperties::Fast) at tplugins.cpp:51
#17 0xb60e4f43 in TagLib::FileRef::create () from /usr/lib/libtag.so.1
#18 0xb60e5382 in TagLib::FileRef::FileRef () from /usr/lib/libtag.so.1
#19 0xb7d56b17 in MetaBundle::setUniqueId (this=0xaa995280)
    at metabundle.cpp:1372
#20 0xb7d60f01 in MetaBundle (this=0xaa995280, url=@0xaa995358, noCache=false, 
    readStyle=TagLib::AudioProperties::Fast, images=0x0) at metabundle.cpp:212
#21 0xb7ce2792 in CurrentTrackJob::doJob (this=0x8777d78)
    at contextbrowser.cpp:2732
#22 0xb7e4e594 in ThreadWeaver::Thread::run (this=0x8226838)
    at threadweaver.cpp:297
#23 0xb662c058 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#24 0xb5fdcced in start_thread () from /lib/tls/libpthread.so.0
#25 0xb5da1dee in clone () from /lib/tls/libc.so.6
Thread 1 (Thread -1244977472 (LWP 6039)):
#0  0xb5d9a327 in select () from /lib/tls/libc.so.6
#1  0xb65db258 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#2  0xb664e03d in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#3  0xb664de5e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#4  0xb6635683 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#5  0x0804cf3e in main (argc=1, argv=0xbf8d3ff4) at main.cpp:108
#0  0xb5d9a327 in select () from /lib/tls/libc.so.6


==== kdBacktrace() ================
[
0: /usr/lib/libkdecore.so.4(_Z11kdBacktracei+0x45) [0xb6d4a525]
1: /usr/lib/libkdecore.so.4(_Z11kdBacktracev+0x2b) [0xb6d4a8ab]
2: amarokapp(_ZN6amaroK5Crash12crashHandlerEi+0xca6) [0x804dd90]
3: [0xffffe420]
4: /lib/tls/libc.so.6(abort+0xeb) [0xb5cfb06b]
5: /usr/lib/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x154) 
[0xb5eef9d4]
6: /usr/lib/libstdc++.so.6 [0xb5eed3c5]
7: /usr/lib/libstdc++.so.6 [0xb5eed402]
8: /usr/lib/libstdc++.so.6 [0xb5eed53a]
9: /usr/lib/libstdc++.so.6(_Znwj+0x8b) [0xb5eed97b]
10: /usr/lib/libstdc++.so.6(_Znaj+0x1d) [0xb5eeda4d]
11: /usr/lib/libqt-mt.so.3(_ZrsR11QDataStreamR7QString+0x10f) [0xb69bac03]
12: /usr/lib/libkdecore.so.4(_ZN11KSycocaDict11find_stringERK7QString+0x13e) 
[0xb6dc93fe]
13: /usr/lib/libkio.so.4
(_ZN19KServiceTypeFactory21findServiceTypeByNameERK7QString+0x44) 
[0xb7351244]
14: /usr/lib/libkio.so.4(_ZN9KMimeType8mimeTypeERK7QString+0x31) [0xb739a361]
15: /usr/lib/libkio.so.4(_ZN9KMimeType17findByFileContentERK7QStringPi+0x5a) 
[0xb739b03a]
16: /usr/lib/libamarok.so.0
(_ZNK24MimeTypeFileTypeResolver10createFileEPKcbN6TagLib15AudioProperties9ReadStyleE+0x71) 
[0xb7eda9d3]
17: /usr/lib/libtag.so.1
(_ZN6TagLib7FileRef6createEPKcbNS_15AudioProperties9ReadStyleE+0x73) 
[0xb60e4f43]
18: /usr/lib/libtag.so.1
(_ZN6TagLib7FileRefC1EPKcbNS_15AudioProperties9ReadStyleE+0x42) [0xb60e5382]
19: /usr/lib/libamarok.so.0(_ZN10MetaBundle11setUniqueIdEv+0x121) [0xb7d56b17]
20: /usr/lib/libamarok.so.0
(_ZN10MetaBundleC1ERK4KURLbN6TagLib15AudioProperties9ReadStyleEP10QValueListINS_13EmbeddedImageEE+0x2cb) 
[0xb7d60f01]
21: /usr/lib/libamarok.so.0(_ZN15CurrentTrackJob5doJobEv+0xb6) [0xb7ce2792]
22: /usr/lib/libamarok.so.0(_ZN12ThreadWeaver6Thread3runEv+0xe2) [0xb7e4e594]
23: /usr/lib/libqt-mt.so.3(_ZN15QThreadInstance5startEPv+0x86) [0xb662c058]
24: /lib/tls/libpthread.so.0 [0xb5fdcced]
25: /lib/tls/libc.so.6(__clone+0x5e) [0xb5da1dee]
Comment 2 Jeff Mitchell 2006-07-28 20:20:52 UTC
These backtraces do not appear to be caused by the same problem.  Not only that, but the second one seems to be running code that has been changed in SVN as of two days ago (even though that is the build date), and that cannot be run anymore.

Both of you please SVN up and rebuild, making sure to pass --enable-debug=full to configure...there's not much useful information in these backtraces.

If you still have similar problems, then please update.

Thanks!
Comment 3 Frederik Himpe 2006-07-28 22:43:49 UTC
OK, I reproduced it with svn r556730. I removed all previously installed amarok versions, did a make clean and compiled with full debugging options.

When switching to another song, Amarok crashes, but the music continues to play. The Amarok GUI is completely unresponsive, and also Kopete (which uses the nowlistening plugin), is completely unresponsive until I kill Amarok.

When the crash happens, actually two kmail windows open with two backtraces. I'll post them here:

======== DEBUG INFORMATION  =======
Version:    1.4-SVN
Engine:     xine-engine
Build date: Jul 28 2006
CC version: 4.1.1 20060724 (prerelease) (4.1.1-3mdk)
KDElibs:    3.5.3
Qt:         3.3.6
TagLib:     1.4.0
CPU count:  1

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


==== (gdb) bt =====================
Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46996257183552 (LWP 24232)]
[New Thread 1140881728 (LWP 25377)]
[New Thread 1098918208 (LWP 25376)]
[New Thread 1132489024 (LWP 24244)]
[New Thread 1124096320 (LWP 24243)]
[New Thread 1115703616 (LWP 24242)]
[New Thread 1107310912 (LWP 24241)]
[New Thread 1090525504 (LWP 24240)]
0x00002abe2afe9aa2 in select () from /lib64/libc.so.6
#0  0x00002abe2afe9aa2 in select () from /lib64/libc.so.6
#1  0x00002abe27bccb20 in QEventLoop::processEvents () from /usr/lib/qt3/lib64/libqt-mt.so.3
#2  0x00002abe27c27751 in QEventLoop::enterLoop () from /usr/lib/qt3/lib64/libqt-mt.so.3
#3  0x00002abe27c27632 in QEventLoop::exec () from /usr/lib/qt3/lib64/libqt-mt.so.3
#4  0x0000000000405d3f in main (argc=1, argv=0x7fffffc81388) at main.cpp:108
#0  0x00002abe2afe9aa2 in select () from /lib64/libc.so.6
No symbol table info available.
#1  0x00002abe27bccb20 in QEventLoop::processEvents () from /usr/lib/qt3/lib64/libqt-mt.so.3
No symbol table info available.
#2  0x00002abe27c27751 in QEventLoop::enterLoop () from /usr/lib/qt3/lib64/libqt-mt.so.3
No symbol table info available.
#3  0x00002abe27c27632 in QEventLoop::exec () from /usr/lib/qt3/lib64/libqt-mt.so.3
No symbol table info available.
#4  0x0000000000405d3f in main (argc=1, argv=0x7fffffc81388) at main.cpp:108
	app = {<> = {<No data fields>}, <EngineObserver> = {_vptr.EngineObserver = 0x2abe252782d0, m_subject = 0x0}, static metaObj = 0x604d30, 
  static mainThreadId = 0, m_pGlobalAccel = 0x62f560, m_pPlayerWindow = 0x96aa10, m_pPlaylistWindow = 0x6419f0, m_pTray = 0x5a3da0, 
  m_pMediaDeviceManager = 0x2abe252c65a0}
==== (gdb) thread apply all bt ====
Thread 8 (Thread 1090525504 (LWP 24240)):
#0  0x00002abe2a2ed9d7 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002aaaab296f23 in metronom_sync_loop (this=0xa96020) at metronom.c:873
#2  0x00002abe2a2ea360 in start_thread () from /lib64/libpthread.so.0
#3  0x00002abe2aff052d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()
Thread 7 (Thread 1107310912 (LWP 24241)):
#0  0x00002abe2afe7826 in poll () from /lib64/libc.so.6
#1  0x00002aaaacedc9fd in ao_alsa_handle_event_thread (data=) at audio_alsa_out.c:157
#2  0x00002abe2a2ea360 in start_thread () from /lib64/libpthread.so.0
#3  0x00002abe2aff052d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()
Thread 6 (Thread 1115703616 (LWP 24242)):
#0  0x00002abe2afe7826 in poll () from /lib64/libc.so.6
#1  0x00002aaaab8d9fa3 in snd_pcm_wait_nocheck () from /usr/lib64/libasound.so.2
#2  0x00002aaaacedcfcf in ao_alsa_write (this_gen=0xa97280, data=0x2aaaacfe0010, count=1114) at audio_alsa_out.c:801
#3  0x00002aaaab2a5cfb in ao_loop (this_gen=) at audio_out.c:1213
#4  0x00002abe2a2ea360 in start_thread () from /lib64/libpthread.so.0
#5  0x00002abe2aff052d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()
Thread 5 (Thread 1124096320 (LWP 24243)):
#0  0x00002abe2a2ed9d7 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002aaaab2a427c in fifo_remove_int (fifo=0xae7e40, blocking=0) at audio_out.c:349
#2  0x00002aaaab2a4584 in ao_get_buffer (this_gen=) at audio_out.c:391
#3  0x00002aaaab2aeff5 in post_audio_get_buffer (port_gen=) at post.c:601
#4  0x00002aaaaf2351d5 in vorbis_decode_data (this_gen=0x2aaaaf818340, buf=0xbf86a0) at xine_decoder.c:222
#5  0x00002aaaab2a086d in audio_decoder_loop (stream_gen=) at audio_decoder.c:361
#6  0x00002abe2a2ea360 in start_thread () from /lib64/libpthread.so.0
#7  0x00002abe2aff052d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()
Thread 4 (Thread 1132489024 (LWP 24244)):
#0  0x00002abe2a2ed7e6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002aaaab2a806b in xine_event_wait (queue=0xc018c0) at events.c:59
#2  0x00002aaaab2a80e5 in listener_loop (queue_gen=) at events.c:213
#3  0x00002abe2a2ea360 in start_thread () from /lib64/libpthread.so.0
#4  0x00002abe2aff052d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()
Thread 3 (Thread 1098918208 (LWP 25376)):
#0  0x00002abe2a2ed7e6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002aaaab29a22c in buffer_pool_alloc (this=0xbf5a80) at buffer.c:93
#2  0x00002aaaab2ac27c in _x_demux_send_data (fifo=0xbf5a80, 
    data=0x16504ae "¤*Í\tC9°¯Òf:c\030®¼ï\030-Z³ë(rÔZ\022\206ªµF9v\022\004ZÀF\021w\0013\031%!ÅD2ª(`v\2043Nàsp\214:\223\r»r¡\202;\215\2323½¥\215\005|¿þ\223ãq'«\230!Ì\220æ?½&®\021BQµ¹RH\215¢2¦a\r\020¬²KÂc\020dé\035\005S¤\001¬Jý\aöC×f\021/\235ã\213q¿u´\212<sýá¤g\bÎ\025!ù\030M°Ý\226Þ9òg\213«\fv `\023dbDÛAË\210\b\225ÿaxr\002Äjç\023\215Û\t'õZ®(R§\220\a\vðÎ3\037Ucö"..., size=57, pts=0, type=50921472, decoder_flags=) at demux.c:531
#3  0x00002aaaad1d0d11 in send_ogg_buf (this=0x8a7e40, op=0x418020f0, stream_num=) at demux_ogg.c:624
#4  0x00002aaaad1d3793 in demux_ogg_send_chunk (this_gen=) at demux_ogg.c:1514
#5  0x00002aaaab2ac7e9 in demux_loop (stream_gen=) at demux.c:261
#6  0x00002abe2a2ea360 in start_thread () from /lib64/libpthread.so.0
#7  0x00002abe2aff052d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()
Thread 2 (Thread 1140881728 (LWP 25377)):
#0  0x00002abe2a2f0d6f in waitpid () from /lib64/libpthread.so.0
#1  0x0000000000406a60 in amaroK::Crash::crashHandler () at crashhandler.cpp:249
#2  0x00002abe2af53030 in killpg () from /lib64/libc.so.6
#3  0x0000000000000000 in ?? ()
Thread 1 (Thread 46996257183552 (LWP 24232)):
#0  0x00002abe2afe9aa2 in select () from /lib64/libc.so.6
#1  0x00002abe27bccb20 in QEventLoop::processEvents () from /usr/lib/qt3/lib64/libqt-mt.so.3
#2  0x00002abe27c27751 in QEventLoop::enterLoop () from /usr/lib/qt3/lib64/libqt-mt.so.3
#3  0x00002abe27c27632 in Gentler::exec () from /usr/lib/qt3/lib64/libqt-mt.so.3
#4  0x0000000000405d3f in main (argc=1, argv=0x7fffffc81388) at main.cpp:108


==== kdBacktrace() ================
[
0: /usr/lib64/libkdecore.so.4(_Z11kdBacktracei+0x48) [0x2abe26fe3868]
1: /usr/lib64/libkdecore.so.4(_Z11kdBacktracev+0xe) [0x2abe26fe3afe]
2: amarokapp(_ZN6amaroK5Crash12crashHandlerEi+0xa4f) [0x4068ed]
3: /lib64/libc.so.6 [0x2abe2af53030]
4: /usr/lib64/libpng12.so.0 [0x2abe29022da6]






======== DEBUG INFORMATION  =======
Version:    1.4-SVN
Engine:     xine-engine
Build date: Jul 28 2006
CC version: 4.1.1 20060724 (prerelease) (4.1.1-3mdk)
KDElibs:    3.5.3
Qt:         3.3.6
TagLib:     1.4.0
CPU count:  1

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


==== (gdb) bt =====================
Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46996257183552 (LWP 24232)]
[New Thread 1140881728 (LWP 25377)]
[New Thread 1098918208 (LWP 25376)]
[New Thread 1132489024 (LWP 24244)]
[New Thread 1124096320 (LWP 24243)]
[New Thread 1115703616 (LWP 24242)]
[New Thread 1107310912 (LWP 24241)]
[New Thread 1090525504 (LWP 24240)]
0x00002abe2a2f0d6f in waitpid () from /lib64/libpthread.so.0
#0  0x00002abe2a2f0d6f in waitpid () from /lib64/libpthread.so.0
#1  0x0000000000406a60 in amaroK::Crash::crashHandler () at crashhandler.cpp:249
#2  0x00002abe2af53030 in killpg () from /lib64/libc.so.6
#3  0x0000000000000000 in ?? ()
#0  0x00002abe2a2f0d6f in waitpid () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x0000000000406a60 in amaroK::Crash::crashHandler () at crashhandler.cpp:249
	pid = 25388
#2  0x00002abe2af53030 in killpg () from /lib64/libc.so.6
No symbol table info available.
#3  0x0000000000000000 in ?? ()
No symbol table info available.
==== (gdb) thread apply all bt ====
Thread 8 (Thread 1090525504 (LWP 24240)):
#0  0x00002abe2a2ed9d7 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002aaaab296f23 in metronom_sync_loop (this=0xa96020) at metronom.c:873
#2  0x00002abe2a2ea360 in start_thread () from /lib64/libpthread.so.0
#3  0x00002abe2aff052d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()
Thread 7 (Thread 1107310912 (LWP 24241)):
#0  0x00002abe2afe7826 in poll () from /lib64/libc.so.6
#1  0x00002aaaacedc9fd in ao_alsa_handle_event_thread (data=) at audio_alsa_out.c:157
#2  0x00002abe2a2ea360 in start_thread () from /lib64/libpthread.so.0
#3  0x00002abe2aff052d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()
Thread 6 (Thread 1115703616 (LWP 24242)):
#0  0x00002abe2afe7826 in poll () from /lib64/libc.so.6
#1  0x00002aaaab8d9fa3 in snd_pcm_wait_nocheck () from /usr/lib64/libasound.so.2
#2  0x00002aaaacedcfcf in ao_alsa_write (this_gen=0xa97280, data=0x2aaaaaaab010, count=140) at audio_alsa_out.c:801
#3  0x00002aaaab2a5cfb in ao_loop (this_gen=) at audio_out.c:1213
#4  0x00002abe2a2ea360 in start_thread () from /lib64/libpthread.so.0
#5  0x00002abe2aff052d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()
Thread 5 (Thread 1124096320 (LWP 24243)):
#0  0x00002abe2a2ed9d7 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002aaaab2a427c in fifo_remove_int (fifo=0xae7e40, blocking=0) at audio_out.c:349
#2  0x00002aaaab2a4584 in ao_get_buffer (this_gen=) at audio_out.c:391
#3  0x00002aaaab2aeff5 in post_audio_get_buffer (port_gen=) at post.c:601
#4  0x00002aaaaf2351d5 in vorbis_decode_data (this_gen=0x2aaaaf818340, buf=0xbffa00) at xine_decoder.c:222
#5  0x00002aaaab2a086d in audio_decoder_loop (stream_gen=) at audio_decoder.c:361
#6  0x00002abe2a2ea360 in start_thread () from /lib64/libpthread.so.0
#7  0x00002abe2aff052d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()
Thread 4 (Thread 1132489024 (LWP 24244)):
#0  0x00002abe2a2ed7e6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002aaaab2a806b in xine_event_wait (queue=0xc018c0) at events.c:59
#2  0x00002aaaab2a80e5 in listener_loop (queue_gen=) at events.c:213
#3  0x00002abe2a2ea360 in start_thread () from /lib64/libpthread.so.0
#4  0x00002abe2aff052d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()
Thread 3 (Thread 1098918208 (LWP 25376)):
#0  0x00002abe2a2ed7e6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00002aaaab29a22c in buffer_pool_alloc (this=0xbf5a80) at buffer.c:93
#2  0x00002aaaab2ac27c in _x_demux_send_data (fifo=0xbf5a80, data=0x16509d0 "\236z\005¢×e\005\204»·TU3Þ&U\205-Ó\020ðì-Eå\231á\177", size=334, pts=0, 
    type=50921472, decoder_flags=) at demux.c:531
#3  0x00002aaaad1d0d11 in send_ogg_buf (this=0x8a7e40, op=0x418020f0, stream_num=) at demux_ogg.c:624
#4  0x00002aaaad1d3793 in demux_ogg_send_chunk (this_gen=) at demux_ogg.c:1514
#5  0x00002aaaab2ac7e9 in demux_loop (stream_gen=) at demux.c:261
#6  0x00002abe2a2ea360 in start_thread () from /lib64/libpthread.so.0
#7  0x00002abe2aff052d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()
Thread 2 (Thread 1140881728 (LWP 25377)):
#0  0x00002abe2a2f0d6f in waitpid () from /lib64/libpthread.so.0
#1  0x0000000000406a60 in amaroK::Crash::crashHandler () at crashhandler.cpp:249
#2  0x00002abe2af53030 in killpg () from /lib64/libc.so.6
#3  0x0000000000000000 in ?? ()
Thread 1 (Thread 46996257183552 (LWP 24232)):
#0  0x00002abe2a2f0d6f in waitpid () from /lib64/libpthread.so.0
#1  0x0000000000406a60 in amaroK::Crash::crashHandler () at crashhandler.cpp:249
#2  0x00002abe2af53030 in killpg () from /lib64/libc.so.6
#3  0x0000000000000000 in ?? ()


==== kdBacktrace() ================
[
0: /usr/lib64/libkdecore.so.4(_Z11kdBacktracei+0x48) [0x2abe26fe3868]
1: /usr/lib64/libkdecore.so.4(_Z11kdBacktracev+0xe) [0x2abe26fe3afe]
2: amarokapp(_ZN6amaroK5Crash12crashHandlerEi+0xa4f) [0x4068ed]
3: /lib64/libc.so.6 [0x2abe2af53030]
4: /usr/lib/qt3/lib64/libqt-mt.so.3(_ZN6QGDict12hashKeyAsciiEPKc+0x1b) [0x2abe27ec44ab]
5: /usr/lib/qt3/lib64/libqt-mt.so.3(_ZN6QGDict10look_asciiEPKcPvi+0x18) [0x2abe27ec5248]
6: /usr/local/lib64/libamarok.so.0(_ZNK10QAsciiDictIiE4findEPKc+0x27) [0x2abe25015a9b]
7: /usr/local/lib64/libamarok.so.0(_ZN21AmarokPlayerInterface7processERK8QCStringRK9QMemArrayIcERS0_RS4_+0x102) [0x2abe25012376]
8: /usr/lib64/libDCOP.so.4(_ZN10DCOPClient7receiveERK8QCStringS2_S2_RK9QMemArrayIcERS0_RS4_+0x817) [0x2abe27266c17]
9: /usr/lib64/libDCOP.so.4 [0x2abe27268106]
10: /usr/lib64/libDCOP.so.4 [0x2abe272687fc]
11: /usr/lib64/libDCOP.so.4(KDE_IceProcessMessages+0x35e) [0x2abe27276b6e]
12: /usr/lib64/libDCOP.so.4(_ZN10DCOPClient17processSocketDataEi+0x88) [0x2abe2725fac8]
13: /usr/lib64/libDCOP.so.4(_ZN10DCOPClient9qt_invokeEiP8QUObject+0x91) [0x2abe272683d1]
14: /usr/lib/qt3/lib64/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectionListP8QUObject+0x13c) [0x2abe27c67e9c]
15: /usr/lib/qt3/lib64/libqt-mt.so.3(_ZN7QObject15activate_signalEii+0x145) [0x2abe27c68a45]
16: /usr/lib/qt3/lib64/libqt-mt.so.3(_ZN15QSocketNotifier5eventEP6QEvent+0x3b) [0x2abe27c8235b]
17: /usr/lib/qt3/lib64/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0x85) [0x2abe27c13b15]
18: /usr/lib/qt3/lib64/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xf0) [0x2abe27c14890]
19: /usr/lib64/libkdecore.so.4(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x16f) [0x2abe27084dff]
20: /usr/lib/qt3/lib64/libqt-mt.so.3(_ZN10QEventLoop23activateSocketNotifiersEv+0xfb) [0x2abe27c09f0b]
21: /usr/lib/qt3/lib64/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0x4b3) [0x2abe27bccd63]
22: /usr/lib/qt3/lib64/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x31) [0x2abe27c27751]
23: /usr/lib/qt3/lib64/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x22) [0x2abe27c27632]
24: amarokapp [0x405d3f]
25: /lib64/libc.so.6(__libc_start_main+0xf4) [0x2abe2af40e64]
26: amarokapp(_ZN6QGList5clearEv+0xb9) [0x405689]
]
Comment 4 Tobias Knieper 2006-07-29 12:01:14 UTC
I recompiled current svn yesterday, up to now there were no crashes.
Comment 5 Alexandre Oliveira 2006-07-31 05:29:53 UTC
libpng/xinelib crashes, as was dicovered through the e-mails.