Bug 218589

Summary: amarok crashes immediately after exiting the program
Product: [Applications] amarok Reporter: zebedee
Component: generalAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version First Reported In: 2.2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description zebedee 2009-12-14 00:14:51 UTC
Application that crashed: amarok
Version of the application: 2.2.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-16-generic-pae i686
Distribution: Ubuntu 9.10

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

Thread 5 (Thread 0xabae3b70 (LWP 5119)):
[KCrash Handler]
#6  0x00000088 in ?? ()
#7  0xac880aed in my_net_read () from /usr/lib/libmysqlclient.so.16
#8  0xac87a744 in cli_safe_read () from /usr/lib/libmysqlclient.so.16
#9  0xac87aee5 in ?? () from /usr/lib/libmysqlclient.so.16
#10 0xac879046 in mysql_real_query () from /usr/lib/libmysqlclient.so.16
#11 0xac849f95 in mysql_query () from /usr/lib/libmysqlclient.so.16
#12 0xadbe4699 in MySqlCollection::query (this=0x92484c8, statement=...) at /build/buildd/amarok-2.2.0/src/collection/mysql-shared/MySqlCollection.cpp:119
#13 0xadbbe716 in SqlQueryMaker::runQuery (this=0x96cb198, query=...) at /build/buildd/amarok-2.2.0/src/collection/sqlcollection/SqlQueryMaker.cpp:658
#14 0xadbc71fe in SqlWorkerThread::run() () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#15 0xb53e237d in ThreadWeaver::JobRunHelper::runTheJob (this=0xabae324c, th=0x8f33aa8, job=0xa71ccd0) at ../../../threadweaver/Weaver/Job.cpp:106
#16 0xb53e26e1 in ThreadWeaver::Job::execute (this=0xa71ccd0, th=0x8f33aa8) at ../../../threadweaver/Weaver/Job.cpp:135
#17 0xb53e138a in ThreadWeaver::ThreadRunHelper::run (this=0xabae32d4, parent=0x98b18b8, th=0x8f33aa8) at ../../../threadweaver/Weaver/Thread.cpp:95
#18 0xb53e19db in ThreadWeaver::Thread::run (this=0x8f33aa8) at ../../../threadweaver/Weaver/Thread.cpp:142
#19 0xb617ee32 in QThreadPrivate::start (arg=0x8f33aa8) at thread/qthread_unix.cpp:188
#20 0xb3ff880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#21 0xb5fc67ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xab2e2b70 (LWP 5120)):
#0  0xb78b4430 in __kernel_vsyscall ()
#1  0xb3ffce15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5fd378d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb617fe67 in QWaitConditionPrivate::wait (this=0x98b18d0, mutex=0x8f33df8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x98b18d0, mutex=0x8f33df8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb53e0b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x98b18b8, th=0x96cdee0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb53e319c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9748548, th=0x96cdee0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb53df1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x98b18b8, th=0x96cdee0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb53e3292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9748548, th=0x96cdee0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb53e0db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98b18b8, th=0x96cdee0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb53e32b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9748548, th=0x96cdee0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb53e0db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98b18b8, th=0x96cdee0, previous=0xd1fcdb0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb53e13be in ThreadWeaver::ThreadRunHelper::run (this=0xab2e22d4, parent=0x98b18b8, th=0x96cdee0) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb53e19db in ThreadWeaver::Thread::run (this=0x96cdee0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb617ee32 in QThreadPrivate::start (arg=0x96cdee0) at thread/qthread_unix.cpp:188
#15 0xb3ff880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb5fc67ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xaa0ffb70 (LWP 5126)):
#0  0xb78b4430 in __kernel_vsyscall ()
#1  0xb3ffce15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5fd378d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb617fe67 in QWaitConditionPrivate::wait (this=0x98b18d0, mutex=0x8f33df8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x98b18d0, mutex=0x8f33df8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb53e0b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x98b18b8, th=0x95aea50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb53e319c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9748548, th=0x95aea50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb53df1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x98b18b8, th=0x95aea50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb53e3292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9748548, th=0x95aea50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb53e0db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98b18b8, th=0x95aea50, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb53e32b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9748548, th=0x95aea50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb53e0db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98b18b8, th=0x95aea50, previous=0xd1fcef0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb53e13be in ThreadWeaver::ThreadRunHelper::run (this=0xaa0ff2d4, parent=0x98b18b8, th=0x95aea50) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb53e19db in ThreadWeaver::Thread::run (this=0x95aea50) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb617ee32 in QThreadPrivate::start (arg=0x95aea50) at thread/qthread_unix.cpp:188
#15 0xb3ff880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb5fc67ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa98feb70 (LWP 5127)):
#0  0xb78b4430 in __kernel_vsyscall ()
#1  0xb3ffce15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5fd378d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb617fe67 in QWaitConditionPrivate::wait (this=0x98b18d0, mutex=0x8f33df8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x98b18d0, mutex=0x8f33df8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb53e0b30 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x98b18b8, th=0x99bec58) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb53e319c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9748548, th=0x99bec58) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb53df1fb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x98b18b8, th=0x99bec58) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb53e3292 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9748548, th=0x99bec58) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb53e0db3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x98b18b8, th=0x99bec58, previous=0xa3eadc0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb53e13be in ThreadWeaver::ThreadRunHelper::run (this=0xa98fe2d4, parent=0x98b18b8, th=0x99bec58) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb53e19db in ThreadWeaver::Thread::run (this=0x99bec58) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb617ee32 in QThreadPrivate::start (arg=0x99bec58) at thread/qthread_unix.cpp:188
#13 0xb3ff880e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb5fc67ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb25bc950 (LWP 5108)):
#0  0xb78b4430 in __kernel_vsyscall ()
#1  0xb5fb8ba6 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb3ac0d80 in ?? () from /usr/lib/libxcb.so.1
#3  0xb3ac12eb in ?? () from /usr/lib/libxcb.so.1
#4  0xb3ac1687 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0xb5d942e9 in _XSend () from /usr/lib/libX11.so.6
#6  0xb5d94949 in _XFlush () from /usr/lib/libX11.so.6
#7  0xb5d6cfa1 in XFlush () from /usr/lib/libX11.so.6
#8  0xb675b99e in QWidgetPrivate::hide_sys (this=0x8f6d368) at kernel/qwidget_x11.cpp:2045
#9  0xb671f985 in QWidgetPrivate::hide_helper (this=0x8f6d368) at kernel/qwidget.cpp:6832
#10 0xb6727f50 in QWidget::setVisible (this=0x8f6d568, visible=false) at kernel/qwidget.cpp:7012
#11 0xb671cb26 in QWidget::hide (this=0x8f6d568, __in_chrg=<value optimized out>) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:477
#12 ~QWidget (this=0x8f6d568, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1348
#13 0xb67562b5 in ~QDesktopWidget (this=0x8f6d568, __in_chrg=<value optimized out>) at kernel/qdesktopwidget_x11.cpp:228
#14 0xb66d4bec in ~QApplication (this=0xbfbdb01c, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:980
#15 0xb76db11a in ~KApplication (this=0xbfbdb01c, __in_chrg=<value optimized out>) at ../../kdeui/kernel/kapplication.cpp:904
#16 0xb76e2588 in ~KUniqueApplication (this=0xbfbdb01c, __in_chrg=<value optimized out>) at ../../kdeui/kernel/kuniqueapplication.cpp:372
#17 0xb73856cd in ~App (this=0xbfbdb01c, __in_chrg=<value optimized out>) at /build/buildd/amarok-2.2.0/src/App.cpp:316
#18 0x08051e57 in main (argc=1, argv=0xbfbdb824) at /build/buildd/amarok-2.2.0/src/main.cpp:225

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-12-17 18:08:21 UTC
Sorry, but your backtrace is not useful, as you are lacking debugging symbols. If you can reproduce this bug, please check here on how to get a valid backtrace:

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Since you are using Kubuntu, you will need amarok-dbg and phonon-dbg at least, ideally you should also have kdelibs5-dbg, libqt4-dbg and  libglib2.0-0-dbg. That should cover most of the crashes.

I also strongly suggest you upgrade to Amarok 2.2.1, available in the Kubuntu updates PPA, see also http://kubuntu.org/news/amarok-2.2.1
Comment 2 Dario Andres 2009-12-27 22:09:36 UTC
Merging with bug 220293.

*** This bug has been marked as a duplicate of bug 220293 ***