Bug 268776

Summary: crash when downloading podcasts
Product: [Applications] amarok Reporter: Mattias Thorslund <mattias>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.3.0   
Target Milestone: 2.4.1   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mattias Thorslund 2011-03-17 19:49:33 UTC
Application: amarok (2.3.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-29-generic x86_64
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
Possibly related to switching window focus to other program (thunderbird) and back.

The crash can be reproduced every time.

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

Thread 14 (Thread 0x7ffa2ff1e700 (LWP 12400)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007ffa36288081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7ffa2f71d700 (LWP 12401)):
#0  0x00007ffa4988ff93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffa42d6c4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ffa42d6c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ffa4a1fb566 in QEventDispatcherGlib::processEvents (this=0xdd9b90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007ffa4a1d0992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ffa4a1d0d6c in QEventLoop::exec (this=0x7ffa2f71cd50, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ffa4a0dad59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007ffa364e4440 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007ffa4a0dd775 in QThreadPrivate::start (arg=0xdd9b50) at thread/qthread_unix.cpp:248
#9  0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7ffa2ed12700 (LWP 12404)):
#0  0x00007ffa4988ff93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffa2ed17915 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7ffa2e511700 (LWP 12405)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffa36298e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7ffa2d905700 (LWP 12406)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffa36298e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ffa2d104700 (LWP 12407)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffa36298e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ffa2b776700 (LWP 12409)):
#0  socketNotifierSourceCheck (source=0x24d6f40) at kernel/qeventdispatcher_glib.cpp:86
#1  0x00007ffa4a1fb910 in ?? () at kernel/qeventdispatcher_glib.cpp:113 from /usr/lib/libQtCore.so.4
#2  0x00007ffa42d67092 in g_main_context_query () from /lib/libglib-2.0.so.0
#3  0x00007ffa42d6c4c3 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007ffa42d6c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007ffa4a1fb566 in QEventDispatcherGlib::processEvents (this=0x2532870, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00007ffa4a1d0992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007ffa4a1d0d6c in QEventLoop::exec (this=0x7ffa2b775d70, flags=) at kernel/qeventloop.cpp:201
#8  0x00007ffa4a0dad59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007ffa4a1b1178 in QInotifyFileSystemWatcherEngine::run (this=0x24d6900) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007ffa4a0dd775 in QThreadPrivate::start (arg=0x24d6900) at thread/qthread_unix.cpp:248
#11 0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ffa24754700 (LWP 12410)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffa44c47d56 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007ffa44c47d99 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ffa235ac700 (LWP 12411)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffa4a0de72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x265ad20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x265ad20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffa46730026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2659f70, th=0x265b1f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffa467326ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2659c20, th=0x265b1f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffa46730bff in ThreadWeaver::ThreadRunHelper::run (this=0x7ffa235abdc0, parent=0x2659f70, th=0x265b1f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ffa46731168 in ThreadWeaver::Thread::run (this=0x265b1f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ffa4a0dd775 in QThreadPrivate::start (arg=0x265b1f0) at thread/qthread_unix.cpp:248
#8  0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ffa22dab700 (LWP 12412)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffa4a0de72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x265ad20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x265ad20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffa46730026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2659f70, th=0x7ffa14000e90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffa467326ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2659c20, th=0x7ffa14000e90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffa46730bff in ThreadWeaver::ThreadRunHelper::run (this=0x7ffa22daadc0, parent=0x2659f70, th=0x7ffa14000e90) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007ffa46731168 in ThreadWeaver::Thread::run (this=0x7ffa14000e90) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007ffa4a0dd775 in QThreadPrivate::start (arg=0x7ffa14000e90) at thread/qthread_unix.cpp:248
#8  0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ffa1e34b700 (LWP 12413)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffa4a0de72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x265ad20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x265ad20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffa46730026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2659f70, th=0x2738180) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffa467326ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2659c20, th=0x2738180) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffa467326c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2659c20, th=0x2738180) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ffa46730bff in ThreadWeaver::ThreadRunHelper::run (this=0x7ffa1e34adc0, parent=0x2659f70, th=0x2738180) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007ffa46731168 in ThreadWeaver::Thread::run (this=0x2738180) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007ffa4a0dd775 in QThreadPrivate::start (arg=0x2738180) at thread/qthread_unix.cpp:248
#9  0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffa1db4a700 (LWP 12414)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffa4a0de72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x265ad20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x265ad20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ffa46730026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2659f70, th=0x7ffa1404c6a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ffa467326ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x2659c20, th=0x7ffa1404c6a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007ffa467326c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2659c20, th=0x7ffa1404c6a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007ffa46730bff in ThreadWeaver::ThreadRunHelper::run (this=0x7ffa1db49dc0, parent=0x2659f70, th=0x7ffa1404c6a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007ffa46731168 in ThreadWeaver::Thread::run (this=0x7ffa1404c6a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007ffa4a0dd775 in QThreadPrivate::start (arg=0x7ffa1404c6a0) at thread/qthread_unix.cpp:248
#9  0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffa1d349700 (LWP 12416)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ffa45f9b2a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7ffa46279220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007ffa45f9b2e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7ffa462872ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007ffa47ce69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007ffa4989c70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffa4c8817a0 (LWP 12399)):
[KCrash Handler]
#5  0x00007ffa4b954dec in SqlPodcastProvider::checkEnclosureLocallyAvailable (this=0x154c3d0, job=0x1c31d60) at ../../src/podcasts/sql/SqlPodcastProvider.cpp:1090
#6  0x00007ffa4b95b1e3 in SqlPodcastProvider::addData (this=0x154c3d0, job=0x1c31d60, data=...) at ../../src/podcasts/sql/SqlPodcastProvider.cpp:1126
#7  0x00007ffa4b95fab8 in SqlPodcastProvider::qt_metacall (this=0x154c3d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff51338c0) at ./SqlPodcastProvider.moc:131
#8  0x00007ffa4a1e4e3f in QMetaObject::activate (sender=0x1c31d60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1c31d60) at kernel/qobject.cpp:3293
#9  0x00007ffa43875e14 in KIO::TransferJob::data (this=0x7ffff5133600, _t1=0x1c31d60, _t2=<value optimized out>) at ./jobclasses.moc:388
#10 0x00007ffa43878630 in KIO::TransferJob::slotData (this=0x1c31d60, _data=...) at ../../kio/kio/job.cpp:984
#11 0x00007ffa4387c516 in KIO::TransferJob::qt_metacall (this=0x1c31d60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff5133aa0) at ./jobclasses.moc:368
#12 0x00007ffa4a1e4e3f in QMetaObject::activate (sender=0x247a940, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1c31d60) at kernel/qobject.cpp:3293
#13 0x00007ffa4393ae22 in KIO::SlaveInterface::data (this=0x7ffff5133600, _t1=<value optimized out>) at ./slaveinterface.moc:146
#14 0x00007ffa4393de10 in KIO::SlaveInterface::dispatch (this=0x247a940, _cmd=100, rawdata=...) at ../../kio/kio/slaveinterface.cpp:163
#15 0x00007ffa4393b0d3 in KIO::SlaveInterface::dispatch (this=0x247a940) at ../../kio/kio/slaveinterface.cpp:91
#16 0x00007ffa4392f536 in KIO::Slave::gotInput (this=0x247a940) at ../../kio/kio/slave.cpp:324
#17 0x00007ffa4392f71c in KIO::Slave::qt_metacall (this=0x247a940, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff5133e90) at ./slave.moc:82
#18 0x00007ffa4a1e4e3f in QMetaObject::activate (sender=0x2481c40, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1c31d60) at kernel/qobject.cpp:3293
#19 0x00007ffa4384c9d7 in KIO::ConnectionPrivate::dequeue (this=0x247a630) at ../../kio/kio/connection.cpp:82
#20 0x00007ffa4384cafd in KIO::Connection::qt_metacall (this=0x2481c40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x19bde30) at ./connection.moc:79
#21 0x00007ffa4a1e1d49 in QObject::event (this=0x2481c40, e=0x1d26a80) at kernel/qobject.cpp:1248
#22 0x00007ffa4ab4622c in QApplicationPrivate::notify_helper (this=0xb94010, receiver=0x2481c40, e=0x1d26a80) at kernel/qapplication.cpp:4300
#23 0x00007ffa4ab4c6fb in QApplication::notify (this=0x7ffff5134a10, receiver=0x2481c40, e=0x1d26a80) at kernel/qapplication.cpp:4183
#24 0x00007ffa4bbac12a in App::notify (this=0x7ffff5133600, receiver=0x2ae6760, event=0xf) at ../../src/App.cpp:927
#25 0x00007ffa4a1d206c in QCoreApplication::notifyInternal (this=0x7ffff5134a10, receiver=0x2481c40, event=0x1d26a80) at kernel/qcoreapplication.cpp:704
#26 0x00007ffa4a1d47e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xa3f470) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xa3f470) at kernel/qcoreapplication.cpp:1345
#28 0x00007ffa4a1fb9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#30 0x00007ffa42d688c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007ffa42d6c748 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007ffa42d6c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007ffa4a1fb513 in QEventDispatcherGlib::processEvents (this=0xa3ebc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x00007ffa4abf646e in QGuiEventDispatcherGlib::processEvents (this=0x7ffff5133600, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007ffa4a1d0992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007ffa4a1d0d6c in QEventLoop::exec (this=0x7ffff51349b0, flags=) at kernel/qeventloop.cpp:201
#37 0x00007ffa4a1d4aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#38 0x0000000000408782 in main (argc=1, argv=0x7ffff5136988) at ../../src/main.cpp:237

This bug may be a duplicate of or related to bug 230932.

Possible duplicates by query: bug 252011, bug 251231, bug 248944, bug 245983, bug 242219.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-03-19 12:57:01 UTC
This is already solved since quite some time. 
Also, Amarok 2.3.2 is available for Kubuntu since quite some time as well:

http://www.kubuntu.org/news/amarok-232-backports-ppa

so is KDE 4.5.3: http://www.kubuntu.org/news/kde-release-day-453-1004

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