Bug 236238 - Amarok2 Crashed While Import Amarok1.4 statistics [@ Amarok::TrayIcon::setupMenu]
Summary: Amarok2 Crashed While Import Amarok1.4 statistics [@ Amarok::TrayIcon::setupM...
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 238040 238620 242558 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-03 22:34 UTC by Duncan Clough
Modified: 2010-08-25 20:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.3.2


Attachments
Debug output for amarok crashing during statistics import (45.05 KB, text/plain)
2010-06-14 23:00 UTC, Duncan Clough
Details
Debug output for amarok crashing during statistics import (743.98 KB, text/plain)
2010-06-14 23:01 UTC, Duncan Clough
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan Clough 2010-05-03 22:34:53 UTC
Application: amarok (2.3.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
While importing statistics from my Amarok 1.4 Mysql database, Amarok 2 crashed.  At the time of the crash I was scrolling up to the top of the information being outputted by the "statistics importer" to see what was happening.  While I was scrolling upwards, Amarok2 crashed.

My Amarok 2 had been set up to use a Mysql database (with a different name and username to the Amarok1.4 database).

This happened to me twice - immediately after it crashed the first time, I tried again, and the same crash happened (while I was scrolling up).  I've also experienced this 3 times before with earlier versions (v2.0 and v2.1) of Amarok2 , but then I just gave up and got Amarok 1.4 working instead.

The crash can be reproduced every time.

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

Thread 15 (Thread 0x7f36a445b710 (LWP 13327)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f36cf6b7ca6 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f36cf6b7ce9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f36a30ba710 (LWP 13328)):
[KCrash Handler]
#5  0x00007f36d29b0d5b in QDBusAdaptorConnector::relaySlot (this=0x2201050, argv=0x7f36a30b89e0) at qdbusabstractadaptor.cpp:268
#6  0x00007f36d29b15ca in QDBusAdaptorConnector::qt_metacall (this=0x2201050, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f36a30b89e0) at qdbusabstractadaptor.cpp:364
#7  0x00007f36d4c52e3f in QMetaObject::activate (sender=0x22012a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f36a30b89e0) at kernel/qobject.cpp:3293
#8  0x00007f36d3412fcf in ?? () from /usr/lib/libdbusmenu-qt.so.2
#9  0x00007f36d340da6e in ?? () from /usr/lib/libdbusmenu-qt.so.2
#10 0x00007f36d340d429 in ?? () from /usr/lib/libdbusmenu-qt.so.2
#11 0x00007f36d4c3f487 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1c9eef0, event=0x7f36a30b90d0) at kernel/qcoreapplication.cpp:819
#12 0x00007f36d55b41fc in QApplicationPrivate::notify_helper (this=0x10a46f0, receiver=0x1c9eef0, e=0x7f36a30b90d0) at kernel/qapplication.cpp:4296
#13 0x00007f36d55ba6fb in QApplication::notify (this=0x7fffd6777840, receiver=0x1c9eef0, e=0x7f36a30b90d0) at kernel/qapplication.cpp:4183
#14 0x00007f36d661a12a in App::notify (this=0x2201050, receiver=0x7f36a30b89e0, event=0x4) at ../../src/App.cpp:927
#15 0x00007f36d4c4006c in QCoreApplication::notifyInternal (this=0x7fffd6777840, receiver=0x1c9eef0, event=0x7f36a30b90d0) at kernel/qcoreapplication.cpp:704
#16 0x00007f36d55ffc11 in QCoreApplication::sendEvent (this=0x1c9eef0, action=0x2e20960) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QWidget::removeAction (this=0x1c9eef0, action=0x2e20960) at kernel/qwidget.cpp:3018
#18 0x00007f36d6737585 in Amarok::TrayIcon::setupMenu (this=0x21b1710) at ../../src/TrayIcon.cpp:357
#19 0x00007f36d64575d2 in Meta::Track::notifyObservers (this=0x2624fa0) at ../../src/meta/Meta.cpp:309
#20 0x00007f36b171ef79 in Meta::SqlTrack::endMetaDataUpdate (this=0x2624fa0) at ../../../../src/collection/sqlcollection/SqlMeta.cpp:613
#21 0x00007f36b16a9be1 in StatisticsCapabilityImpl::endStatisticsUpdate (this=0x7f369474d4f0) at ../../../../src/collection/sqlcollection/CapabilityDelegateImpl.cpp:103
#22 0x00007f36d668b106 in FastForwardWorker::run (this=0x3363650) at ../../src/databaseimporter/amarok14/FastForwardWorker.cpp:304
#23 0x00007f36d11a18dd in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f36a30b9d30, th=0x1f55110, job=0x3363650) at ../../../threadweaver/Weaver/Job.cpp:106
#24 0x00007f36d11a1bde in ThreadWeaver::Job::execute (this=0x3363650, th=0x1f55110) at ../../../threadweaver/Weaver/Job.cpp:135
#25 0x00007f36d11a0bcf in ThreadWeaver::ThreadRunHelper::run (this=0x7f36a30b9dc0, parent=0x1f53ea0, th=0x1f55110) at ../../../threadweaver/Weaver/Thread.cpp:95
#26 0x00007f36d11a1168 in ThreadWeaver::Thread::run (this=0x1f55110) at ../../../threadweaver/Weaver/Thread.cpp:142
#27 0x00007f36d4b4b775 in QThreadPrivate::start (arg=0x1f55110) at thread/qthread_unix.cpp:248
#28 0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#29 0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#30 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f36a28b9710 (LWP 13329)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f36d4b4c72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1f54ce0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1f54ce0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f36d11a0026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f53ea0, th=0x7f36a800c160) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f36d11a26ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f53a70, th=0x7f36a800c160) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f36d11a26c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f53a70, th=0x7f36a800c160) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f36d11a26c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f53a70, th=0x7f36a800c160) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f36d11a0bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f36a28b8dc0, parent=0x1f53ea0, th=0x7f36a800c160) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f36d11a1168 in ThreadWeaver::Thread::run (this=0x7f36a800c160) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f36d4b4b775 in QThreadPrivate::start (arg=0x7f36a800c160) at thread/qthread_unix.cpp:248
#10 0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f369e51f710 (LWP 13330)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f36d4b4c72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1f54ce0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1f54ce0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f36d11a0026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f53ea0, th=0x1db4840) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f36d11a26ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f53a70, th=0x1db4840) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f36d11a26c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f53a70, th=0x1db4840) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f36d11a26c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f53a70, th=0x1db4840) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f36d11a26c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f53a70, th=0x1db4840) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f36d11a0bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f369e51edc0, parent=0x1f53ea0, th=0x1db4840) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f36d11a1168 in ThreadWeaver::Thread::run (this=0x1db4840) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f36d4b4b775 in QThreadPrivate::start (arg=0x1db4840) at thread/qthread_unix.cpp:248
#11 0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f369d51d710 (LWP 13333)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f36d4b4c72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1f54ce0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1f54ce0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f36d11a0026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1f53ea0, th=0x1dd0420) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f36d11a26ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f53a70, th=0x1dd0420) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f36d11a26c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f53a70, th=0x1dd0420) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f36d11a26c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f53a70, th=0x1dd0420) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f36d11a26c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f53a70, th=0x1dd0420) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f36d11a26c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1f53a70, th=0x1dd0420) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f36d11a0bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f369d51cdc0, parent=0x1f53ea0, th=0x1dd0420) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x00007f36d11a1168 in ThreadWeaver::Thread::run (this=0x1dd0420) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x00007f36d4b4b775 in QThreadPrivate::start (arg=0x1dd0420) at thread/qthread_unix.cpp:248
#12 0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#13 0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f369cd1c710 (LWP 13334)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f36d0a0b2a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f36d0ce9220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f36d0a0b2e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f36d0cf72ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f368b4bf710 (LWP 13339)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f36d4b4c72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x28fab38, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x28fab38, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f36d5aba026 in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:203
#4  0x00007f36d4b4b775 in QThreadPrivate::start (arg=0x28fab28) at thread/qthread_unix.cpp:248
#5  0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f3689afb710 (LWP 13340)):
#0  0x00007f36d42fef53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f36cd7de4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f36cd7de8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f36d4c69566 in QEventDispatcherGlib::processEvents (this=0x25c8760, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f36d4c3e992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f36d4c3ed6c in QEventLoop::exec (this=0x7f3689afad70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f36d4b48d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f36d4c1f178 in QInotifyFileSystemWatcherEngine::run (this=0x2517d70) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f36d4b4b775 in QThreadPrivate::start (arg=0x2517d70) at thread/qthread_unix.cpp:248
#9  0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f36890ee710 (LWP 13348)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f36d4b4c72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x29a8da8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x29a8da8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f36d5aba026 in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:203
#4  0x00007f36d4b4b775 in QThreadPrivate::start (arg=0x29a8d98) at thread/qthread_unix.cpp:248
#5  0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f36888ed710 (LWP 13349)):
#0  __pthread_mutex_lock (mutex=0x293e048) at pthread_mutex_lock.c:125
#1  0x00007f36cd7ddb37 in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x00007f36cd7de4c3 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f36cd7de8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f36d4c69566 in QEventDispatcherGlib::processEvents (this=0x2852e80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f36d4c3e992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f36d4c3ed6c in QEventLoop::exec (this=0x7f36888ecd70, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f36d4b48d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f36d4c1f178 in QInotifyFileSystemWatcherEngine::run (this=0x21223c0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f36d4b4b775 in QThreadPrivate::start (arg=0x21223c0) at thread/qthread_unix.cpp:248
#10 0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f3686edd710 (LWP 13358)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f36bb82c93b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f36bb8329dd in ?? () from /usr/lib/libxine.so.1
#3  0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f36866dc710 (LWP 13359)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f36bb82c93b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f36bb833a15 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3682a82710 (LWP 13379)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f36d4b4c72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x30a70d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x30a70d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f36d5aba026 in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:203
#4  0x00007f36d4b4b775 in QThreadPrivate::start (arg=0x30a70c8) at thread/qthread_unix.cpp:248
#5  0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3682281710 (LWP 13380)):
#0  0x00007f36d42fef6b in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=1) at ../sysdeps/unix/sysv/linux/poll.c:89
#1  0x00007f36cd7de4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f36cd7de8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f36d4c69566 in QEventDispatcherGlib::processEvents (this=0x7f369438b800, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f36d4c3e992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f36d4c3ed6c in QEventLoop::exec (this=0x7f3682280d70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f36d4b48d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f36d4c1f178 in QInotifyFileSystemWatcherEngine::run (this=0x30a6de0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f36d4b4b775 in QThreadPrivate::start (arg=0x30a6de0) at thread/qthread_unix.cpp:248
#9  0x00007f36d27559ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f36d430b69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f36d72f77a0 (LWP 13314)):
#0  0x00007f36d42fef53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f36cbe2329a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f36cbe237d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f36cbe23a85 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007f36d38ba6fa in _XSend () from /usr/lib/libX11.so.6
#5  0x00007f36d38bac45 in _XFlush () from /usr/lib/libX11.so.6
#6  0x00007f36d3894478 in XFreePixmap () from /usr/lib/libX11.so.6
#7  0x00007f36d56a98f4 in QX11PixmapData::release (this=0x1dbbf20) at image/qpixmap_x11.cpp:1277
#8  0x00007f36d56aa09a in ~QX11PixmapData (this=0x1dbbf20, __in_chrg=<value optimized out>) at image/qpixmap_x11.cpp:1238
#9  0x00007f36d5697e69 in ~QExplicitlySharedDataPointer (this=0x2944d18, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:159
#10 ~QPixmap (this=0x2944d18, __in_chrg=<value optimized out>) at image/qpixmap.cpp:323
#11 0x00007f36bc0303b5 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#12 0x00007f36bc0303fe in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#13 0x00007f36bc043d27 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#14 0x00007f36d425e262 in __run_exit_handlers (status=1) at exit.c:78
#15 *__GI_exit (status=1) at exit.c:100
#16 0x00007f36c4c8b476 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#17 0x00007f36d6e07288 in KApplication::xioErrhandler (this=0x7fffd6777840, dpy=0x1121300) at ../../kdeui/kernel/kapplication.cpp:408
#18 0x00007f36d38b27fe in _XIOError () from /usr/lib/libX11.so.6
#19 0x00007f36d38ba355 in ?? () from /usr/lib/libX11.so.6
#20 0x00007f36d38bac07 in _XEventsQueued () from /usr/lib/libX11.so.6
#21 0x00007f36d38a338d in XPending () from /usr/lib/libX11.so.6
#22 0x00007f36c4c813a6 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#23 0x00007f36cd7ddeb1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#24 0x00007f36cd7de318 in ?? () from /lib/libglib-2.0.so.0
#25 0x00007f36cd7de8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x00007f36d4c69513 in QEventDispatcherGlib::processEvents (this=0xf59bc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#27 0x00007f36d566446e in QGuiEventDispatcherGlib::processEvents (this=0x7fffd6775a70, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f36d4c3e992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#29 0x00007f36d4c3ed6c in QEventLoop::exec (this=0x7fffd6775fe0, flags=) at kernel/qeventloop.cpp:201
#30 0x00007f36d5a7e09e in QDialog::exec (this=0x31e13a0) at dialogs/qdialog.cpp:546
#31 0x00007f36d61e4161 in CollectionSetup::qt_metacall (this=0x3504760, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at moc_CollectionSetup.cpp:140
#32 0x00007f36d4c52e3f in QMetaObject::activate (sender=0x30a85b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3293
#33 0x00007f36d5c4f5f2 in QAbstractButton::clicked (this=0x7fffd6775a70, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#34 0x00007f36d596986b in QAbstractButtonPrivate::emitClicked (this=0x30a73b0) at widgets/qabstractbutton.cpp:546
#35 0x00007f36d596a70b in QAbstractButtonPrivate::click (this=0x30a73b0) at widgets/qabstractbutton.cpp:539
#36 0x00007f36d596a97c in QAbstractButton::mouseReleaseEvent (this=0x30a85b0, e=0x7fffd6776b90) at widgets/qabstractbutton.cpp:1121
#37 0x00007f36d560a582 in QWidget::event (this=0x30a85b0, event=0x7fffd6776b90) at kernel/qwidget.cpp:7998
#38 0x00007f36d55b422c in QApplicationPrivate::notify_helper (this=0x10a46f0, receiver=0x30a85b0, e=0x7fffd6776b90) at kernel/qapplication.cpp:4300
#39 0x00007f36d55baecb in QApplication::notify (this=0x7fffd6777840, receiver=0x30a85b0, e=0x7fffd6776b90) at kernel/qapplication.cpp:3865
#40 0x00007f36d661a12a in App::notify (this=0x7fffd6775a70, receiver=0x1, event=0xffffffffffffffff) at ../../src/App.cpp:927
#41 0x00007f36d4c4006c in QCoreApplication::notifyInternal (this=0x7fffd6777840, receiver=0x30a85b0, event=0x7fffd6776b90) at kernel/qcoreapplication.cpp:704
#42 0x00007f36d55ba0ae in QCoreApplication::sendEvent (receiver=0x30a85b0, event=0x7fffd6776b90, alienWidget=0x30a85b0, nativeWidget=0x3458cb0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QApplicationPrivate::sendMouseEvent (receiver=0x30a85b0, event=0x7fffd6776b90, alienWidget=0x30a85b0, nativeWidget=0x3458cb0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#44 0x00007f36d5639f65 in QETWidget::translateMouseEvent (this=0x3458cb0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#45 0x00007f36d56388ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffd67774b0) at kernel/qapplication_x11.cpp:3501
#46 0x00007f36d5664882 in x11EventSourceDispatch (s=0x10a7e50, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x00007f36cd7da8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x00007f36cd7de748 in ?? () from /lib/libglib-2.0.so.0
#49 0x00007f36cd7de8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x00007f36d4c69513 in QEventDispatcherGlib::processEvents (this=0xf59bc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#51 0x00007f36d566446e in QGuiEventDispatcherGlib::processEvents (this=0x7fffd6775a70, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007f36d4c3e992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#53 0x00007f36d4c3ed6c in QEventLoop::exec (this=0x7fffd67777e0, flags=) at kernel/qeventloop.cpp:201
#54 0x00007f36d4c42aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#55 0x0000000000408782 in main (argc=1, argv=0x7fffd67797b8) at ../../src/main.cpp:237

Possible duplicates by query: bug 230632, bug 222950, bug 221513, bug 214686, bug 212675.

Reported using DrKonqi
Comment 1 Sven Krohlas 2010-05-04 09:27:04 UTC
Another one of those App::notify crashes no one knows how to fix...
Comment 2 Duncan Clough 2010-05-13 14:28:13 UTC
I did some further testing.

Facts: The crash only happens if I do not stay at the bottom of the import progress information window.  When I scroll up the window or stop at a particular line (ie a small upward scroll) to read something, if I don't quickly move back to the bottom of the import output, the crash will eventually happen. If I make sure that the cursor/window always remains at the bottom of the import output then I experience no crash and the statistics are imported.  Although there are some issues with the actual imported data I don't think this is part of this specific problem.

Suggestions: It feels like delay is the result of some storage space/buffer filling up with the import output and when that space fills up amarok crashes.
Comment 3 Sven Krohlas 2010-05-18 15:30:46 UTC
*** Bug 238040 has been marked as a duplicate of this bug. ***
Comment 4 Sven Krohlas 2010-05-20 17:58:55 UTC
*** Bug 238174 has been marked as a duplicate of this bug. ***
Comment 5 Sven Krohlas 2010-05-24 14:40:10 UTC
*** Bug 238620 has been marked as a duplicate of this bug. ***
Comment 6 Matěj Laitl 2010-06-07 21:24:28 UTC
Duncan, could you also post amarok debug output (~last 2/3 screens of it) prior to the crash?

You can use following command: amarok --debug > amarok-debug.txt 2>&1

I'm investigating the crash and it seems that it is connected to importer directly calling methods of objects living in different threads.
Comment 7 Duncan Clough 2010-06-08 00:54:46 UTC
I haven't yet been able to test this in on the same computer that I used to report this bug, since I didn't want to interfere with my Amarok 1.4.10 installation (Amarok 2 still isn't quite there yet, but getting very close).  I should be able to test this on the weekend.

That said, I tried to recreate this error on another up-to-date Lucid Lynx machine.  I installed Amarok 2.3.0 from the Lucid repository and copied my MySQL database across.  I could not recreate the crash.  The data import (from MySQL to both SQLite and MySQL) also successful - previously there had been errors.

I also tried to recreate this error (earlier today, before your post) on another up-to-date Lucid machine that had a fresh install of Amarok 2.3.1.  I was unable to do so again.  I'd previously experienced this problem on this machine as well, but with an earlier version of Amarok (2.0 or 2.1) when the machine was still running Jaunty.

It seems that the updates (OS and Amarok, if there were any) since I last tried to recreate this problem have fixed it/changed its nature.
Comment 8 Duncan Clough 2010-06-14 22:28:34 UTC
I installed Amarok 2.3.0 from the Ubuntu 10.04 repository on the computer from which I originally reported this bug.  It no longer crashed when importing the Amarok 1.4.10 statistics.  No matter what I try, I can't reproduce this bug any more.  Maybe it was related to something else that has been fixed?

The statistics themselves get imported, but then are lost when a "Collection Folder" is manually selected.  But I'll file another bug report relating to that...
Comment 9 Duncan Clough 2010-06-14 23:00:08 UTC
Created attachment 48012 [details]
Debug output for amarok crashing during statistics import
Comment 10 Duncan Clough 2010-06-14 23:01:46 UTC
Created attachment 48013 [details]
Debug output for amarok crashing during statistics import
Comment 11 Duncan Clough 2010-06-14 23:08:57 UTC
While trying to gather information to report the bug I mentioned above, Amarok crashed while importing statistics.  So the the bug is still there after all.

The trick -> play music while trying to import and it crashes.

Steps:
1. Open Amarok
2. Play Song
3. Settings > Configure Amarok > Collection > Import Statistics
4. Fill out info for MySQL Amarok 1.4 database
5. Click next
6. Crash

I reproduced this crash 4 times in a row. The debug output requested by Matěj Laitl has been attached - it is from the 2nd and 3rd crashes.  The import happens successfully if Amarok isn't playing music.
Comment 12 Myriam Schweingruber 2010-06-15 00:07:30 UTC
Confirmed by duplicates.
Comment 13 Matěj Laitl 2010-06-17 17:52:29 UTC
Duncan, much thanks for your feedback.

The crash seems to be unrelated to the behaviour I've seen. Therefore, unfortunately, I have no clue how to solve it.

Regards,
   Matěj
Comment 14 Myriam Schweingruber 2010-06-23 13:12:15 UTC
*** Bug 242558 has been marked as a duplicate of this bug. ***
Comment 15 jay.flaming 2010-06-23 16:33:58 UTC
I reported bug: https://bugs.kde.org/show_bug.cgi?id=242558, which has been marked as a duplicate of this bug.  I'm getting the same result using the itunes database import option, rather than amarok 1.4, but I don't think it has anything to do with whether I'm playing music or not.  For one thing, it will often import hundreds of tracks before crashing, during which time I'm obviously not starting and stopping playback.  So either mine's not a duplicate of this, or else the play state is not a factor.
Comment 16 Myriam Schweingruber 2010-06-24 10:06:34 UTC
Jay, the backtrace is the same, so the bug is the same.
Comment 17 Myriam Schweingruber 2010-08-09 14:11:52 UTC
Is this still valid for Amarok 2.3.1? I don't have a 1.4 database to test with.
Comment 18 Duncan Clough 2010-08-24 22:26:31 UTC
This was still valid for 2.3.1 when I tested it.  However, I downloaded 2.3.2 Beta 1 (2.3.1.90) earlier this week and have been unable to recreate the bug.

I am able to provide you with a 1.4 MySQL database with should you still want to test, but since you won't have the physical music, there might be some issues.
Comment 19 Myriam Schweingruber 2010-08-25 20:52:56 UTC
I trust you on this, don't worry. Closing as fixed, feel free to reopen if you can reproduce this with 2.3.1.90 or later.