Bug 266146 - Amarok crashes upon library scan
Summary: Amarok crashes upon library scan
Status: RESOLVED DUPLICATE of bug 235480
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3.1
Platform: Debian stable Linux
: NOR crash
Target Milestone: 2.4.1
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-12 17:01 UTC by Benjamin Peter
Modified: 2011-02-16 21:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Peter 2011-02-12 17:01:35 UTC
Application: amarok (2.3.1)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux 6.0 (squeeze)

-- Information about the crash:
Hi there,

I tried to add all my mp3s and flacs to amarok, when it crashed. Simply added the main directory.

About 90GB size.

I have mysql set up locally and configured in amarok.

It seems to crash after scanning the files (according to progress bar). DB tables are there but no content.

It happens every time. I hope the stack trace is somewhat helpfull.


regards,

Benjamin Peter.

The crash can be reproduced every time.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fd8814e57a0 (LWP 14131))]

Thread 9 (Thread 0x7fd86393b700 (LWP 14135)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd879b30556 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fd879b30599 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fd87499bae3 in ?? () from /usr/lib/libGL.so.1
#4  0x00007fd8792088ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007fd87e34702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fd86413c700 (LWP 14136)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd87f86ce6b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x234ac10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x234ac10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd87b622e56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x234a890, th=0x234b040) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd87b6256fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x2349820, th=0x234b040) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd87b625714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2349820, th=0x234b040) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd87b623c7f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd86413bd30, parent=0x234a890, th=0x234b040) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fd87b6241d8 in ThreadWeaver::Thread::run (this=0x234b040) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fd87f86be15 in QThreadPrivate::start (arg=0x234b040) at thread/qthread_unix.cpp:248
#9  0x00007fd87499bae3 in ?? () from /usr/lib/libGL.so.1
#10 0x00007fd8792088ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fd87e34702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fd85dc08700 (LWP 14137)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd87f86ce6b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x234ac10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x234ac10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd87b622e56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x234a890, th=0x7fd858001620) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd87b6256fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x2349820, th=0x7fd858001620) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd87b625714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2349820, th=0x7fd858001620) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd87b625714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2349820, th=0x7fd858001620) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fd87b625714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2349820, th=0x7fd858001620) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fd87b623c7f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd85dc07d30, parent=0x234a890, th=0x7fd858001620) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007fd87b6241d8 in ThreadWeaver::Thread::run (this=0x7fd858001620) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007fd87f86be15 in QThreadPrivate::start (arg=0x7fd858001620) at thread/qthread_unix.cpp:248
#11 0x00007fd87499bae3 in ?? () from /usr/lib/libGL.so.1
#12 0x00007fd8792088ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#13 0x00007fd87e34702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fd85d407700 (LWP 14138)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd87f86ce6b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7fd8580a7e48, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7fd8580a7e48, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd865e26df9 in XmlParseJob::run (this=<value optimized out>) at ../../../../../src/core-impl/collections/sqlcollection/ScanManager.cpp:693
#4  0x00007fd87b624935 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fd85d406ca0, th=0x23b3350, job=0x7fd8580a7e00) at ../../../threadweaver/Weaver/Job.cpp:106
#5  0x00007fd87b624c2e in ThreadWeaver::Job::execute (this=0x7fd8580a7e00, th=0x23b3350) at ../../../threadweaver/Weaver/Job.cpp:135
#6  0x00007fd87b623c4f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd85d406d30, parent=0x234a890, th=0x23b3350) at ../../../threadweaver/Weaver/Thread.cpp:95
#7  0x00007fd87b6241d8 in ThreadWeaver::Thread::run (this=0x23b3350) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fd87f86be15 in QThreadPrivate::start (arg=0x23b3350) at thread/qthread_unix.cpp:248
#9  0x00007fd87499bae3 in ?? () from /usr/lib/libGL.so.1
#10 0x00007fd8792088ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fd87e34702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fd857fff700 (LWP 14141)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd87f86ce6b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x234ac10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x234ac10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd87b622e56 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x234a890, th=0x17741f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fd87b6256fb in ThreadWeaver::WorkingHardState::applyForWork (this=0x2349820, th=0x17741f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fd87b625714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2349820, th=0x17741f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fd87b625714 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2349820, th=0x17741f0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fd87b623c7f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd857ffed30, parent=0x234a890, th=0x17741f0) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fd87b6241d8 in ThreadWeaver::Thread::run (this=0x17741f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fd87f86be15 in QThreadPrivate::start (arg=0x17741f0) at thread/qthread_unix.cpp:248
#10 0x00007fd87499bae3 in ?? () from /usr/lib/libGL.so.1
#11 0x00007fd8792088ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007fd87e34702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd8577fe700 (LWP 14142)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd87ae88356 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd87b1661e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007fd87ae88399 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fd87b1742ac) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007fd87499bae3 in ?? () from /usr/lib/libGL.so.1
#4  0x00007fd8792088ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007fd87e34702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd846769700 (LWP 14145)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd87f86ce6b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7fd8580546c8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7fd8580546c8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd87f2021e6 in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:203
#4  0x00007fd87f86be15 in QThreadPrivate::start (arg=0x7fd8580546b8) at thread/qthread_unix.cpp:248
#5  0x00007fd87499bae3 in ?? () from /usr/lib/libGL.so.1
#6  0x00007fd8792088ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007fd87e34702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd845f68700 (LWP 14146)):
#0  0x00007fd87e33c113 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd876f9d2c9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fd876f9d71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fd87f984706 in QEventDispatcherGlib::processEvents (this=0x1c44f50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fd87f9599c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fd87f959d9c in QEventLoop::exec (this=0x7fd845f67ce0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fd87f86977b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fd87f93a338 in QInotifyFileSystemWatcherEngine::run (this=0x7fd85805f740) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd87f86be15 in QThreadPrivate::start (arg=0x7fd85805f740) at thread/qthread_unix.cpp:248
#9  0x00007fd87499bae3 in ?? () from /usr/lib/libGL.so.1
#10 0x00007fd8792088ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fd87e34702d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd8814e57a0 (LWP 14131)):
[KCrash Handler]
#5  0x00007fd880619e96 in KSharedPtr (this=0x8) at /usr/include/KDE/../ksharedptr.h:84
#6  Playlists::PlaylistFileProvider::playlists (this=0x8) at ../../src/playlistmanager/file/PlaylistFileProvider.cpp:100
#7  0x00007fd8805cd7bb in PlaylistBrowserNS::MetaPlaylistModel::data (this=<value optimized out>, index=<value optimized out>, role=<value optimized out>)
    at ../../src/browsers/playlistbrowser/MetaPlaylistModel.cpp:159
#8  0x00007fd87f94f917 in QAbstractItemModel::itemData (this=0x7fd850032e70, index=<value optimized out>) at kernel/qabstractitemmodel.cpp:1647
#9  0x00007fd8805d77f7 in QtGroupingProxy::belongsTo (this=<value optimized out>, idx=<value optimized out>) at ../../src/browsers/playlistbrowser/QtGroupingProxy.cpp:63
#10 0x00007fd8805d5095 in QtGroupingProxy::buildTree (this=<value optimized out>) at ../../src/browsers/playlistbrowser/QtGroupingProxy.cpp:147
#11 0x00007fd8802799d9 in QtGroupingProxy::qt_metacall (this=0x7fd85003e2c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3278f9d0) at moc_QtGroupingProxy.cpp:94
#12 0x00007fd88027bc35 in PlaylistsByProviderProxy::qt_metacall (this=0x7fd850000020, _c=QMetaObject::QueryPropertyUser, _id=0, _a=0x7fd880c92601) at moc_PlaylistsByProviderProxy.cpp:73
#13 0x00007fd87f96e2e6 in QMetaObject::activate (sender=0x7fd850032e70, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fd880c92601) at kernel/qobject.cpp:3295
#14 0x00007fd8805c8114 in PlaylistBrowserNS::MetaPlaylistModel::slotUpdate (this=0x7fd850032e70) at ../../src/browsers/playlistbrowser/MetaPlaylistModel.cpp:474
#15 0x00007fd88027a6c8 in PlaylistBrowserNS::MetaPlaylistModel::qt_metacall (this=0x7fd850032e70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3278fb80)
    at moc_MetaPlaylistModel.cpp:85
#16 0x00007fd87f96e2e6 in QMetaObject::activate (sender=0x1a33390, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fd880c92601) at kernel/qobject.cpp:3295
#17 0x00007fd880615a58 in PlaylistManager::qt_metacall (this=0x1a33390, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fd8583a7030) at ./PlaylistManager.moc:90
#18 0x00007fd87f96ae29 in QObject::event (this=0x1a33390, e=0x7fd85862a280) at kernel/qobject.cpp:1248
#19 0x00007fd87ecfb32c in QApplicationPrivate::notify_helper (this=0x14ceca0, receiver=0x1a33390, e=0x7fd85862a280) at kernel/qapplication.cpp:4302
#20 0x00007fd87ed0180b in QApplication::notify (this=0x7fff32790600, receiver=0x1a33390, e=0x7fd85862a280) at kernel/qapplication.cpp:4185
#21 0x00007fd880ef07a6 in KApplication::notify (this=0x7fff32790600, receiver=0x1a33390, event=0x7fd85862a280) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00007fd87f95b09c in QCoreApplication::notifyInternal (this=0x7fff32790600, receiver=0x1a33390, event=0x7fd85862a280) at kernel/qcoreapplication.cpp:726
#23 0x00007fd87f95e744 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x13648c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x13648c0) at kernel/qcoreapplication.cpp:1367
#25 0x00007fd87f984b73 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#27 0x00007fd876f996f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007fd876f9d568 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007fd876f9d71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007fd87f9846b3 in QEventDispatcherGlib::processEvents (this=0x13644c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#31 0x00007fd87edab19e in QGuiEventDispatcherGlib::processEvents (this=0x7fd850000020, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fd87f9599c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007fd87f959d9c in QEventLoop::exec (this=0x7fff327905a0, flags=) at kernel/qeventloop.cpp:201
#34 0x00007fd87f95ea2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#35 0x0000000000408712 in main (argc=1, argv=0x7fff32792578) at ../../src/main.cpp:237
The current source language is "auto; currently c".
The current source language is "auto; currently asm".

Possible duplicates by query: bug 256934, bug 252001, bug 249062, bug 246685, bug 245734.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-02-16 20:25:44 UTC
This is already solved since 2.3.2, please upgrade.

*** This bug has been marked as a duplicate of bug 235480 ***
Comment 2 Benjamin Peter 2011-02-16 21:39:03 UTC
Okay thanks, hoped the trace would be of any additional use.