Bug 253611

Summary: Crash after large copy action to music collection
Product: [Applications] amarok Reporter: kat <kat.amsterdam>
Component: Collection BrowserAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: maximilian.kossick
Priority: NOR    
Version: 2.3.2   
Target Milestone: 2.4.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kat 2010-10-08 19:20:24 UTC
Application: amarok (2.3.2)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-25-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I had just copied 3,4GB of music into my collection, amarok was turning grey during the copy process.
After the copy process finished, amarok came back to normal and I enterned the search term Kerri.
Amarok Segfaulted and crashed.

- Unusual behavior I noticed:
Amarok runing under gnome is exhibiting strange screen build up. Maybe for a seperate bug, but sometimes you have to minimize and maximize amarok in order to use the interface. The colors are also have grey of amarok and half gtk colors. Many times the interface hangs for several seconds before you can input text.

- Custom settings of the application:
Discgos Script is installed
Ultimate Lyrics Script installed
Brazillian Radio Station Script Installed
Automatic Moodbar Generator Installed (does not work)

Music collection is on a NAS (Synology DS 509+) on the network.
Moodbar is turned on.
Using the XINE engine
Using Amarok from the Ubuntu PPA

Any other questions feel free to ask.

The crash can be reproduced some of the time.

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

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

Thread 13 (Thread 0x7fbc5a70c710 (LWP 29874)):
#0  0x00007fbc877a0fb3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbc814ad4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fbc814ad8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fbc8810f1d6 in QEventDispatcherGlib::processEvents (this=0x15c7a40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fbc880e1dd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fbc880e21bc in QEventLoop::exec (this=0x7fbc5a70bcb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fbc87fed36d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fbc683882b0 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fbc87ff02ee in QThreadPrivate::start (arg=0x16597b0) at thread/qthread_unix.cpp:266
#9  0x00007fbc852a19ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fbc877ad72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fbc59d06710 (LWP 29875)):
#0  0x00007fbc877a0fb3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbc7f6bd41f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007fbc7f6acd86 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007fbc7f6ae809 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007fbc7f6ae8c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007fbc7f6bd21b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007fbc7b3260e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#7  0x00007fbc852a19ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007fbc877ad72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

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

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

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

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

Thread 7 (Thread 0x7fbc4da8b710 (LWP 30753)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbc87ff0eab in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x21e5810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x21e5810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fbc83ef3d84 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x202d480, th=0x21f8710) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fbc83ef6f8b in ThreadWeaver::WorkingHardState::applyForWork (this=0x202fc60, th=0x21f8710) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fbc83ef54ff in ThreadWeaver::ThreadRunHelper::run (this=0x7fbc4da8ad20, parent=0x202d480, th=0x21f8710) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fbc83ef5a58 in ThreadWeaver::Thread::run (this=0x21f8710) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fbc87ff02ee in QThreadPrivate::start (arg=0x21f8710) at thread/qthread_unix.cpp:266
#8  0x00007fbc852a19ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fbc877ad72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fbc4cc58710 (LWP 30754)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbc7ecbf2be in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fbc7ecbf3d9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fbc852a19ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fbc877ad72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fbc4b477710 (LWP 32344)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbc87ff0eab in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x21e5810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x21e5810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fbc83ef3d84 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x202d480, th=0x2424e50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fbc83ef6f8b in ThreadWeaver::WorkingHardState::applyForWork (this=0x202fc60, th=0x2424e50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fbc83ef54ff in ThreadWeaver::ThreadRunHelper::run (this=0x7fbc4b476d20, parent=0x202d480, th=0x2424e50) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fbc83ef5a58 in ThreadWeaver::Thread::run (this=0x2424e50) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fbc87ff02ee in QThreadPrivate::start (arg=0x2424e50) at thread/qthread_unix.cpp:266
#8  0x00007fbc852a19ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fbc877ad72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fbc4ac76710 (LWP 32389)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbc87ff0eab in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x21e5810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x21e5810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fbc83ef3d84 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x202d480, th=0x1acb350) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fbc83ef6f8b in ThreadWeaver::WorkingHardState::applyForWork (this=0x202fc60, th=0x1acb350) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fbc83ef54ff in ThreadWeaver::ThreadRunHelper::run (this=0x7fbc4ac75d20, parent=0x202d480, th=0x1acb350) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fbc83ef5a58 in ThreadWeaver::Thread::run (this=0x1acb350) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fbc87ff02ee in QThreadPrivate::start (arg=0x1acb350) at thread/qthread_unix.cpp:266
#8  0x00007fbc852a19ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fbc877ad72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbc42391710 (LWP 32464)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbc837337e4 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fbc83a3e160) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fbc83733819 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fbc83a4c234) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fbc852a19ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fbc877ad72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbc3aebf710 (LWP 32469)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbc87ff0eab in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x21e5810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x21e5810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fbc83ef3d84 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x202d480, th=0x2441370) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fbc83ef6f8b in ThreadWeaver::WorkingHardState::applyForWork (this=0x202fc60, th=0x2441370) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fbc83ef54ff in ThreadWeaver::ThreadRunHelper::run (this=0x7fbc3aebed20, parent=0x202d480, th=0x2441370) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fbc83ef5a58 in ThreadWeaver::Thread::run (this=0x2441370) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fbc87ff02ee in QThreadPrivate::start (arg=0x2441370) at thread/qthread_unix.cpp:266
#8  0x00007fbc852a19ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fbc877ad72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbc8a8dc840 (LWP 29864)):
[KCrash Handler]
#6  QListData::size (this=0x54e6180) at /usr/include/qt4/QtCore/qlist.h:94
#7  QList<CollectionTreeItem*>::indexOf (this=0x54e6180) at /usr/include/qt4/QtCore/qlist.h:829
#8  CollectionTreeItem::row (this=0x54e6180) at ../../src/browsers/CollectionTreeItem.cpp:278
#9  0x00007fbc89785036 in CollectionTreeItemModelBase::handleSpecialQueryResult (this=0x2c7cc70, type=<value optimized out>, qm=0x52b7dd0, dataList=...)
    at ../../src/browsers/CollectionTreeItemModelBase.cpp:905
#10 0x00007fbc89785a68 in CollectionTreeItemModelBase::newResultReady (this=0x2c7cc70, collectionId=<value optimized out>, data=) at ../../src/browsers/CollectionTreeItemModelBase.cpp:880
#11 0x00007fbc8977fb87 in CollectionTreeItemModelBase::qt_metacall (this=0x2c7cc70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fbc4418b120)
    at ./CollectionTreeItemModelBase.moc:94
#12 0x00007fbc89775fb0 in CollectionTreeItemModel::qt_metacall (this=0x54e6180, _c=86746144, _id=1179666, _a=0x52b7dd0) at ./CollectionTreeItemModel.moc:73
#13 0x00007fbc880f4e7e in QObject::event (this=0x2c7cc70, e=0x54e6180) at kernel/qobject.cpp:1219
#14 0x00007fbc88ab36ec in QApplicationPrivate::notify_helper (this=0x1377fc0, receiver=0x2c7cc70, e=0x7fbc4425b8c0) at kernel/qapplication.cpp:4396
#15 0x00007fbc88ab91dd in QApplication::notify (this=0x7fff461ebef0, receiver=0x2c7cc70, e=0x7fbc4425b8c0) at kernel/qapplication.cpp:4277
#16 0x00007fbc8a3f0536 in KApplication::notify (this=0x7fff461ebef0, receiver=0x2c7cc70, event=0x7fbc4425b8c0) at ../../kdeui/kernel/kapplication.cpp:310
#17 0x00007fbc880e30ac in QCoreApplication::notifyInternal (this=0x7fff461ebef0, receiver=0x2c7cc70, event=0x7fbc4425b8c0) at kernel/qcoreapplication.cpp:732
#18 0x00007fbc880e5fd2 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1224d40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1224d40) at kernel/qcoreapplication.cpp:1373
#20 0x00007fbc8810f643 in QCoreApplication::sendPostedEvents (s=0x137a960) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#21 postEventSourceDispatch (s=0x137a960) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00007fbc814a98c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007fbc814ad748 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007fbc814ad8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x00007fbc8810f183 in QEventDispatcherGlib::processEvents (this=0x1224490, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#26 0x00007fbc88b6597e in QGuiEventDispatcherGlib::processEvents (this=0x54e6180, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007fbc880e1dd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007fbc880e21bc in QEventLoop::exec (this=0x7fff461ebe90, flags=) at kernel/qeventloop.cpp:201
#29 0x00007fbc880e626b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#30 0x000000000040836a in main (argc=<value optimized out>, argv=0x7fff461ede58) at ../../src/main.cpp:237

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-10-09 10:52:50 UTC

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