Bug 209380 - crash right after launching amarok2.2 git
Summary: crash right after launching amarok2.2 git
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Local (show other bugs)
Version: 2.3-GIT
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 209442 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-04 11:31 UTC by sc
Modified: 2009-10-06 02:21 UTC (History)
4 users (show)

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 sc 2009-10-04 11:31:17 UTC
Application that crashed: amarok
Version of the application: 2.2-GIT
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-1-686 i686

What I was doing when the application crashed:
My Amarok crashed right after completely rescanning my collection.  When attempting to restart, it crashes right after splash screen loads.

I am using the external SQL server support on a mysql server local to my network.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb3d7a710 (LWP 3246))]

Thread 9 (Thread 0xb0f36b90 (LWP 3247)):
#0  0xb80b7424 in __kernel_vsyscall ()
#1  0xb49ae292 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb67f78b4 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb1bff903 in ?? () from /usr/lib/libxine.so.1

Thread 8 (Thread 0xb05c2b90 (LWP 3248)):
#0  0xb80b7424 in __kernel_vsyscall ()
#1  0xb67f7bb3 in ?? () from /lib/i686/cmov/libc.so.6
#2  0xb677b43d in ?? () from /lib/i686/cmov/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0xafbffb90 (LWP 3251)):
#0  0xb80b7424 in __kernel_vsyscall ()
#1  0xb67de467 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb072ca91 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0xafcfdd24 in ?? ()
#4  0xafc14510 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xaf1ffb90 (LWP 3252)):
#0  0xb80b7424 in __kernel_vsyscall ()
#1  0xb49adf65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb67f785d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb1c10a56 in ?? () from /usr/lib/libxine.so.1
#4  0x00000001 in ?? ()

Thread 5 (Thread 0xae7ffb90 (LWP 3253)):
#0  0xb80b7424 in __kernel_vsyscall ()
#1  0xb49adf65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb67f785d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb1c10a56 in ?? () from /usr/lib/libxine.so.1
#4  0x00000001 in ?? ()

Thread 4 (Thread 0xadffeb90 (LWP 3254)):
#0  0xb80b7424 in __kernel_vsyscall ()
#1  0xb49adf65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb67f785d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb1c10a56 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xacb68b90 (LWP 3262)):
[KCrash Handler]
#6  0xb67772a8 in ?? () from /lib/i686/cmov/libc.so.6
#7  0xb6777896 in free () from /lib/i686/cmov/libc.so.6
#8  0xad65e051 in my_no_flags_free () from /usr/lib/libmysqlclient.so.15
#9  0xad689160 in vio_delete () from /usr/lib/libmysqlclient.so.15
#10 0xad684c91 in end_server () from /usr/lib/libmysqlclient.so.15
#11 0xad684f30 in cli_safe_read () from /usr/lib/libmysqlclient.so.15
#12 0xad685585 in ?? () from /usr/lib/libmysqlclient.so.15
#13 0xad683954 in mysql_real_query () from /usr/lib/libmysqlclient.so.15
#14 0xad65b935 in mysql_query () from /usr/lib/libmysqlclient.so.15
#15 0xaf3e0a3c in MySqlCollection::query (this=0x899a9a0, statement=...) at /root/kde/src/amarok/src/collection/mysql-shared/MySqlCollection.cpp:119
#16 0xaf3e1870 in MySqlServerCollection::query (this=0x899a9a0, query=...) at /root/kde/src/amarok/src/collection/mysqlservercollection/MySqlServerCollection.cpp:144
#17 0xaf3beb84 in SqlQueryMaker::runQuery (this=0x8caa490, query=...) at /root/kde/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:727
#18 0xaf3c76cc in SqlWorkerThread::run (this=0x8cea9b8) at /root/kde/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:54
#19 0xb5d404f4 in ?? () from /usr/lib/libthreadweaver.so.4
#20 0xb5d40871 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#21 0xb5d3f48a in ?? () from /usr/lib/libthreadweaver.so.4
#22 0xb5d3fafb in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#23 0xb7383582 in ?? () from /usr/lib/libQtCore.so.4
#24 0xb49aa4b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#25 0xb67e8a5e in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xac367b90 (LWP 3263)):
#0  0xb80b7424 in __kernel_vsyscall ()
#1  0xb67f7bb3 in ?? () from /lib/i686/cmov/libc.so.6
#2  0xb677b26d in ?? () from /lib/i686/cmov/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb3d7a710 (LWP 3246)):
#0  0xb80b7424 in __kernel_vsyscall ()
#1  0xb67f7bb3 in ?? () from /lib/i686/cmov/libc.so.6
#2  0xb677b26d in ?? () from /lib/i686/cmov/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

This bug may be a duplicate of or related to bug 197917

Reported using DrKonqi
Comment 1 Mikko C. 2009-10-04 11:33:25 UTC
did it work before today?
Comment 2 Myriam Schweingruber 2009-10-04 12:11:50 UTC
> [KCrash Handler]
> #6  0xb67772a8 in ?? () from /lib/i686/cmov/libc.so.6

And please, start amarok with 'amarok -d -nofork' from a terminal, your backtrace is not useful.
Comment 3 sc 2009-10-04 16:44:12 UTC
amarok:  [ERROR!] GREPME MySQL query failed! Lost connection to MySQL server during query  on  "mysql_ping failed!"

I see this right before the crash.  I am able to connect to my MYSQL server outside of amarok.

I am not certain if this is a better backtrace:

Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb3c44710 (LWP 3690))]

Thread 10 (Thread 0xb0dffb90 (LWP 3691)):
#0  0xb7f82424 in __kernel_vsyscall ()
#1  0xb4878292 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb66c18b4 in __pthread_cond_timedwait (cond=0x9b72960, mutex=0x9b72948, abstime=0xb0dff35c) at forward.c:152
#3  0xb1ac5903 in ?? () from /usr/lib/libxine.so.1

Thread 9 (Thread 0xb048eb90 (LWP 3692)):
#0  0xb7f82424 in __kernel_vsyscall ()
#1  0xb66c1bb3 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:89
#2  0xb664543d in _L_lock_10310 () from /lib/i686/cmov/libc.so.6
#3  0xb66441da in *__GI___libc_realloc (oldmem=0x993fa28, bytes=48) at malloc.c:3700
#4  0xb7248d84 in qRealloc(void*, unsigned int) () from /usr/lib/libQtCore.so.4
#5  0xb7273295 in QListData::realloc(int) () from /usr/lib/libQtCore.so.4
#6  0xb7273503 in QListData::append() () from /usr/lib/libQtCore.so.4
#7  0xb7273623 in QListData::insert(int) () from /usr/lib/libQtCore.so.4
#8  0xb736df87 in ?? () from /usr/lib/libQtCore.so.4
#9  0xb736e26e in ?? () from /usr/lib/libQtCore.so.4
#10 0xb736a900 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb43d1e98 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0xb43d5623 in ?? () from /lib/libglib-2.0.so.0
#13 0xb43d57a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#14 0xb736a877 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#15 0xb733e01a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#16 0xb733e462 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#17 0xb724b2c9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#18 0xb1b132ba in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#19 0xb724e582 in ?? () from /usr/lib/libQtCore.so.4
#20 0xb48744b5 in start_thread (arg=0xb048eb90) at pthread_create.c:300
#21 0xb66b2a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xafc8db90 (LWP 3695)):
#0  0xb7f82424 in __kernel_vsyscall ()
#1  0xb66a8467 in *__GI___poll (fds=0xafc8d2b8, nfds=1, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb05f9a91 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 0xaf48cb90 (LWP 3696)):
#0  0xb7f82424 in __kernel_vsyscall ()
#1  0xb4877f65 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb66c185d in __pthread_cond_wait (cond=0x9b88348, mutex=0x9b88330) at forward.c:139
#3  0xb1ad6a56 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xaec8bb90 (LWP 3697)):
#0  0xb7f82424 in __kernel_vsyscall ()
#1  0xb4877f65 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb66c185d in __pthread_cond_wait (cond=0x9ba6058, mutex=0x9ba6040) at forward.c:139
#3  0xb1ad6a56 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xae48ab90 (LWP 3698)):
#0  0xb7f82424 in __kernel_vsyscall ()
#1  0xb4877f65 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb66c185d in __pthread_cond_wait (cond=0x9ba7b50, mutex=0x9ba7b38) at forward.c:139
#3  0xb1ad6a56 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xacd45b90 (LWP 3702)):
[KCrash Handler]
#6  0xb66412a8 in _int_free (av=0xb672d160, mem=0xa098ab0) at malloc.c:4726
#7  0xb6641896 in *__GI___libc_free (mem=0xa098ab0) at malloc.c:3625
#8  0xad9a8051 in my_no_flags_free () from /usr/lib/libmysqlclient.so.15
#9  0xad9d3160 in vio_delete () from /usr/lib/libmysqlclient.so.15
#10 0xad9cec91 in end_server () from /usr/lib/libmysqlclient.so.15
#11 0xad9cef30 in cli_safe_read () from /usr/lib/libmysqlclient.so.15
#12 0xad9d1345 in cli_advanced_command () from /usr/lib/libmysqlclient.so.15
#13 0xad9a043d in mysql_ping () from /usr/lib/libmysqlclient.so.15
#14 0xadbae5b6 in MySqlServerCollection::query (this=0xa0917e0, query=...) at /root/kde/src/amarok/src/collection/mysqlservercollection/MySqlServerCollection.cpp:126
#15 0xadb8bb84 in SqlQueryMaker::runQuery (this=0xa401dd0, query=...) at /root/kde/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:727
#16 0xadb946cc in SqlWorkerThread::run (this=0xa2dbb70) at /root/kde/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:54
#17 0xb5c0a4f4 in ?? () from /usr/lib/libthreadweaver.so.4
#18 0xb5c0a871 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#19 0xb5c0948a in ?? () from /usr/lib/libthreadweaver.so.4
#20 0xb5c09afb in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#21 0xb724e582 in ?? () from /usr/lib/libQtCore.so.4
#22 0xb48744b5 in start_thread (arg=0xacd45b90) at pthread_create.c:300
#23 0xb66b2a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xac3ffb90 (LWP 3703)):
#0  0xb7f82424 in __kernel_vsyscall ()
#1  0xb66c1bb3 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:89
#2  0xb664526d in _L_lock_4597 () from /lib/i686/cmov/libc.so.6
#3  0xb664188a in *__GI___libc_free (mem=0xa098ab0) at malloc.c:3623
#4  0xad9a8051 in my_no_flags_free () from /usr/lib/libmysqlclient.so.15
#5  0xad9d3160 in vio_delete () from /usr/lib/libmysqlclient.so.15
#6  0xad9cec91 in end_server () from /usr/lib/libmysqlclient.so.15
#7  0xad9cef30 in cli_safe_read () from /usr/lib/libmysqlclient.so.15
#8  0xad9cf585 in ?? () from /usr/lib/libmysqlclient.so.15
#9  0xad9cd954 in mysql_real_query () from /usr/lib/libmysqlclient.so.15
#10 0xad9a5935 in mysql_query () from /usr/lib/libmysqlclient.so.15
#11 0xadbada3c in MySqlCollection::query (this=0xa0917e0, statement=...) at /root/kde/src/amarok/src/collection/mysql-shared/MySqlCollection.cpp:119
#12 0xadbae870 in MySqlServerCollection::query (this=0xa0917e0, query=...) at /root/kde/src/amarok/src/collection/mysqlservercollection/MySqlServerCollection.cpp:144
#13 0xadb8bb84 in SqlQueryMaker::runQuery (this=0x9adeae0, query=...) at /root/kde/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:727
#14 0xadb946cc in SqlWorkerThread::run (this=0xa3c42e8) at /root/kde/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:54
#15 0xb5c0a4f4 in ?? () from /usr/lib/libthreadweaver.so.4
#16 0xb5c0a871 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#17 0xb5c0948a in ?? () from /usr/lib/libthreadweaver.so.4
#18 0xb5c09afb in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#19 0xb724e582 in ?? () from /usr/lib/libQtCore.so.4
#20 0xb48744b5 in start_thread (arg=0xac3ffb90) at pthread_create.c:300
#21 0xb66b2a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xabbfeb90 (LWP 3704)):
#0  0xb7f82424 in __kernel_vsyscall ()
#1  0xb4877f65 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb66c185d in __pthread_cond_wait (cond=0xa4836c0, mutex=0xa4836a8) at forward.c:139
#3  0xb724f562 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb5c08648 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb5c0b3ac in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb5c0723b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb5c0b4a2 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb5c08bd3 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb5c0b4c1 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb5c08bd3 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb5c094be in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb5c09afb in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0xb724e582 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb48744b5 in start_thread (arg=0xabbfeb90) at pthread_create.c:300
#15 0xb66b2a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb3c44710 (LWP 3690)):
#0  0xb7f82424 in __kernel_vsyscall ()
#1  0xb66c1bb3 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:89
#2  0xb664526d in _L_lock_4597 () from /lib/i686/cmov/libc.so.6
#3  0xb664188a in *__GI___libc_free (mem=0xa4b8540) at malloc.c:3623
#4  0xb7248dad in qFree(void*) () from /usr/lib/libQtCore.so.4
#5  0xb734f5d4 in QMetaCallEvent::~QMetaCallEvent() () from /usr/lib/libQtCore.so.4
#6  0xb7340620 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#7  0xb73407ed in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#8  0xb736ac0f in ?? () from /usr/lib/libQtCore.so.4
#9  0xb43d1e98 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#10 0xb43d5623 in ?? () from /lib/libglib-2.0.so.0
#11 0xb43d57a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#12 0xb736a858 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#13 0xb6a1efd5 in ?? () from /usr/lib/libQtGui.so.4
#14 0xb733e01a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#15 0xb733e462 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#16 0xb73408b9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#17 0xb697f697 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#18 0x0804ed71 in main (argc=3, argv=0xbf9fff54) at /root/kde/src/amarok/src/main.cpp:227
Comment 4 sc 2009-10-04 17:10:03 UTC
More information:

This now happens when performing exact same launch:

amarok:  NOTE: MySQL server had gone away, ping reconnected it                                       
amarok:  [ERROR!] GREPME MySQL query failed! Lost connection to MySQL server during query  on  "SELECT urls.deviceid, urls.rpath, urls.uniqueid, tracks.id, tracks.title, tracks.comment, tracks.tracknumber, tracks.discnumber, statistics.score, statistics.rating, tracks.bitrate, tracks.length, tracks.filesize, tracks.samplerate, statistics.createdate, statistics.accessdate, statistics.playcount, tracks.filetype, tracks.bpm, tracks.createdate, tracks.albumgain, tracks.albumpeakgain, tracks.trackgain, tracks.trackpeakgain, artists.name, artists.id, albums.name, albums.id, albums.artist, genres.name, genres.id, composers.name, composers.id, years.name, years.id FROM  tracks INNER JOIN urls ON tracks.url = urls.id LEFT JOIN artists ON tracks.artist = artists.id LEFT JOIN albums ON tracks.album = albums.id LEFT JOIN genres ON tracks.genre = genres.id LEFT JOIN composers ON tracks.composer = composers.id LEFT JOIN years ON tracks.year = years.id LEFT JOIN statistics ON urls.id = statistics.url WHERE 1  AND ( 1   AND  NOT tracks.title  = ''   )  ORDER BY statistics.accessdate DESC  LIMIT 5 OFFSET 0 ;"  
KCrash: Application 'amarok' crashing...    

Updated Backtrace:

pplication: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb3cd7710 (LWP 5290))]

Thread 12 (Thread 0xb0e92b90 (LWP 5291)):
#0  0xb8015424 in __kernel_vsyscall ()
#1  0xb490b292 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb67548b4 in __pthread_cond_timedwait (cond=0x8d51908, mutex=0x8d518f0, abstime=0xb0e9235c) at forward.c:152
#3  0xb1b58903 in metronom_sync_loop (this=0x8d518a8) at metronom.c:870
#4  0xb49074b5 in start_thread (arg=0xb0e92b90) at pthread_create.c:300
#5  0xb6745a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xb04e3b90 (LWP 5292)):
#0  0xb44e4fec in *__GI_clock_gettime (clock_id=-1269919756, tp=0xb04e30a8) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb73ff51b in QTimerInfoList::getTime (this=0x8b1e17c, t=...) at kernel/qeventdispatcher_unix.cpp:339
#2  0xb73ff6e1 in QTimerInfoList::updateCurrentTime (this=0x8b1e17c) at kernel/qeventdispatcher_unix.cpp:297
#3  0xb740141c in QTimerInfoList::timerWait (this=0x8b1e17c, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#4  0xb73fda3a in timerSourcePrepare (source=0xb44e8ff4, timeout=0xb04e3178) at kernel/qeventdispatcher_glib.cpp:141
#5  0xb4467f40 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0xb4468304 in ?? () from /lib/libglib-2.0.so.0
#7  0xb44687a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0xb73fd877 in QEventDispatcherGlib::processEvents (this=0x8b1cc50, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#9  0xb73d101a in QEventLoop::processEvents (this=0xb04e32e0, flags=...) at kernel/qeventloop.cpp:149
#10 0xb73d1462 in QEventLoop::exec (this=0xb04e32e0, flags=...) at kernel/qeventloop.cpp:201
#11 0xb72de2c9 in QThread::exec (this=0x8ba0d90) at thread/qthread.cpp:487
#12 0xb1ba62ba in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#13 0xb72e1582 in QThreadPrivate::start (arg=0x8ba0d90) at thread/qthread_unix.cpp:188
#14 0xb49074b5 in start_thread (arg=0xb04e3b90) at pthread_create.c:300
#15 0xb6745a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xafaffb90 (LWP 5295)):
#0  0xb6735ebf in read () from /lib/i686/cmov/libc.so.6
#1  0xb1e18c12 in ?? () from /usr/lib/libasound.so.2
#2  0xb1e1568d in snd_ctl_read () from /usr/lib/libasound.so.2
#3  0xb1e11aef in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#4  0xb1e1d9a1 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#5  0xb0680ae1 in ao_alsa_handle_event_thread (data=0x8d54240) at audio_alsa_out.c:175
#6  0xb49074b5 in start_thread (arg=0xafaffb90) at pthread_create.c:300
#7  0xb6745a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xaf2feb90 (LWP 5296)):
#0  0xb8015424 in __kernel_vsyscall ()
#1  0xb490af65 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb675485d in __pthread_cond_wait (cond=0x8d66998, mutex=0x8d66980) at forward.c:139
#3  0xb1b69a56 in fifo_peek_int (this_gen=0x8d6a0b0) at audio_out.c:348
#4  fifo_peek (this_gen=0x8d6a0b0) at audio_out.c:388
#5  ao_loop (this_gen=0x8d6a0b0) at audio_out.c:1015
#6  0xb49074b5 in start_thread (arg=0xaf2feb90) at pthread_create.c:300
#7  0xb6745a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xae8ffb90 (LWP 5297)):
#0  0xb8015424 in __kernel_vsyscall ()
#1  0xb490af65 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb675485d in __pthread_cond_wait (cond=0xafb1ea80, mutex=0xafb1ea68) at forward.c:139
#3  0xb1b69a56 in fifo_peek_int (this_gen=0xafb00920) at audio_out.c:348
#4  fifo_peek (this_gen=0xafb00920) at audio_out.c:388
#5  ao_loop (this_gen=0xafb00920) at audio_out.c:1015
#6  0xb49074b5 in start_thread (arg=0xae8ffb90) at pthread_create.c:300
#7  0xb6745a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xae0feb90 (LWP 5298)):
#0  0xb8015424 in __kernel_vsyscall ()
#1  0xb490af65 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb675485d in __pthread_cond_wait (cond=0x8d86170, mutex=0x8d86158) at forward.c:139
#3  0xb1b69a56 in fifo_peek_int (this_gen=0x8d85540) at audio_out.c:348
#4  fifo_peek (this_gen=0x8d85540) at audio_out.c:388
#5  ao_loop (this_gen=0x8d85540) at audio_out.c:1015
#6  0xb49074b5 in start_thread (arg=0xae0feb90) at pthread_create.c:300
#7  0xb6745a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xacba1b90 (LWP 5302)):
#0  0xb8015424 in __kernel_vsyscall ()
#1  0xb490af65 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb675485d in __pthread_cond_wait (cond=0x9513318, mutex=0x9513300) at forward.c:139
#3  0xb72e2562 in QWaitConditionPrivate::wait (this=0x9513210, mutex=0x95134a0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9513210, mutex=0x95134a0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb5c9b648 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb5c9e3ac in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb5c9a23b in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb5c9e4a2 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb5c9bbd3 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb5c9c4be in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb5c9cafb in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0xb72e1582 in QThreadPrivate::start (arg=0x9513828) at thread/qthread_unix.cpp:188
#13 0xb49074b5 in start_thread (arg=0xacba1b90) at pthread_create.c:300
#14 0xb6745a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xac3a0b90 (LWP 5303)):
#0  0xb8015424 in __kernel_vsyscall ()
#1  0xb490af65 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb675485d in __pthread_cond_wait (cond=0x9513318, mutex=0x9513300) at forward.c:139
#3  0xb72e2562 in QWaitConditionPrivate::wait (this=0x9513210, mutex=0x95134a0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9513210, mutex=0x95134a0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb5c9b648 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb5c9e3ac in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb5c9a23b in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb5c9e4a2 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb5c9bbd3 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb5c9e4c1 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb5c9bbd3 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb5c9e4c1 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb5c9bbd3 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb5c9c4be in ?? () from /usr/lib/libthreadweaver.so.4
#15 0xb5c9cafb in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#16 0xb72e1582 in QThreadPrivate::start (arg=0x94813f0) at thread/qthread_unix.cpp:188
#17 0xb49074b5 in start_thread (arg=0xac3a0b90) at pthread_create.c:300
#18 0xb6745a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xabb9fb90 (LWP 5304)):
[KCrash Handler]
#6  0xad78acd7 in ?? () from /usr/lib/libmysqlclient.so.15
#7  0xad78af10 in my_net_read () from /usr/lib/libmysqlclient.so.15
#8  0xad784e7c in cli_safe_read () from /usr/lib/libmysqlclient.so.15
#9  0xad787345 in cli_advanced_command () from /usr/lib/libmysqlclient.so.15
#10 0xad75643d in mysql_ping () from /usr/lib/libmysqlclient.so.15
#11 0xaeae05b6 in MySqlServerCollection::query (this=0x910e420, query=...) at /root/kde/src/amarok/src/collection/mysqlservercollection/MySqlServerCollection.cpp:126
#12 0xaeabdb84 in SqlQueryMaker::runQuery (this=0x912cde0, query=...) at /root/kde/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:727
#13 0xaeac66cc in SqlWorkerThread::run (this=0x9507620) at /root/kde/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:54
#14 0xb5c9d4f4 in ?? () from /usr/lib/libthreadweaver.so.4
#15 0xb5c9d871 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#16 0xb5c9c48a in ?? () from /usr/lib/libthreadweaver.so.4
#17 0xb5c9cafb in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#18 0xb72e1582 in QThreadPrivate::start (arg=0x94393b8) at thread/qthread_unix.cpp:188
#19 0xb49074b5 in start_thread (arg=0xabb9fb90) at pthread_create.c:300
#20 0xb6745a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xab39eb90 (LWP 5305)):
#0  0xb8015424 in __kernel_vsyscall ()
#1  0xb490af65 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb675485d in __pthread_cond_wait (cond=0x9513318, mutex=0x9513300) at forward.c:139
#3  0xb72e2562 in QWaitConditionPrivate::wait (this=0x9513210, mutex=0x95134a0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9513210, mutex=0x95134a0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb5c9b648 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb5c9e3ac in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb5c9a23b in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb5c9e4a2 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb5c9bbd3 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb5c9e4c1 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb5c9bbd3 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb5c9e4c1 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb5c9bbd3 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb5c9c4be in ?? () from /usr/lib/libthreadweaver.so.4
#15 0xb5c9cafb in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#16 0xb72e1582 in QThreadPrivate::start (arg=0x9195ef8) at thread/qthread_unix.cpp:188
#17 0xb49074b5 in start_thread (arg=0xab39eb90) at pthread_create.c:300
#18 0xb6745a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaab9db90 (LWP 5307)):
#0  0xb8015424 in __kernel_vsyscall ()
#1  0xb673dfe1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb73b0c80 in QProcessManager::run (this=0x8b0bde8) at io/qprocess_unix.cpp:296
#3  0xb72e1582 in QThreadPrivate::start (arg=0x8b0bde8) at thread/qthread_unix.cpp:188
#4  0xb49074b5 in start_thread (arg=0xaab9db90) at pthread_create.c:300
#5  0xb6745a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb3cd7710 (LWP 5290)):
#0  0xb8015424 in __kernel_vsyscall ()
#1  0xb673dfe1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb73b0046 in qt_native_select (fdread=0xbfebdda4, fdwrite=0xbfebdd24, timeout=-1) at io/qprocess_unix.cpp:936
#3  0xb73b1fc3 in QProcessPrivate::waitForFinished (this=0x911d0e0, msecs=-1) at io/qprocess_unix.cpp:1158
#4  0xb7370ffe in QProcess::waitForFinished (this=0xbfebde90, msecs=-1) at io/qprocess.cpp:1318
#5  0xb7375751 in QProcess::execute (program=..., arguments=...) at io/qprocess.cpp:1701
#6  0xb75cdb3e in KToolInvocation::startKdeinit() () from /usr/lib/libkdecore.so.5
#7  0xb75cf1b6 in KToolInvocation::klauncher() () from /usr/lib/libkdecore.so.5
#8  0xb47b1705 in KIO::Slave::createSlave(QString const&, KUrl const&, int&, QString&) () from /usr/lib/libkio.so.5
#9  0xb47aaaa9 in ?? () from /usr/lib/libkio.so.5
#10 0xb47abfc7 in ?? () from /usr/lib/libkio.so.5
#11 0xb47ac010 in ?? () from /usr/lib/libkio.so.5
#12 0xb47ac276 in KIO::Scheduler::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#13 0xb73e7b33 in QMetaObject::activate (sender=0x94f1de4, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#14 0xb73e8782 in QMetaObject::activate (sender=0x94f1de4, m=0xb74c3de4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#15 0xb7423177 in QTimer::timeout (this=0x94f1de4) at .moc/release-shared/moc_qtimer.cpp:128
#16 0xb73ede9e in QTimer::timerEvent (this=0x94f1de4, e=0xbfebe6ec) at kernel/qtimer.cpp:261
#17 0xb73e2bcf in QObject::event (this=0x94f1de4, e=0xbfebe6ec) at kernel/qobject.cpp:1074
#18 0xb6a12814 in QApplicationPrivate::notify_helper (this=0x8b09450, receiver=0x94f1de4, e=0xbfebe6ec) at kernel/qapplication.cpp:4056
#19 0xb6a1a97e in QApplication::notify (this=0xbfebe95c, receiver=0x94f1de4, e=0xbfebe6ec) at kernel/qapplication.cpp:3603
#20 0xb7e5b4ad in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0xb73d29cb in QCoreApplication::notifyInternal (this=0xbfebe95c, receiver=0xbfebe95c, event=0xbfebe6ec) at kernel/qcoreapplication.cpp:610
#22 0xb7401361 in QCoreApplication::sendEvent (this=0x8b0bdb4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#23 QTimerInfoList::activateTimers (this=0x8b0bdb4) at kernel/qeventdispatcher_unix.cpp:572
#24 0xb73fd900 in timerSourceDispatch (source=0x8b0bd80) at kernel/qeventdispatcher_glib.cpp:165
#25 0xb4464e98 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0xb4468623 in ?? () from /lib/libglib-2.0.so.0
#27 0xb44687a8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0xb73fd858 in QEventDispatcherGlib::processEvents (this=0x8a4ead0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#29 0xb6ab1fd5 in QGuiEventDispatcherGlib::processEvents (this=0x8a4ead0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#30 0xb73d101a in QEventLoop::processEvents (this=0xbfebe910, flags=...) at kernel/qeventloop.cpp:149
#31 0xb73d1462 in QEventLoop::exec (this=0xbfebe910, flags=...) at kernel/qeventloop.cpp:201
#32 0xb73d38b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#33 0xb6a12697 in QApplication::exec () at kernel/qapplication.cpp:3525
#34 0x0804ed71 in main (argc=1, argv=0xbfebf164) at /root/kde/src/amarok/src/main.cpp:227
Comment 5 Jeff Mitchell 2009-10-04 18:19:23 UTC
Yeah, I'm aware there's some problem. I'm working on trying to figure it out; otherwise I may just revert those patches. It kind of seems like mysql_ping doesn't behave the way the docs say it does.

Also, I did make a change not long ago...do be sure you do a git pull.
Comment 6 Mikko C. 2009-10-04 21:10:52 UTC
*** Bug 209442 has been marked as a duplicate of this bug. ***
Comment 7 Myriam Schweingruber 2009-10-04 21:38:34 UTC
There is a valid backtrace in the duplicate bug 209442, btw...
Comment 8 Jeff Mitchell 2009-10-06 02:16:22 UTC
Should have been fixed yesterday...sorry, forgot to update this BR.
Comment 9 Andy 2009-10-06 02:18:19 UTC
Jeff, working for me, thanks!
Comment 10 Jeff Mitchell 2009-10-06 02:21:09 UTC
:-)   Good