Bug 277913 - Clicking back and forth trying to import from Amarok 1.4 MySQL DB led to a crash
Summary: Clicking back and forth trying to import from Amarok 1.4 MySQL DB led to a crash
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Local (show other bugs)
Version: 2.4.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.4.2
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-16 19:43 UTC by Di.Ego.R Kobylkin
Modified: 2011-07-19 18:56 UTC (History)
2 users (show)

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 Di.Ego.R Kobylkin 2011-07-16 19:43:01 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-10-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
When I tried to import the existing Amarok 1.4 MySQL DB current Amarok app presented following Error: "Could not execute import query: " in the import pop-up window. Trying to understand what exactly is going on as all credentials should be correct I was clicking back and forth and changing the credentials in the hope to get a more informative error message. Then Amarok crashed. As I was running it with --debug flag this is wat was visible in the log:
amarok: BEGIN: void DatabaseImporterDialog::pageChanged(KPageWidgetItem*, KPageWidgetItem*) 
amarok:   BEGIN: void DatabaseImporterDialog::selectImporter() 
amarok:     BEGIN: virtual ITunesImporter::~ITunesImporter() 
amarok:     END__: virtual ITunesImporter::~ITunesImporter() [Took: 0s] 
amarok:   END__: void DatabaseImporterDialog::selectImporter() [Took: 0.001s] 
amarok: END__: void DatabaseImporterDialog::pageChanged(KPageWidgetItem*, KPageWidgetItem*) [Took: 0.001s] 
amarok: BEGIN: void DatabaseImporterDialog::pageChanged(KPageWidgetItem*, KPageWidgetItem*) 
amarok:   BEGIN: virtual void DatabaseImporter::startImporting() 
amarok:     BEGIN: virtual void FastForwardImporter::import() 
amarok:       Collection folder  "/media/RAID/Content/Music_By_Rating"  => collection location  "Local Collection" 
amarok:     END__: virtual void FastForwardImporter::import() [Took: 0s] 
amarok:   END__: virtual void DatabaseImporter::startImporting() [Took: 0s] 
amarok:   BEGIN: virtual void FastForwardWorker::run() 
amarok:     BEGIN: void FastForwardWorker::setupDatabaseConnection() 
amarok:     END__: void DatabaseImporterDialog::pageChanged(KPageWidgetItem*, KPageWidgetItem*) [Took: 0s] 
QSqlDatabasePrivate::addDatabase: duplicate connection name 'qt_sql_default_connection', old connection removed.
amarok:   END__: void FastForwardWorker::setupDatabaseConnection() [Took: 0s] 
amarok:   "Could not execute import query:  " 
amarok: END__: virtual void FastForwardWorker::run() [Took: 0.037s] 
amarok: BEGIN: void FastForwardImporter::finishUp() 
amarok: END__: void FastForwardImporter::finishUp() [Took: 0s] 
amarok: BEGIN: virtual FastForwardImporter::~FastForwardImporter() 
amarok: END__: virtual FastForwardImporter::~FastForwardImporter() [Took: 0s] 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x2a04f2f
*** glibc detected *** amarok: corrupted double-linked list: 0x00000000027bafc0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7808a)[0x7f6bbf51c08a]
/lib/x86_64-linux-gnu/libc.so.6(+0x79472)[0x7f6bbf51d472]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x6e)[0x7f6bbf52031e]
/usr/lib/libQtGui.so.4(+0x210edf)[0x7f6bc08c5edf]
/usr/lib/libQtGui.so.4(+0x34962b)[0x7f6bc09fe62b]
/usr/lib/libQtGui.so.4(+0x349c9c)[0x7f6bc09fec9c]
/usr/lib/libQtGui.so.4(_ZN7QRegionpLERKS_+0x1df)[0x7f6bc0a024cf]
/usr/lib/libQtGui.so.4(+0x3cdf21)[0x7f6bc0a82f21]
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate16syncBackingStoreEv+0x80)[0x7f6bc08b2f60]
/usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0xb64)[0x7f6bc08c0194]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb4)[0x7f6bc086e9f4]
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x11a)[0x7f6bc08733ba]
/usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x36)[0x7f6bc2586866]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7f6bbfeaf49c]
/usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x2c5)[0x7f6bbfeb2c25]
/usr/lib/libQtCore.so.4(+0x186253)[0x7f6bbfeda253]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x1dd)[0x7f6bb9c48bcd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x433a8)[0x7f6bb9c493a8]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x69)[0x7f6bb9c49639]
/usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x6f)[0x7f6bbfeda3ef]
/usr/lib/libQtGui.so.4(+0x2634de)[0x7f6bc09184de]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7f6bbfeae882]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xdc)[0x7f6bbfeaeabc]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xab)[0x7f6bbfeb2ecb]
amarok[0x409c51]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7f6bbf4c2eff]
amarok[0x4019a9]
======= Memory map: ========
00400000-00412000 r-xp 00000000 08:64 150802                             /usr/bin/amarok
00611000-00612000 r--p 00011000 08:64 150802                             /usr/bin/amarok
00612000-00613000 rw-p 00012000 08:64 150802                             /usr/bin/amarok
01246000-02974000 rw-p 00000000 00:00 0                                  [heap]
7f6b77890000-7f6b77a4d000 r-xp 00000000 08:64 150774                     /usr/lib/libmysqlclient_r.so.16.0.0
7f6b77a4d000-7f6b77c4c000 ---p 001bd000 08:64 150774                     /usr/lib/libmysqlclient_r.so.16.0.0
7f6b77c4c000-7f6b77c51000 r--p 001bc000 08:64 150774                     /usr/lib/libmysqlclient_r.so.16.0.0
7f6b77c51000-7f6b77c9b000 rw-p 001c1000 08:64 150774                     /usr/lib/libmysqlclient_r.so.16.0.0
7f6b77c9b000-7f6b77c9c000 rw-p 00000000 00:00 0 
7f6b77c9c000-7f6b77cad000 r-xp 00000000 08:64 137839                     /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so
7f6b77cad000-7f6b77eac000 ---p 00011000 08:64 137839                     /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so
7f6b77eac000-7f6b77ead000 r--p 00010000 08:64 137839                     /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so
7f6b77ead000-7f6b77eae000 rw-p 00011000 08:64 137839                     /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so
7f6b77eae000-7f6b77eb7000 r-xp 00000000 08:64 137788                     /usr/lib/qt4/plugins/iconengines/libqsvgicon.so
7f6b77eb7000-7f6b780b6000 ---p 00009000 08:64 137788                     /usr/lib/qt4/plugins/iconengines/libqsvgicon.so
7f6b780b6000-7f6b780b7000 r--p 00008000 08:64 137788                     /usr/lib/qt4/plugins/iconengines/libqsvgicon.so
7f6b780b7000-7f6b780b8000 rw-p 00009000 08:64 137788                     /usr/lib/qt4/plugins/iconengines/libqsvgicon.so
7f6b780b8000-7f6b780b9000 ---p 00000000 00:00 0 
7f6b780b9000-7f6b788b9000 rw-p 00000000 00:00 0 
7f6b788b9000-7f6b78e9a000 r--p 00000000 08:64 530028                     /usr/share/icons/hicolor/icon-theme.cache
7f6b78e9a000-7f6b7b144000 r--p 00000000 08:64 538341                     /usr/share/icons/gnome/icon-theme.cache
7f6b7b144000-7f6b7b22e000 r--p 00000000 08:64 538213                     /usr/share/icons/Humanity/icon-theme.cache
7f6b7b22e000-7f6b7b235000 r-xp 00000000 08:64 134941                     /usr/lib/libfam.so.0.0.0
7f6b7b235000-7f6b7b434000 ---p 00007000 08:64 134941                     /usr/lib/libfam.so.0.0.0
7f6b7b434000-7f6b7b435000 r--p 00006000 08:64 134941                     /usr/lib/libfam.so.0.0.0
7f6b7b435000-7f6b7b436000 rw-p 00007000 08:64 134941                     /usr/lib/libfam.so.0.0.0
7f6b7b436000-7f6b7b444000 r-xp 00000000 08:64 136999                     /usr/lib/gnome-vfs-2.0/modules/libfile.so
7f6b7b444000-7f6b7b643000 ---p 0000e000 08:64 136999                     /usr/lib/gnome-vfs-2.0/modules/libfile.so
7f6b7b643000-7f6b7b644000 r--p 0000d000 08:64 136999                     /usr/lib/gnome-vfs-2.0/modules/libfile.so
7f6b7b644000-7f6b7b645000 rw-p 0000e000 08:64 136999                     /usr/lib/gnome-vfs-2.0/modules/libfile.so
7f6b7b645000-7f6b7b646000 ---p 00000000 00:00 0 
7f6b7b646000-7f6b7be46000 rw-p 00000000 00:00 0 
7f6b7be46000-7f6b80ebf000 rw-s 00000000 00:14 17572                      /var/tmp/kdecache-diego/plasma_theme_Amarok-Mockup.kcache
7f6b80ebf000-7f6b80f40000 r--p 00000000 08:64 798361                     /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf
7f6b80f40000-7f6b810c0000 rw-p 00000000 00:00 0 
7f6b810e6000-7f6b81880000 rw-p 00000000 00:00 0 
7f6b818b2000-7f6b8193e000 r-xp 00000000 08:64 150789                     /usr/lib/qt4/plugins/script/libqtscript_xml.so.1.0.0
7f6b8193e000-7f6b81b3e000 ---p 0008c000 08:64 150789                     /usr/lib/qt4/plugins/script/libqtscript_xml.so.1.0.0
7f6b81b3e000-7f6b81b41000 r--p 0008c000 08:64 150789                     /usr/lib/qt4/plugins/script/libqtscript_xml.so.1.0.0
7f6b81b41000-7f6b81b43000 rw-p 0008f000 08:64 150789                     /usr/lib/qt4/plugins/script/libqtscript_xml.so.1.0.0
7f6b81b43000-7f6b81c0a000 r-xp 00000000 08:64 150797                     /usr/lib/qt4/plugins/script/libqtscript_uitools.so.1.0.0
7f6b81c0a000-7f6b81e09000 ---p 000c7000 08:64 150797                     /usr/lib/qt4/plugins/script/libqtscript_uitools.so.1.0.0
7f6b81e09000-7f6b81e0b000 r--p 000c6000 08:64 150797                     /usr/lib/qt4/plugins/script/libqtscript_uitools.so.1.0.0
7f6b81e0b000-7f6b81e0e000 rw-p 000c8000 08:64 150797                     /usr/lib/qt4/plugins/script/libqtscript_uitools.so.1.0.0
7f6b81e0e000-7f6b81e0f000 rw-p 00000000 00:00 0 
7f6b81e0f000-7f6b81e91000 r-xp 00000000 08:64 150793                     /usr/lib/qt4/plugins/script/libqtscript_sql.so.1.0.0KCrash: Application 'amarok' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/diego/.kde/socket-barmaglot/kdeinit4__0
QSocketNotifier: Invalid socket 35 and type 'Read', disabling...
QSocketNotifier: Invalid socket 49 and type 'Read', disabling...

-- Backtrace:
Application: Amarok (amarok), signal: Aborted
[Current thread is 1 (Thread 0x7f6bc2b76840 (LWP 8455))]

Thread 13 (Thread 0x7f6bae3a3700 (LWP 8456)):
#0  0x00007f6bbf57cf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6bb9c49104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6bb9c499f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6bb1601c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f6bb9c703e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6bbb047d8c in start_thread (arg=0x7f6bae3a3700) at pthread_create.c:304
#6  0x00007f6bbf58a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f6b960ed700 (LWP 8460)):
#0  0x00007f6bbf57cf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6bb6e5832f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f6bb6e4a116 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f6bb6e4a749 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f6bb6e4a800 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f6bb6e582df in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f6bb260ba88 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
#7  0x00007f6bbb047d8c in start_thread (arg=0x7f6b960ed700) at pthread_create.c:304
#8  0x00007f6bbf58a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f6b94996700 (LWP 8461)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f6bbf52280f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f6bbf5208d8 in __libc_free (mem=0x7f6bbf8331c0) at malloc.c:3736
#3  0x00007f6bbfed9e57 in socketNotifierSourceCheck (source=0x1ab9080) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f6bb9c48854 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6bb9c49122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f6bb9c49639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f6bbfeda446 in QEventDispatcherGlib::processEvents (this=0x1a6d410, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f6bbfeae882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f6bbfeaeabc in QEventLoop::exec (this=0x7f6b94995d10, flags=...) at kernel/qeventloop.cpp:201
#10 0x00007f6bbfdc5924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#11 0x00007f6bbfe90c2f in QInotifyFileSystemWatcherEngine::run (this=0x1ab7530) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f6bbfdc8175 in QThreadPrivate::start (arg=0x1ab7530) at thread/qthread_unix.cpp:320
#13 0x00007f6bbb047d8c in start_thread (arg=0x7f6b94996700) at pthread_create.c:304
#14 0x00007f6bbf58a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f6b895d9700 (LWP 8465)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6bbfdc882b in wait (this=<value optimized out>, mutex=0x2110900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2110900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6bbcff90b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ea9200, th=0x21856a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6bbcffb723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ea9630, th=0x21856a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6bbcffb73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ea9630, th=0x21856a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f6bbcffb73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ea9630, th=0x21856a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f6bbcffb73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ea9630, th=0x21856a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f6bbcffa53f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6b895d8d60, parent=0x1ea9200, th=0x21856a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f6bbcffa5cb in ThreadWeaver::Thread::run (this=0x21856a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f6bbfdc8175 in QThreadPrivate::start (arg=0x21856a0) at thread/qthread_unix.cpp:320
#11 0x00007f6bbb047d8c in start_thread (arg=0x7f6b895d9700) at pthread_create.c:304
#12 0x00007f6bbf58a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f6b88bcd700 (LWP 8466)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6bbfdc882b in wait (this=<value optimized out>, mutex=0x2110900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2110900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6bbcff90b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ea9200, th=0x2046bc0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6bbcffb723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ea9630, th=0x2046bc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6bbcffb73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ea9630, th=0x2046bc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f6bbcffa53f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6b88bccd60, parent=0x1ea9200, th=0x2046bc0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f6bbcffa5cb in ThreadWeaver::Thread::run (this=0x2046bc0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f6bbfdc8175 in QThreadPrivate::start (arg=0x2046bc0) at thread/qthread_unix.cpp:320
#9  0x00007f6bbb047d8c in start_thread (arg=0x7f6b88bcd700) at pthread_create.c:304
#10 0x00007f6bbf58a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f6b883cc700 (LWP 8467)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6bbfdc882b in wait (this=<value optimized out>, mutex=0x2110900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2110900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6bbcff90b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ea9200, th=0x7f6ba005f910) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6bbcffb723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ea9630, th=0x7f6ba005f910) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6bbcffa53f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6b883cbd60, parent=0x1ea9200, th=0x7f6ba005f910) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f6bbcffa5cb in ThreadWeaver::Thread::run (this=0x7f6ba005f910) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f6bbfdc8175 in QThreadPrivate::start (arg=0x7f6ba005f910) at thread/qthread_unix.cpp:320
#8  0x00007f6bbb047d8c in start_thread (arg=0x7f6b883cc700) at pthread_create.c:304
#9  0x00007f6bbf58a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f6b87bcb700 (LWP 8468)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6bbfdc882b in wait (this=<value optimized out>, mutex=0x2110900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2110900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6bbcff90b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ea9200, th=0x21786d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6bbcffb723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ea9630, th=0x21786d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6bbcffb73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ea9630, th=0x21786d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f6bbcffb73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ea9630, th=0x21786d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f6bbcffb73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ea9630, th=0x21786d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f6bbcffa53f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6b87bcad60, parent=0x1ea9200, th=0x21786d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f6bbcffa5cb in ThreadWeaver::Thread::run (this=0x21786d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f6bbfdc8175 in QThreadPrivate::start (arg=0x21786d0) at thread/qthread_unix.cpp:320
#11 0x00007f6bbb047d8c in start_thread (arg=0x7f6b87bcb700) at pthread_create.c:304
#12 0x00007f6bbf58a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f6b86d91700 (LWP 8469)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6bb63dd832 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f6bbb047d8c in start_thread (arg=0x7f6b86d91700) at pthread_create.c:304
#3  0x00007f6bbf58a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f6b855b0700 (LWP 8470)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f6bbf52280f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f6bbf5208d8 in __libc_free (mem=0x7f6bbf8331c0) at malloc.c:3736
#3  0x00007f6bb9c449b4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6bbfeda7aa in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x21a4910, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#5  0x00007f6bbfeda8f9 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x21a4910, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00007f6bbfdc74d4 in QThreadPrivate::finish (arg=0x7f6bc01e2f60) at thread/qthread_unix.cpp:356
#7  0x00007f6bbfdc817d in ~__pthread_cleanup_class (arg=0x7f6bc01e2f60) at /usr/include/pthread.h:545
#8  QThreadPrivate::start (arg=0x7f6bc01e2f60) at thread/qthread_unix.cpp:279
#9  0x00007f6bbb047d8c in start_thread (arg=0x7f6b855b0700) at pthread_create.c:304
#10 0x00007f6bbf58a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6b84daf700 (LWP 8472)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6bbb9432a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f6bbbc5c180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f6bbb9432d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f6bbbc6a254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f6bbb047d8c in start_thread (arg=0x7f6b84daf700) at pthread_create.c:304
#4  0x00007f6bbf58a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6b7be45700 (LWP 8474)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6bbfdc882b in wait (this=<value optimized out>, mutex=0x26838d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x26838d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6bc0d687d4 in QFileInfoGatherer::run (this=0x26838c8) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f6bbfdc8175 in QThreadPrivate::start (arg=0x26838c8) at thread/qthread_unix.cpp:320
#5  0x00007f6bbb047d8c in start_thread (arg=0x7f6b7be45700) at pthread_create.c:304
#6  0x00007f6bbf58a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6b788b8700 (LWP 8475)):
#0  0x00007fff79fff861 in clock_gettime ()
#1  0x00007f6bb847c146 in clock_gettime (clock_id=1, tp=0x7f6b788b7a70) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f6bbfe19304 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f6bbfedae3d in QTimerInfoList::updateCurrentTime (this=0x7f6ba001f690) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f6bbfedb1a5 in QTimerInfoList::timerWait (this=0x7f6ba001f690, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f6bbfed9c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f6b788b7b8c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f6bbfed9cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f6bb9c480a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f6bb9c48f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f6bb9c49639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f6bbfeda446 in QEventDispatcherGlib::processEvents (this=0x7f6ba0002730, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007f6bbfeae882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f6bbfeaeabc in QEventLoop::exec (this=0x7f6b788b7d10, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007f6bbfdc5924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#15 0x00007f6bbfe90c2f in QInotifyFileSystemWatcherEngine::run (this=0x2683680) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f6bbfdc8175 in QThreadPrivate::start (arg=0x2683680) at thread/qthread_unix.cpp:320
#17 0x00007f6bbb047d8c in start_thread (arg=0x7f6b788b8700) at pthread_create.c:304
#18 0x00007f6bbf58a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6bc2b76840 (LWP 8455)):
[KCrash Handler]
#6  0x00007f6bbf4d7d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f6bbf4dbab6 in abort () at abort.c:92
#8  0x00007f6bbf510d7b in __libc_message (do_abort=2, fmt=0x7f6bbf5f9400 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f6bbf51c08a in malloc_printerr (av=0x7f6bbf8331c0) at malloc.c:6283
#10 malloc_consolidate (av=0x7f6bbf8331c0) at malloc.c:5169
#11 0x00007f6bbf51d472 in _int_malloc (av=0x7f6bbf8331c0, bytes=1024) at malloc.c:4373
#12 0x00007f6bbf52031e in __libc_malloc (bytes=1024) at malloc.c:3660
#13 0x00007f6bc08c5edf in malloc (this=0x2586858, asize=36, aalloc=63) at ../../include/QtCore/../../src/corelib/tools/qvector.h:393
#14 QVector<QRect>::realloc (this=0x2586858, asize=36, aalloc=63) at ../../include/QtCore/../../src/corelib/tools/qvector.h:470
#15 0x00007f6bc09fe62b in miRegionOp (dest=..., reg1=0x2586850, reg2=0x27cb4d0, overlapFunc=0x7f6bc09fef60 <miUnionO(QRegionPrivate&, QRect const*, QRect const*, QRect const*, QRect const*, int, int)>, nonOverlap1Func=0x7f6bc09fdc10 <miUnionNonO(QRegionPrivate&, QRect const*, QRect const*, int, int)>, nonOverlap2Func=0x7f6bc09fdc10 <miUnionNonO(QRegionPrivate&, QRect const*, QRect const*, int, int)>) at painting/qregion.cpp:2189
#16 0x00007f6bc09fec9c in UnionRegion (reg1=0x2586850, reg2=0x27cb4d0, dest=...) at painting/qregion.cpp:2453
#17 0x00007f6bc0a024cf in QRegion::operator+= (this=0x7fff79fe0ff0, r=...) at painting/qregion.cpp:4043
#18 0x00007f6bc0a82f21 in QWidgetBackingStore::sync (this=0x1d03370) at painting/qbackingstore.cpp:1223
#19 0x00007f6bc08b2f60 in QWidgetPrivate::syncBackingStore (this=0x1ea7ce0) at kernel/qwidget.cpp:1842
#20 0x00007f6bc08c0194 in QWidget::event (this=0x26268d0, event=0x2607990) at kernel/qwidget.cpp:8552
#21 0x00007f6bc086e9f4 in QApplicationPrivate::notify_helper (this=0x13f2410, receiver=0x26268d0, e=0x2607990) at kernel/qapplication.cpp:4462
#22 0x00007f6bc08733ba in QApplication::notify (this=<value optimized out>, receiver=0x26268d0, e=0x2607990) at kernel/qapplication.cpp:4341
#23 0x00007f6bc2586866 in KApplication::notify (this=0x7fff79fe1c10, receiver=0x26268d0, event=0x2607990) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f6bbfeaf49c in QCoreApplication::notifyInternal (this=0x7fff79fe1c10, receiver=0x26268d0, event=0x2607990) at kernel/qcoreapplication.cpp:731
#25 0x00007f6bbfeb2c25 in sendEvent (receiver=0x0, event_type=0, data=0x1248bc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1248bc0) at kernel/qcoreapplication.cpp:1372
#27 0x00007f6bbfeda253 in sendPostedEvents (s=0x13f8d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0x13f8d60) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f6bb9c48bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f6bb9c493a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f6bb9c49639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f6bbfeda3ef in QEventDispatcherGlib::processEvents (this=0x12487c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#33 0x00007f6bc09184de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f6bbfeae882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f6bbfeaeabc in QEventLoop::exec (this=0x7fff79fe1bc0, flags=...) at kernel/qeventloop.cpp:201
#36 0x00007f6bbfeb2ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#37 0x0000000000409c51 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../src/main.cpp:268

Possible duplicates by query: bug 277138, bug 272065, bug 268890, bug 263195, bug 256077.

Reported using DrKonqi
Comment 1 Di.Ego.R Kobylkin 2011-07-16 19:47:58 UTC
Actually I was able to reproduce this crash by pressing "finish" after seeing this error message Error: "Could not execute import query: "
Comment 2 Myriam Schweingruber 2011-07-17 17:31:13 UTC
Could you please upgrade to Amarok 2.4.1 and try again? This crash appears to be cause by Qt, not by Amarok. Also there was quite some work on the database since your version.

Please also specify if you run the embedded MySQL or an external MySQL server.
Comment 3 Di.Ego.R Kobylkin 2011-07-18 09:15:42 UTC
I run an external MySQL server. 
There were just way to many bugs and missing features in the Amarok 2x so I have purged it and installed the Clementine instead as I was actually looking for a successor for Amarok 1.4. Clementine has shown great performance on 30000+ tracks with zero configuration effort so I will stick to it, sorry.
Comment 4 Myriam Schweingruber 2011-07-18 22:02:12 UTC
Can I close this, then?
Comment 5 Di.Ego.R Kobylkin 2011-07-19 12:49:08 UTC
Yes, if this helps.
Comment 6 Myriam Schweingruber 2011-07-19 18:56:04 UTC
Closing then.