Bug 229955 - Using MYSQL as database for collection causes a crash
Summary: Using MYSQL as database for collection causes a crash
Status: RESOLVED DUPLICATE of bug 227599
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.2.90
Platform: Debian testing Unspecified
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-08 16:34 UTC by VP
Modified: 2010-03-08 16:48 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 VP 2010-03-08 16:34:21 UTC
Version:           2.2.2.90 (using KDE 4.4.1)
Installed from:    Debian testing/unstable Packages

I have a large collection of flac files (around 800GB, 17000 files) and when using mysql as a database results in a crash in the middle of the scanning process. If I use a subset of folders, just for testing the database, amarok completes the scanning and the collection works well. Including all the folders gives the error.
Here is the backtrace:

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

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

Thread 13 (Thread 0x7fdc97716710 (LWP 15543)):
#0  0x00007fdcaf699283 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fdca99e80ac in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fdca99e83f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fdcb0ce3286 in QEventDispatcherGlib::processEvents (this=0x23b2880, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fdcb0cb8702 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fdcb0cb8adc in QEventLoop::exec (this=0x7fdc97715cf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fdcb0bc2bd9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fdc95b4e3ce in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fdcb0bc55d5 in QThreadPrivate::start (arg=0x2238f60) at thread/qthread_unix.cpp:248
#9  0x00007fdcab75f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fdcaf6a425d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fdc910cf710 (LWP 15546)):
#0  0x00007fdcaf69801d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fdc9b75b055 in ?? () from /usr/lib/libasound.so.2
#2  0x00007fdc9b755ec8 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007fdc9b75fa99 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007fdc910d4846 in ?? () from /usr/lib/xine/plugins/1.28/xineplug_ao_out_alsa.so
#5  0x00007fdcab75f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fdcaf6a425d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 11 (Thread 0x7fdc908ce710 (LWP 15547)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fdc95903a3b in ?? () from /usr/lib/libxine.so.1
#2  0x00007fdcab75f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fdcaf6a425d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

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

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

Thread 8 (Thread 0x7fdc8abf4710 (LWP 15550)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fdc95903a3b in ?? () from /usr/lib/libxine.so.1
#2  0x00007fdcab75f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fdcaf6a425d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

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

Thread 6 (Thread 0x7fdc80c2e710 (LWP 15552)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fdcb0bc659b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x329a8a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x329a8a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fdcad3bffe6 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007fdcad3c266b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007fdcad3c0bbf in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007fdcad3c1128 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007fdcb0bc55d5 in QThreadPrivate::start (arg=0x329acd0) at thread/qthread_unix.cpp:248
#8  0x00007fdcab75f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fdcaf6a425d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fdc8042d710 (LWP 15553)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fdcb0bc659b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2852c28, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2852c28, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fdc898e8741 in XmlParseJob::run (this=<value optimized out>) at ../../../../src/collection/sqlcollection/ScanManager.cpp:692
#4  0x00007fdcad3c189d in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007fdcad3c1b9e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#6  0x00007fdcad3c0b8f in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007fdcad3c1128 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007fdcb0bc55d5 in QThreadPrivate::start (arg=0x329b560) at thread/qthread_unix.cpp:248
#9  0x00007fdcab75f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fdcaf6a425d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fdc7c0af710 (LWP 15554)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fdcb0bc659b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x329a8a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x329a8a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fdcad3bffe6 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007fdcad3c266b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007fdcad3c2684 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007fdcad3c0bbf in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007fdcad3c1128 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007fdcb0bc55d5 in QThreadPrivate::start (arg=0x325b050) at thread/qthread_unix.cpp:248
#9  0x00007fdcab75f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fdcaf6a425d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fdc7b0ad710 (LWP 15557)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fdcb0bc659b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x329a8a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x329a8a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fdcad3bffe6 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007fdcad3c266b in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007fdcad3c2684 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007fdcad3c0bbf in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007fdcad3c1128 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007fdcb0bc55d5 in QThreadPrivate::start (arg=0x31afa80) at thread/qthread_unix.cpp:248
#9  0x00007fdcab75f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fdcaf6a425d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fdc7a626710 (LWP 15567)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fdcad0c8686 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fdcad3a62c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007fdcad0c86c9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fdcad3b438c) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007fdcab75f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fdcaf6a425d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdcb26b6840 (LWP 15538)):
[KCrash Handler]
#5  0x00007fdcb19308ff in QList<KSharedPtr<Meta::Playlist> >::contains (this=<value optimized out>, playlist=) at /usr/include/qt4/QtCore/qlist.h:667
#6  PlaylistManager::getProviderForPlaylist (this=<value optimized out>, playlist=) at ../../src/playlistmanager/PlaylistManager.cpp:326
#7  0x00007fdcb18f695a in PlaylistBrowserNS::UserModel::data (this=<value optimized out>, index=<value optimized out>, role=<value optimized out>)
    at ../../src/browsers/playlistbrowser/UserPlaylistModel.cpp:191
#8  0x00007fdcb0cae667 in QAbstractItemModel::itemData (this=0x32d3420, index=<value optimized out>) at kernel/qabstractitemmodel.cpp:1644
#9  0x00007fdcb18ef49c in QtGroupingProxy::belongsTo (this=<value optimized out>, idx=...) at ../../src/browsers/playlistbrowser/QtGroupingProxy.cpp:67
#10 0x00007fdcb18eddfb in QtGroupingProxy::buildTree (this=<value optimized out>) at ../../src/browsers/playlistbrowser/QtGroupingProxy.cpp:112
#11 0x00007fdcb15d6ff9 in QtGroupingProxy::qt_metacall (this=0x32f50b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5eb363e0) at moc_QtGroupingProxy.cpp:88
#12 0x00007fdcb0cccb1f in QMetaObject::activate (sender=0x32d3420, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fdc8cadeec8) at kernel/qobject.cpp:3293
#13 0x00007fdcb18f9dc8 in PlaylistBrowserNS::UserModel::slotUpdate (this=0x32d3420) at ../../src/browsers/playlistbrowser/UserPlaylistModel.cpp:93
#14 0x00007fdcb18f9ea8 in PlaylistBrowserNS::UserModel::qt_metacall (this=0x32d3420, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5eb36540) at ./UserPlaylistModel.moc:90
#15 0x00007fdcb0cccb1f in QMetaObject::activate (sender=0x2b1af70, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fdc8cadeec8) at kernel/qobject.cpp:3293
#16 0x00007fdcb1936568 in PlaylistManager::slotUpdated (this=0x2b1af70) at ../../src/playlistmanager/PlaylistManager.cpp:136
#17 0x00007fdcb1936b18 in PlaylistManager::qt_metacall (this=0x2b1af70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fdc687ad0b0) at ./PlaylistManager.moc:84
#18 0x00007fdcb0cc9a29 in QObject::event (this=0x2b1af70, e=0x7fdc68798f10) at kernel/qobject.cpp:1248
#19 0x00007fdcb00588fc in QApplicationPrivate::notify_helper (this=0x2248d20, receiver=0x2b1af70, e=0x7fdc68798f10) at kernel/qapplication.cpp:4300
#20 0x00007fdcb005eddb in QApplication::notify (this=0x7fff5eb37100, receiver=0x2b1af70, e=0x7fdc68798f10) at kernel/qapplication.cpp:4183
#21 0x00007fdcb19f5c9a in App::notify (this=0x7fff5eb35bd0, receiver=0x3e71870, event=0x440043002f0058) at ../../src/App.cpp:952
#22 0x00007fdcb0cb9ddc in QCoreApplication::notifyInternal (this=0x7fff5eb37100, receiver=0x2b1af70, event=0x7fdc68798f10) at kernel/qcoreapplication.cpp:704
#23 0x00007fdcb0cbc557 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x20f4f40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x20f4f40) at kernel/qcoreapplication.cpp:1345
#25 0x00007fdcb0ce36f3 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 0x00007fdca99e490e in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007fdca99e82c8 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007fdca99e83f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007fdcb0ce3233 in QEventDispatcherGlib::processEvents (this=0x20f4b40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#31 0x00007fdcb010832e in QGuiEventDispatcherGlib::processEvents (this=0x7fff5eb35bd0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fdcb0cb8702 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007fdcb0cb8adc in QEventLoop::exec (this=0x7fff5eb37090, flags=) at kernel/qeventloop.cpp:201
#34 0x00007fdcb0cbc81b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0x000000000040a3c4 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../src/main.cpp:237
Comment 1 Myriam Schweingruber 2010-03-08 16:48:42 UTC

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