Bug 274875

Summary: Importing iTunes Statistics into Amarok [@ DatabaseImporterDialog::importedTrack]
Product: [Applications] amarok Reporter: Brian Seppanen <seppanen>
Component: Collections/LocalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: crash CC: mitchell, ralf-engels
Priority: NOR    
Version: 2.4.1   
Target Milestone: 2.4.2   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.4.2

Description Brian Seppanen 2011-06-04 01:10:31 UTC
Application: amarok (2.4.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I've taken the itunes database and modified it so that I can import the statistics.   I was able to do this previously with the amarok version in ubuntu 10.04 and 10.10.   I've taken the same database xml file  that worked previously and tried this with the amarok version that comes with ubuntu 11.04. causing the crash after around 17,000 successful entries.   I've also tried this with a more recent xml file and this crashed as well.

The crash can be reproduced every time.

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

Thread 13 (Thread 0x7fb8bbae3700 (LWP 7955)):
#0  0x00007fb8d9208f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb8d0ae432f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007fb8d0ad6116 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007fb8d0ad6749 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007fb8d0ad6800 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007fb8d0ae42df in ?? () from /usr/lib/libpulse.so.0
#6  0x00007fb8cc297a88 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
#7  0x00007fb8d4cd3d8c in start_thread (arg=0x7fb8bbae3700) at pthread_create.c:304
#8  0x00007fb8d921604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fb8b9e18700 (LWP 7956)):
#0  0x00007fb8d9208f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb8d38d5104 in g_main_context_poll (context=0x282cfa0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0x282cfa0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007fb8d38d5639 in g_main_context_iteration (context=0x282cfa0, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007fb8d9b66446 in QEventDispatcherGlib::processEvents (this=0x282ceb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fb8d9b3a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fb8d9b3aabc in QEventLoop::exec (this=0x7fb8b9e17d10, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fb8d9a51924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007fb8d9b1cc2f in QInotifyFileSystemWatcherEngine::run (this=0x282b800) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fb8d9a54175 in QThreadPrivate::start (arg=0x282b800) at thread/qthread_unix.cpp:320
#10 0x00007fb8d4cd3d8c in start_thread (arg=0x7fb8b9e18700) at pthread_create.c:304
#11 0x00007fb8d921604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fb8a9a16700 (LWP 7958)):
#0  0x00007fb8d9208f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb8d38d5104 in g_main_context_poll (context=0x3084af0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0x3084af0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007fb8d38d59f2 in g_main_loop_run (loop=0x3084ad0) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3299
#4  0x00007fb8cb28dc44 in gdbus_shared_thread_func (data=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./gio/gdbusprivate.c:276
#5  0x00007fb8d38fc3e4 in g_thread_create_proxy (data=0x3084bd0) at /build/buildd/glib2.0-2.28.6/./glib/gthread.c:1897
#6  0x00007fb8d4cd3d8c in start_thread (arg=0x7fb8a9a16700) at pthread_create.c:304
#7  0x00007fb8d921604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fb8a2fbf700 (LWP 7959)):
#0  0x00007fb8d9208f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb8d38d5104 in g_main_context_poll (context=0x313db10, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0x313db10, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007fb8d38d5639 in g_main_context_iteration (context=0x313db10, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007fb8d9b66446 in QEventDispatcherGlib::processEvents (this=0x316ced0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fb8d9b3a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fb8d9b3aabc in QEventLoop::exec (this=0x7fb8a2fbed10, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fb8d9a51924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007fb8d9b1cc2f in QInotifyFileSystemWatcherEngine::run (this=0x316f3b0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fb8d9a54175 in QThreadPrivate::start (arg=0x316f3b0) at thread/qthread_unix.cpp:320
#10 0x00007fb8d4cd3d8c in start_thread (arg=0x7fb8a2fbf700) at pthread_create.c:304
#11 0x00007fb8d921604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fb8a25a1700 (LWP 7960)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb8d0069832 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fb8d4cd3d8c in start_thread (arg=0x7fb8a25a1700) at pthread_create.c:304
#3  0x00007fb8d921604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fb89b1a7700 (LWP 7962)):
#0  0x00007fb8d9a99663 in deref (this=0x7fb89b1a5b60, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#1  QString::operator= (this=0x7fb89b1a5b60, other=...) at tools/qstring.cpp:1358
#2  0x00007fb8d9a4a889 in qt_error_string (errorCode=9) at global/qglobal.cpp:2159
#3  0x00007fb8d9b0f031 in QFSFileEnginePrivate::readFdFh (this=0x7fb888000a10, data=0x7fb888088328 "<key>Track ID</key><integer>39247</integer>\r\n\t\t\t<key>Name</key><string>\"You Know What I Mean\"</string>\r\n\t\t\t<key>Artist</key><string>\"Goo Goo Dolls\"</string>\r\n\t\t\t<key>Album Artist</key><string>\"Goo Goo"..., len=8192) at io/qfsfileengine.cpp:712
#4  0x00007fb8d9b14fae in QFSFileEnginePrivate::nativeRead (this=0x7fb888000a10, data=0x7fb888088328 "<key>Track ID</key><integer>39247</integer>\r\n\t\t\t<key>Name</key><string>\"You Know What I Mean\"</string>\r\n\t\t\t<key>Artist</key><string>\"Goo Goo Dolls\"</string>\r\n\t\t\t<key>Album Artist</key><string>\"Goo Goo"..., len=8192) at io/qfsfileengine_unix.cpp:382
#5  0x00007fb8d9ad1966 in QFile::readData (this=<value optimized out>, data=0x7fb888088328 "<key>Track ID</key><integer>39247</integer>\r\n\t\t\t<key>Name</key><string>\"You Know What I Mean\"</string>\r\n\t\t\t<key>Artist</key><string>\"Goo Goo Dolls\"</string>\r\n\t\t\t<key>Album Artist</key><string>\"Goo Goo"..., len=8192) at io/qfile.cpp:1542
#6  0x00007fb8d9ad6b50 in QIODevice::read (this=0x7fb8887a8730, data=0x7fb888088328 "<key>Track ID</key><integer>39247</integer>\r\n\t\t\t<key>Name</key><string>\"You Know What I Mean\"</string>\r\n\t\t\t<key>Artist</key><string>\"Goo Goo Dolls\"</string>\r\n\t\t\t<key>Album Artist</key><string>\"Goo Goo"..., maxSize=8192) at io/qiodevice.cpp:858
#7  0x00007fb8d9b82d63 in QXmlStreamReaderPrivate::getChar_helper (this=0x4dbb500) at xml/qxmlstream.cpp:1478
#8  0x00007fb8d9b930f8 in getChar (this=0x4dbb500, prefix=0x4e130d8) at xml/qxmlstream.cpp:937
#9  QXmlStreamReaderPrivate::fastScanName (this=0x4dbb500, prefix=0x4e130d8) at xml/qxmlstream.cpp:1294
#10 0x00007fb8d9b8e994 in QXmlStreamReaderPrivate::parse (this=0x4dbb500) at xml/qxmlstream_p.h:1920
#11 0x00007fb8d9b91cc2 in QXmlStreamReader::readNext (this=<value optimized out>) at xml/qxmlstream.cpp:607
#12 0x00007fb8d9b91d6d in QXmlStreamReader::readNext (this=<value optimized out>) at xml/qxmlstream.cpp:617
#13 0x00007fb8db80dc09 in ITunesImporterWorker::readTrackElement (this=0x5968a70) at ../../src/databaseimporter/itunes/ITunesImporterWorker.cpp:50
#14 0x00007fb8db810ebe in ITunesImporterWorker::run (this=0x5968a70) at ../../src/databaseimporter/itunes/ITunesImporterWorker.cpp:175
#15 0x00007fb8d6c86c21 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fb89b1a6ce0, th=0x2fef880, job=0x5968a70) at ../../../threadweaver/Weaver/Job.cpp:106
#16 0x00007fb8d6c86d4c in ThreadWeaver::Job::execute (this=0x5968a70, th=0x2fef880) at ../../../threadweaver/Weaver/Job.cpp:135
#17 0x00007fb8d6c8650f in ThreadWeaver::ThreadRunHelper::run (this=0x7fb89b1a6d60, parent=0x33682f0, th=0x2fef880) at ../../../threadweaver/Weaver/Thread.cpp:95
#18 0x00007fb8d6c865cb in ThreadWeaver::Thread::run (this=0x2fef880) at ../../../threadweaver/Weaver/Thread.cpp:142
#19 0x00007fb8d9a54175 in QThreadPrivate::start (arg=0x2fef880) at thread/qthread_unix.cpp:320
#20 0x00007fb8d4cd3d8c in start_thread (arg=0x7fb89b1a7700) at pthread_create.c:304
#21 0x00007fb8d921604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#22 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fb89a79b700 (LWP 7963)):
#0  size (s1=..., s2=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:115
#1  operator== (s1=..., s2=...) at tools/qstring.cpp:7993
#2  0x00007fb8db80dc69 in operator== (this=0x32e1680) at /usr/include/qt4/QtCore/qstring.h:1178
#3  qStringComparisonHelper (this=0x32e1680) at /usr/include/qt4/QtCore/qstring.h:1200
#4  operator== (this=0x32e1680) at /usr/include/qt4/QtCore/qstring.h:1208
#5  ITunesImporterWorker::readTrackElement (this=0x32e1680) at ../../src/databaseimporter/itunes/ITunesImporterWorker.cpp:52
#6  0x00007fb8db810ebe in ITunesImporterWorker::run (this=0x32e1680) at ../../src/databaseimporter/itunes/ITunesImporterWorker.cpp:175
#7  0x00007fb8d6c86c21 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fb89a79ace0, th=0x32f1ba0, job=0x32e1680) at ../../../threadweaver/Weaver/Job.cpp:106
#8  0x00007fb8d6c86d4c in ThreadWeaver::Job::execute (this=0x32e1680, th=0x32f1ba0) at ../../../threadweaver/Weaver/Job.cpp:135
#9  0x00007fb8d6c8650f in ThreadWeaver::ThreadRunHelper::run (this=0x7fb89a79ad60, parent=0x33682f0, th=0x32f1ba0) at ../../../threadweaver/Weaver/Thread.cpp:95
#10 0x00007fb8d6c865cb in ThreadWeaver::Thread::run (this=0x32f1ba0) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x00007fb8d9a54175 in QThreadPrivate::start (arg=0x32f1ba0) at thread/qthread_unix.cpp:320
#12 0x00007fb8d4cd3d8c in start_thread (arg=0x7fb89a79b700) at pthread_create.c:304
#13 0x00007fb8d921604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fb899f9a700 (LWP 7964)):
#0  0x00007fb8d91a82a6 in _int_free (av=0x7fb880000020, p=0x7fb880b6b2c0) at malloc.c:4886
#1  0x00007fb8d91ac8e3 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#2  0x00007fb8d9a990fc in QString::free (d=0x7fb880b6b2d0) at tools/qstring.cpp:1185
#3  0x00007fb8db80e045 in ~QString (this=0x4ce0bb0) at /usr/include/qt4/QtCore/qstring.h:883
#4  qStringComparisonHelper (this=0x4ce0bb0) at /usr/include/qt4/QtCore/qstring.h:1200
#5  operator== (this=0x4ce0bb0) at /usr/include/qt4/QtCore/qstring.h:1208
#6  ITunesImporterWorker::readTrackElement (this=0x4ce0bb0) at ../../src/databaseimporter/itunes/ITunesImporterWorker.cpp:52
#7  0x00007fb8db810ebe in ITunesImporterWorker::run (this=0x4ce0bb0) at ../../src/databaseimporter/itunes/ITunesImporterWorker.cpp:175
#8  0x00007fb8d6c86c21 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fb899f99ce0, th=0x32f0e80, job=0x4ce0bb0) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0x00007fb8d6c86d4c in ThreadWeaver::Job::execute (this=0x4ce0bb0, th=0x32f0e80) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0x00007fb8d6c8650f in ThreadWeaver::ThreadRunHelper::run (this=0x7fb899f99d60, parent=0x33682f0, th=0x32f0e80) at ../../../threadweaver/Weaver/Thread.cpp:95
#11 0x00007fb8d6c865cb in ThreadWeaver::Thread::run (this=0x32f0e80) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00007fb8d9a54175 in QThreadPrivate::start (arg=0x32f0e80) at thread/qthread_unix.cpp:320
#13 0x00007fb8d4cd3d8c in start_thread (arg=0x7fb899f9a700) at pthread_create.c:304
#14 0x00007fb8d921604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb899799700 (LWP 7965)):
#0  QUtf8::convertToUnicode (chars=<value optimized out>, len=3, state=0x0) at codecs/qutfcodec.cpp:189
#1  0x00007fb8d9b6f1c1 in QUtf8Codec::convertToUnicode (this=<value optimized out>, chars=<value optimized out>, len=<value optimized out>, state=<value optimized out>) at codecs/qutfcodec.cpp:532
#2  0x00007fb8d9a9a96c in toUnicode (str=<value optimized out>, size=<value optimized out>) at ../../include/QtCore/../../src/corelib/codecs/qtextcodec.h:116
#3  QString::fromAscii_helper (str=<value optimized out>, size=<value optimized out>) at tools/qstring.cpp:3801
#4  0x00007fb8d9a9a9fe in QString::fromAscii (str=<value optimized out>, size=<value optimized out>) at tools/qstring.cpp:3909
#5  0x00007fb8db80dcbf in qStringComparisonHelper (this=0x5280960) at /usr/include/qt4/QtCore/qstring.h:1200
#6  operator== (this=0x5280960) at /usr/include/qt4/QtCore/qstring.h:1208
#7  ITunesImporterWorker::readTrackElement (this=0x5280960) at ../../src/databaseimporter/itunes/ITunesImporterWorker.cpp:57
#8  0x00007fb8db810ebe in ITunesImporterWorker::run (this=0x5280960) at ../../src/databaseimporter/itunes/ITunesImporterWorker.cpp:175
#9  0x00007fb8d6c86c21 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fb899798ce0, th=0x7fb8a4006260, job=0x5280960) at ../../../threadweaver/Weaver/Job.cpp:106
#10 0x00007fb8d6c86d4c in ThreadWeaver::Job::execute (this=0x5280960, th=0x7fb8a4006260) at ../../../threadweaver/Weaver/Job.cpp:135
#11 0x00007fb8d6c8650f in ThreadWeaver::ThreadRunHelper::run (this=0x7fb899798d60, parent=0x33682f0, th=0x7fb8a4006260) at ../../../threadweaver/Weaver/Thread.cpp:95
#12 0x00007fb8d6c865cb in ThreadWeaver::Thread::run (this=0x7fb8a4006260) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0x00007fb8d9a54175 in QThreadPrivate::start (arg=0x7fb8a4006260) at thread/qthread_unix.cpp:320
#14 0x00007fb8d4cd3d8c in start_thread (arg=0x7fb899799700) at pthread_create.c:304
#15 0x00007fb8d921604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb898797700 (LWP 7968)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb8d55cf2a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fb8d58e8180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fb8d55cf2d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fb8d58f6254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fb8d4cd3d8c in start_thread (arg=0x7fb898797700) at pthread_create.c:304
#4  0x00007fb8d921604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb8aa217700 (LWP 8080)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb8d9a5482b in wait (this=<value optimized out>, mutex=0x598b248, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x598b248, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb8da9f20e4 in QFileInfoGatherer::run (this=0x598b238) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007fb8d9a54175 in QThreadPrivate::start (arg=0x598b238) at thread/qthread_unix.cpp:320
#5  0x00007fb8d4cd3d8c in start_thread (arg=0x7fb8aa217700) at pthread_create.c:304
#6  0x00007fb8d921604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb88d182700 (LWP 8081)):
#0  0x00007fb8d9208f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb8d38d5104 in g_main_context_poll (context=0x69cb5c0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0x69cb5c0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007fb8d38d5639 in g_main_context_iteration (context=0x69cb5c0, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007fb8d9b66446 in QEventDispatcherGlib::processEvents (this=0x4260750, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fb8d9b3a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fb8d9b3aabc in QEventLoop::exec (this=0x7fb88d181d10, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fb8d9a51924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007fb8d9b1cc2f in QInotifyFileSystemWatcherEngine::run (this=0x598aa00) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fb8d9a54175 in QThreadPrivate::start (arg=0x598aa00) at thread/qthread_unix.cpp:320
#10 0x00007fb8d4cd3d8c in start_thread (arg=0x7fb88d182700) at pthread_create.c:304
#11 0x00007fb8d921604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb8dc7e7840 (LWP 7952)):
[KCrash Handler]
#6  0x00007fb8db81a173 in DatabaseImporterDialog::importedTrack (this=0x50692d0, track=...) at ../../src/dialogs/DatabaseImporterDialog.cpp:201
#7  0x00007fb8db81c42d in DatabaseImporterDialog::qt_metacall (this=0x50692d0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff80b5f110) at ./DatabaseImporterDialog.moc:91
#8  0x00007fb8d9b505f8 in QMetaObject::activate (sender=0x45b4340, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff80b5f110) at kernel/qobject.cpp:3287
#9  0x00007fb8db12d1d5 in DatabaseImporter::trackAdded (this=<value optimized out>, _t1=<value optimized out>) at moc_DatabaseImporter.cpp:140
#10 0x00007fb8db13d93b in DatabaseImporter::qt_metacall (this=0x45b4340, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fb8a42b52e0) at moc_DatabaseImporter.cpp:96
#11 0x00007fb8db80d728 in ITunesImporter::qt_metacall (this=0x45b4340, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./ITunesImporter.moc:67
#12 0x00007fb8d9b4f49a in QObject::event (this=0x45b4340, e=<value optimized out>) at kernel/qobject.cpp:1226
#13 0x00007fb8da4fa9e4 in QApplicationPrivate::notify_helper (this=0x2217b80, receiver=0x45b4340, e=0x7fb8a5592140) at kernel/qapplication.cpp:4462
#14 0x00007fb8da4ff3aa in QApplication::notify (this=<value optimized out>, receiver=0x45b4340, e=0x7fb8a5592140) at kernel/qapplication.cpp:4341
#15 0x00007fb8dc20e866 in KApplication::notify (this=0x7fff80b612a0, receiver=0x45b4340, event=0x7fb8a5592140) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007fb8d9b3b49c in QCoreApplication::notifyInternal (this=0x7fff80b612a0, receiver=0x45b4340, event=0x7fb8a5592140) at kernel/qcoreapplication.cpp:731
#17 0x00007fb8d9b3ec25 in sendEvent (receiver=0x0, event_type=0, data=0x2066bc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2066bc0) at kernel/qcoreapplication.cpp:1372
#19 0x00007fb8d9b66253 in sendPostedEvents (s=0x22173a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#20 postEventSourceDispatch (s=0x22173a0) at kernel/qeventdispatcher_glib.cpp:277
#21 0x00007fb8d38d4bcd in g_main_dispatch (context=0x2219900) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#22 g_main_context_dispatch (context=0x2219900) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#23 0x00007fb8d38d53a8 in g_main_context_iterate (context=0x2219900, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#24 0x00007fb8d38d5639 in g_main_context_iteration (context=0x2219900, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#25 0x00007fb8d9b663ef in QEventDispatcherGlib::processEvents (this=0x20667c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#26 0x00007fb8da5a1dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007fb8d9b3a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007fb8d9b3aabc in QEventLoop::exec (this=0x7fff80b5fb70, flags=...) at kernel/qeventloop.cpp:201
#29 0x00007fb8da9b98e6 in QDialog::exec (this=0x50692d0) at dialogs/qdialog.cpp:552
#30 0x00007fb8db12d051 in CollectionSetup::qt_metacall (this=0x43abb50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at moc_CollectionSetup.cpp:140
#31 0x00007fb8d9b505f8 in QMetaObject::activate (sender=0x598a710, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff80b5fcc0) at kernel/qobject.cpp:3287
#32 0x00007fb8dab70252 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#33 0x00007fb8da8b983e in QAbstractButtonPrivate::emitClicked (this=0x456bbb0) at widgets/qabstractbutton.cpp:546
#34 0x00007fb8da8badbb in QAbstractButtonPrivate::click (this=0x456bbb0) at widgets/qabstractbutton.cpp:539
#35 0x00007fb8da8bb02c in QAbstractButton::mouseReleaseEvent (this=0x598a710, e=0x7fff80b60600) at widgets/qabstractbutton.cpp:1121
#36 0x00007fb8da54bcb8 in QWidget::event (this=0x598a710, event=0x7fff80b60600) at kernel/qwidget.cpp:8259
#37 0x00007fb8da4fa9e4 in QApplicationPrivate::notify_helper (this=0x2217b80, receiver=0x598a710, e=0x7fff80b60600) at kernel/qapplication.cpp:4462
#38 0x00007fb8da4ffdb3 in QApplication::notify (this=<value optimized out>, receiver=0x598a710, e=0x7fff80b60600) at kernel/qapplication.cpp:4023
#39 0x00007fb8dc20e866 in KApplication::notify (this=0x7fff80b612a0, receiver=0x598a710, event=0x7fff80b60600) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007fb8d9b3b49c in QCoreApplication::notifyInternal (this=0x7fff80b612a0, receiver=0x598a710, event=0x7fff80b60600) at kernel/qcoreapplication.cpp:731
#41 0x00007fb8da4fba0d in sendEvent (receiver=0x598a710, event=0x7fff80b60600, alienWidget=0x598a710, nativeWidget=0x43ae3f0, buttonDown=0x7fb8dafdb218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QApplicationPrivate::sendMouseEvent (receiver=0x598a710, event=0x7fff80b60600, alienWidget=0x598a710, nativeWidget=0x43ae3f0, buttonDown=0x7fb8dafdb218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#43 0x00007fb8da57b600 in QETWidget::translateMouseEvent (this=0x43ae3f0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4556
#44 0x00007fb8da57a04a in QApplication::x11ProcessEvent (this=0x7fff80b612a0, event=0x7fff80b60f50) at kernel/qapplication_x11.cpp:3678
#45 0x00007fb8da5a2162 in x11EventSourceDispatch (s=0x221a470, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007fb8d38d4bcd in g_main_dispatch (context=0x2219900) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#47 g_main_context_dispatch (context=0x2219900) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#48 0x00007fb8d38d53a8 in g_main_context_iterate (context=0x2219900, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#49 0x00007fb8d38d5639 in g_main_context_iteration (context=0x2219900, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#50 0x00007fb8d9b663ef in QEventDispatcherGlib::processEvents (this=0x20667c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#51 0x00007fb8da5a1dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007fb8d9b3a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#53 0x00007fb8d9b3aabc in QEventLoop::exec (this=0x7fff80b61250, flags=...) at kernel/qeventloop.cpp:201
#54 0x00007fb8d9b3eecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#55 0x0000000000409c51 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../src/main.cpp:268

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-06-04 11:19:35 UTC
Could you please upgrade to Amarok 2.4.1 and try again?
Comment 2 Brian Seppanen 2011-06-06 05:34:23 UTC
On Sat, 2011-06-04 at 11:19 +0200, Myriam Schweingruber wrote:
> https://bugs.kde.org/show_bug.cgi?id=274875
> 
> 
> Myriam Schweingruber <myriam@kde.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEEDSINFO
>                  CC|                            |mitchell@kde.org,
>                    |                            |ralf.engels@nokia.com
>           Component|general                     |Collection
>          Resolution|                            |WAITINGFORINFO
>             Summary|Importing iTunes Statistics |Importing iTunes Statistics
>                    |into Amarok                 |into Amarok [@
>                    |                            |DatabaseImporterDialog::imp
>                    |                            |ortedTrack]
> 
> 
> 
> 
> --- Comment #1 from Myriam Schweingruber <myriam kde org>  2011-06-04 11:19:35 ---
> Could you please upgrade to Amarok 2.4.1 and try again?
> 
upgraded to 2.4.1 from launchpad backports but still encountered the
same crash.
Comment 3 Myriam Schweingruber 2011-06-06 12:57:40 UTC
Thank you for the feedback.
Comment 4 Ralf Engels 2011-06-06 14:39:46 UTC
Will commit the fix later today.