Bug 232614

Summary: amarok crash when scanning (with mysql)
Product: [Applications] amarok Reporter: julien.gallois.ubuntu
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: e.cisotti
Priority: NOR    
Version: 2.3.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description julien.gallois.ubuntu 2010-03-29 20:36:36 UTC
Application: amarok (2.3.0)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-18-generic-pae i686
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
first scan of ONE folder (no multiple folders selected, so it's not a dupe of bug 227955)

The crash can be reproduced every time.

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

Thread 17 (Thread 0xae02bb70 (LWP 5552)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5776342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5af89c4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xaed0bce7 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 16 (Thread 0xad6d6b70 (LWP 5553)):
#0  0xb3747e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb5e3068b in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5e357b5 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5e357fa in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5e337a8 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb38e2aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0xb38e2ee9 in ?? () from /lib/libglib-2.0.so.0
#7  0xb38e34b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0xb5e3359f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb5e05ff9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb5e0644a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb5d025a8 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0xaed6ba5a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#13 0xb5d0532e in ?? () from /usr/lib/libQtCore.so.4
#14 0xb577196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb5aeb9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 15 (Thread 0xa8cfeb70 (LWP 5562)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5addb56 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xad808502 in ?? () from /usr/lib/libpulse.so.0
#3  0xad7f4a59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xad7f6a13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xad7f6ae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xad8082a3 in ?? () from /usr/lib/libpulse.so.0
#7  0xad7c8e02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0xb577196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb5aeb9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 14 (Thread 0xaccf9b70 (LWP 5563)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5addb56 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xad825a8f in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 13 (Thread 0xac2ffb70 (LWP 5564)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5776015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5af896d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xaed1c9ee in ?? () from /usr/lib/libxine.so.1
#4  0x00000000 in ?? ()

Thread 12 (Thread 0xab8ffb70 (LWP 5565)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5776015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5af896d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xaed1c9ee in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 11 (Thread 0xaaeffb70 (LWP 5566)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5776015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5af896d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xaed1c9ee in ?? () from /usr/lib/libxine.so.1
#4  0x00000000 in ?? ()

Thread 10 (Thread 0xaa5f9b70 (LWP 5567)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5776015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5af896d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xaed1c9ee in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 9 (Thread 0xa44fcb70 (LWP 5568)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5776015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5af896d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb41aa9d7 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb41aaa21 in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb577196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb5aeb9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xa3baeb70 (LWP 5569)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5776015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5af896d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5d06287 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb52ab870 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb52ae38c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb52aa27b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb52ae482 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb52ab4d3 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb52ae4a1 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb52ab4d3 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb52ac51e in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb52acc3b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0xb5d0532e in ?? () from /usr/lib/libQtCore.so.4
#14 0xb577196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb5aeb9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xa33adb70 (LWP 5570)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5776015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5af896d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5d06287 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb52ab870 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb52ae38c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb52aa27b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb52ae482 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb52ab4d3 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb52ae4a1 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb52ab4d3 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb52ac51e in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb52acc3b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0xb5d0532e in ?? () from /usr/lib/libQtCore.so.4
#14 0xb577196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb5aeb9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xa2a5bb70 (LWP 5571)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5776015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5af896d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5d06287 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xaba8ece0 in XmlParseJob::run (this=0x97d92d8) at ../../../../src/collection/sqlcollection/ScanManager.cpp:692
#5  0xb52ad49d in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb52ad801 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#7  0xb52ac4ea in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb52acc3b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#9  0xb5d0532e in ?? () from /usr/lib/libQtCore.so.4
#10 0xb577196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb5aeb9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xa1a59b70 (LWP 5574)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5776015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5af896d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5d06287 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb52ab870 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb52ae38c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb52aa27b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb52ae482 in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb52ab4d3 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb52ae4a1 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb52ab4d3 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0xb52ae4a1 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0xb52ab4d3 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0xb52ae4a1 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0xb52ab4d3 in ?? () from /usr/lib/libthreadweaver.so.4
#15 0xb52ac51e in ?? () from /usr/lib/libthreadweaver.so.4
#16 0xb52acc3b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#17 0xb5d0532e in ?? () from /usr/lib/libQtCore.so.4
#18 0xb577196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#19 0xb5aeb9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa1258b70 (LWP 5575)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5776015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5af896d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5123c97 in ?? () from /usr/lib/libQtScript.so.4
#4  0xb5123ce1 in ?? () from /usr/lib/libQtScript.so.4
#5  0xb577196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb5aeb9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0x9ca66b70 (LWP 5577)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5776015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb5af896d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5d06287 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb6831b92 in ?? () from /usr/lib/libQtGui.so.4
#5  0xb5d0532e in ?? () from /usr/lib/libQtCore.so.4
#6  0xb577196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb5aeb9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0x9b610b70 (LWP 5578)):
#0  0xb78c5430 in __kernel_vsyscall ()
#1  0xb5addb56 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb38f04eb in g_poll () from /lib/libglib-2.0.so.0
#3  0xb38e30ac in ?? () from /lib/libglib-2.0.so.0
#4  0xb38e34b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb5e3359f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb5e05ff9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb5e0644a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb5d025a8 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb5de5bcb in ?? () from /usr/lib/libQtCore.so.4
#10 0xb5d0532e in ?? () from /usr/lib/libQtCore.so.4
#11 0xb577196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb5aeb9de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb15e5780 (LWP 5551)):
[KCrash Handler]
#6  0xb707c551 in QList<KSharedPtr<Meta::Playlist> >::contains (this=0x976ed60, playlist=) at /usr/include/qt4/QtCore/qlist.h:760
#7  PlaylistManager::getProviderForPlaylist (this=0x976ed60, playlist=) at ../../src/playlistmanager/PlaylistManager.cpp:329
#8  0xb703882f in PlaylistBrowserNS::UserModel::data (this=0x9b6bfc8, index=..., role=28) at ../../src/browsers/playlistbrowser/UserPlaylistModel.cpp:235
#9  0xb5dfc535 in QAbstractItemModel::itemData(QModelIndex const&) const () from /usr/lib/libQtCore.so.4
#10 0xb702f97a in QtGroupingProxy::belongsTo (this=0x9b74748, idx=...) at ../../src/browsers/playlistbrowser/QtGroupingProxy.cpp:64
#11 0xb702d7a1 in QtGroupingProxy::buildTree (this=0x9b74748) at ../../src/browsers/playlistbrowser/QtGroupingProxy.cpp:148
#12 0xb705c43d in PlaylistsByProviderProxy::buildTree (this=0x9b74748) at ../../src/browsers/playlistbrowser/PlaylistsByProviderProxy.cpp:245
#13 0xb6cd2369 in QtGroupingProxy::qt_metacall (this=0x9b74748, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfd835ac) at moc_QtGroupingProxy.cpp:94
#14 0xb6cd2e0a in PlaylistsByProviderProxy::qt_metacall (this=0x9b74748, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfd835ac) at moc_PlaylistsByProviderProxy.cpp:75
#15 0xb5e0cc3a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#16 0xb5e1b375 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0xb5e6bd07 in QAbstractItemModel::layoutChanged() () from /usr/lib/libQtCore.so.4
#18 0xb703e57a in PlaylistBrowserNS::UserModel::slotUpdate (this=0x9b6bfc8) at ../../src/browsers/playlistbrowser/UserPlaylistModel.cpp:93
#19 0xb703e663 in PlaylistBrowserNS::UserModel::qt_metacall (this=0x9b6bfc8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfd8370c) at ./UserPlaylistModel.moc:96
#20 0xb5e0cc3a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#21 0xb5e1b375 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#22 0xb707c2b7 in PlaylistManager::updated (this=0x976ed60) at ./PlaylistManager.moc:102
#23 0xb7081887 in PlaylistManager::slotUpdated (this=0x976ed60) at ../../src/playlistmanager/PlaylistManager.cpp:136
#24 0xb7081b53 in PlaylistManager::qt_metacall (this=0x976ed60, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x92c029b8) at ./PlaylistManager.moc:90
#25 0xb5e0cc3a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#26 0xb5e172d6 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#27 0xb5e1839e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#28 0xb62b24dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0xb62b905e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#30 0xb71544f6 in App::notify (this=0xbfd84098, receiver=0x976ed60, event=0x9294c308) at ../../src/App.cpp:927
#31 0xb5e079db in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#32 0xb5e0a413 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#33 0xb5e0a57d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#34 0xb5e33a6f in ?? () from /usr/lib/libQtCore.so.4
#35 0xb38df5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0xb38e32d8 in ?? () from /lib/libglib-2.0.so.0
#37 0xb38e34b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0xb5e33565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0xb6371f65 in ?? () from /usr/lib/libQtGui.so.4
#40 0xb5e05ff9 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0xb5e0644a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#42 0xb5e0a63f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#43 0xb62b2577 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#44 0x08050009 in main (argc=1, argv=0xbfd84914) at ../../src/main.cpp:237

Possible duplicates by query: bug 232125, bug 231845, bug 231053, bug 229955, bug 228132.

Reported using DrKonqi
Comment 1 julien.gallois.ubuntu 2010-03-29 20:41:28 UTC
sorry I meant "not a dupe of bug 227599
Comment 2 Emanuele Cisotti 2010-03-31 23:25:14 UTC
Created attachment 42418 [details]
New crash information added by DrKonqi

Amarok: 2.3
Ubuntu / Kubuntu 10.04 Beta1
If I try to scan my collection on my external HD Amarok crashes every time (on random percentage)
Comment 3 Sven Krohlas 2010-04-01 10:09:27 UTC
The backtrace is very, very similar, so it's the same problem. Only the description of bug 227599 doesn't get to the point, I'd say.

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