Bug 221225

Summary: Amarok crashed after manipulations with tags and filenames in external application
Product: [Applications] amarok Reporter: Sergei Andreev <seajey.serg>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sergei Andreev 2010-01-04 12:37:06 UTC
Application that crashed: amarok
Version of the application: 2.2-GIT
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-17-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Amarok crashed after manipulations with tags and filenames of the albumn already in local collection in external application - EasyTag

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
__lll_lock_wait_private ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f9380dab770 (LWP 4708))]

Thread 13 (Thread 0x7f9367735910 (LWP 4711)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f936d231c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f9378e2ea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f937df887bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f93661ec910 (LWP 4712)):
#0  0x00007f937df7c373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f93772f537c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f93772f56c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f937e8ac1fe in QEventDispatcherGlib::processEvents (this=0x10947c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007f937e882532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f937e882904 in QEventLoop::exec (this=0x7f93661ebfe0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f937e79a6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f936d48d1ce in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f937e79d445 in QThreadPrivate::start (arg=0x108b510) at thread/qthread_unix.cpp:188
#9  0x00007f9378e2ea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f937df887bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

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

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

Thread 9 (Thread 0x7f935ffff910 (LWP 4716)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f936d242983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f9378e2ea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f937df887bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f935f7fe910 (LWP 4717)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f936d242983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f9378e2ea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f937df887bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f935e3d1910 (LWP 4720)):
#0  0x00007f937df813c2 in select () from /lib/libc.so.6
#1  0x00007f936d25a725 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f936d23f7e9 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f9378e2ea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f937df887bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f9356429910 (LWP 4721)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f937e79cc93 in QMutexPrivate::wait (this=0x107a110, timeout=-1) at thread/qmutex_unix.cpp:80
#2  0x00007f937e798845 in QMutex::lock (this=0x149e4d8) at thread/qmutex.cpp:169
#3  0x00007f935e8e0916 in QMutexLocker::relock (this=0x7f9356428ec0) at /usr/include/qt4/QtCore/qmutex.h:120
#4  0x00007f935e8e0878 in QMutexLocker (this=0x7f9356428ec0, m=0x149e4d8) at /usr/include/qt4/QtCore/qmutex.h:102
#5  0x00007f935e8f9ba8 in MySqlCollection::query (this=0x149e470, statement=...) at /home/seajey/myRepo/Amarok/src/amarok/src/collection/mysql-shared/MySqlCollection.cpp:112
#6  0x00007f935e8d9aa3 in SqlQueryMakerInternal::run (this=0x7f936382bb80) at /home/seajey/myRepo/Amarok/src/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:46
#7  0x00007f935e8d8542 in SqlWorkerThread::run (this=0x7f936398c5d0) at /home/seajey/myRepo/Amarok/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:66
#8  0x00007f937bb7b75d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f9356428fa0, th=0x7f9360403410, job=0x7f936398c5d0) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0x00007f937bb7ba5e in ThreadWeaver::Job::execute (this=0x7f936398c5d0, th=0x7f9360403410) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0x00007f937bb7aa2f in ThreadWeaver::ThreadRunHelper::run (this=0x7f9356429030, parent=0x7f93602f7d70, th=0x7f9360403410) at ../../../threadweaver/Weaver/Thread.cpp:95
#11 0x00007f937bb7aeb8 in ThreadWeaver::Thread::run (this=0x7f9360403410) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00007f937e79d445 in QThreadPrivate::start (arg=0x7f9360403410) at thread/qthread_unix.cpp:188
#13 0x00007f9378e2ea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f937df887bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 5 (Thread 0x7f9355c28910 (LWP 4722)):
[KCrash Handler]
#5  malloc_consolidate (av=0x7f937e213e40) at malloc.c:5089
#6  0x00007f937df20518 in _int_free (av=0x7f937e213e40, p=0x8d93320) at malloc.c:4968
#7  0x00007f937df2370c in *__GI___libc_free (mem=<value optimized out>) at malloc.c:3716
#8  0x00007f937e7bf282 in QHashData::destroyAndFree (this=0x80a4d60) at tools/qhash.cpp:330
#9  0x00007f935e8c47b2 in QHash<int, QStringList*>::freeData (this=0x7f9355c275e8, x=0x80a4d60) at /usr/include/qt4/QtCore/qhash.h:552
#10 0x00007f935e8c1006 in ~QHash (this=0x7f9355c275e8, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:266
#11 0x00007f935e8b3d9a in ~ScanResultProcessor (this=0x7f9355c27500, __in_chrg=<value optimized out>) at /home/seajey/myRepo/Amarok/src/amarok/src/collection/sqlcollection/ScanResultProcessor.cpp:51
#12 0x00007f935e8b0679 in XmlParseJob::run (this=0x7f933c0602d0) at /home/seajey/myRepo/Amarok/src/amarok/src/collection/sqlcollection/ScanManager.cpp:855
#13 0x00007f937bb7b75d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f9355c27fa0, th=0x7f936036e1a0, job=0x7f933c0602d0) at ../../../threadweaver/Weaver/Job.cpp:106
#14 0x00007f937bb7ba5e in ThreadWeaver::Job::execute (this=0x7f933c0602d0, th=0x7f936036e1a0) at ../../../threadweaver/Weaver/Job.cpp:135
#15 0x00007f937bb7aa2f in ThreadWeaver::ThreadRunHelper::run (this=0x7f9355c28030, parent=0x7f93602f7d70, th=0x7f936036e1a0) at ../../../threadweaver/Weaver/Thread.cpp:95
#16 0x00007f937bb7aeb8 in ThreadWeaver::Thread::run (this=0x7f936036e1a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#17 0x00007f937e79d445 in QThreadPrivate::start (arg=0x7f936036e1a0) at thread/qthread_unix.cpp:188
#18 0x00007f9378e2ea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#19 0x00007f937df887bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7f9355427910 (LWP 4724)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f937e79e4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7f9360282290, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f9360282290, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f937bb7a326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x7f93602f7d70, th=0x1ed0900) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f937bb7c45b in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f9360356320, th=0x1ed0900) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f937bb7c474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f9360356320, th=0x1ed0900) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f937bb7c474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x7f9360356320, th=0x1ed0900) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f937bb7aa5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f9355427030, parent=0x7f93602f7d70, th=0x1ed0900) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f937bb7aeb8 in ThreadWeaver::Thread::run (this=0x1ed0900) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f937e79d445 in QThreadPrivate::start (arg=0x1ed0900) at thread/qthread_unix.cpp:188
#10 0x00007f9378e2ea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f937df887bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 3 (Thread 0x7f9354c26910 (LWP 4725)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f937df25a93 in _L_lock_9264 () from /lib/libc.so.6
#2  0x00007f937df23701 in *__GI___libc_free (mem=0x7f937e213e40) at malloc.c:3714
#3  0x00007f93772f14f3 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f937e8acce2 in ~QEventDispatcherGlib (this=0x1ef77f0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:289
#5  0x00007f937e79d5fc in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:212
#6  0x00007f937e79d44d in ~__pthread_cleanup_class (arg=0xf2ed60) at /usr/include/pthread.h:535
#7  QThreadPrivate::start (arg=0xf2ed60) at thread/qthread_unix.cpp:190
#8  0x00007f9378e2ea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f937df887bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7f9354425910 (LWP 4728)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f937df25a93 in _L_lock_9264 () from /lib/libc.so.6
#2  0x00007f937df23701 in *__GI___libc_free (mem=0x7f937e213e40) at malloc.c:3714
#3  0x00007f937e893288 in QList<QObjectPrivate::Connection>::node_destruct (this=0x10361c0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:348
#4  QList<QObjectPrivate::Connection>::removeAt (this=0x10361c0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:408
#5  QObjectPrivate::cleanConnectionLists (this=0x10361c0) at kernel/qobject.cpp:313
#6  0x00007f937e894888 in QMetaObject::connect (sender=0x1034f60, signal_index=6, receiver=0x7f93606430b8, method_index=4, type=0, types=0x0) at kernel/qobject.cpp:2810
#7  0x00007f937e894d87 in QObject::connect (sender=0x1034f60, signal=<value optimized out>, receiver=0x7f93606430b8, method=<value optimized out>, type=Qt::AutoConnection) at kernel/qobject.cpp:2547
#8  0x00007f937e82d5d1 in QDeviceClosedNotifier::setupDevice (this=0x7f933c1b2d30, device=0x1034f60) at io/qtextstream.cpp:332
#9  QTextStream (this=0x7f933c1b2d30, device=0x1034f60) at io/qtextstream.cpp:997
#10 0x00007f937ec588f3 in Stream () at /usr/include/qt4/QtCore/qdebug.h:64
#11 QDebug () at /usr/include/qt4/QtCore/qdebug.h:75
#12 kDebugDevNull () at ../../kdecore/io/kdebug.cpp:616
#13 0x00007f935e8a7dbb in Debug::dbgstream () at /home/seajey/myRepo/Amarok/src/amarok/src/collection/mysqlecollection/../../Debug.h:113
#14 0x00007f935e8f970e in error () at /home/seajey/myRepo/Amarok/src/amarok/src/collection/mysqlecollection/../../Debug.h:135
#15 0x00007f935e8fa1b2 in MySqlCollection::reportError (this=0x149e470, message=...) at /home/seajey/myRepo/Amarok/src/amarok/src/collection/mysql-shared/MySqlCollection.cpp:220
#16 0x00007f935e8f9c5c in MySqlCollection::query (this=0x149e470, statement=...) at /home/seajey/myRepo/Amarok/src/amarok/src/collection/mysql-shared/MySqlCollection.cpp:125
#17 0x00007f935e8d9aa3 in SqlQueryMakerInternal::run (this=0x7f93639b7340) at /home/seajey/myRepo/Amarok/src/amarok/src/collection/sqlcollection/SqlQueryMakerInternal.cpp:46
#18 0x00007f935e8d8542 in SqlWorkerThread::run (this=0x7f9363e54f60) at /home/seajey/myRepo/Amarok/src/amarok/src/collection/sqlcollection/SqlQueryMaker.cpp:66
#19 0x00007f937bb7b75d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f9354424fa0, th=0x7f93603d0500, job=0x7f9363e54f60) at ../../../threadweaver/Weaver/Job.cpp:106
#20 0x00007f937bb7ba5e in ThreadWeaver::Job::execute (this=0x7f9363e54f60, th=0x7f93603d0500) at ../../../threadweaver/Weaver/Job.cpp:135
#21 0x00007f937bb7aa2f in ThreadWeaver::ThreadRunHelper::run (this=0x7f9354425030, parent=0x7f93602f7d70, th=0x7f93603d0500) at ../../../threadweaver/Weaver/Thread.cpp:95
#22 0x00007f937bb7aeb8 in ThreadWeaver::Thread::run (this=0x7f93603d0500) at ../../../threadweaver/Weaver/Thread.cpp:142
#23 0x00007f937e79d445 in QThreadPrivate::start (arg=0x7f93603d0500) at thread/qthread_unix.cpp:188
#24 0x00007f9378e2ea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#25 0x00007f937df887bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#26 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9380dab770 (LWP 4708)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f937df25a93 in _L_lock_9264 () from /lib/libc.so.6
#2  0x00007f937df23701 in *__GI___libc_free (mem=0x7f937e213e40) at malloc.c:3714
#3  0x00007f937e8ac4e1 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f93772f4aaa in g_main_context_check () from /lib/libglib-2.0.so.0
#5  0x00007f93772f5290 in ?? () from /lib/libglib-2.0.so.0
#6  0x00007f93772f56c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#7  0x00007f937e8ac1a6 in QEventDispatcherGlib::processEvents (this=0xdfab90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#8  0x00007f937f23c4be in QGuiEventDispatcherGlib::processEvents (this=0x7f937e213e40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#9  0x00007f937e882532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#10 0x00007f937e882904 in QEventLoop::exec (this=0x7fff91933a20, flags=) at kernel/qeventloop.cpp:201
#11 0x00007f937e884ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#12 0x000000000040acdf in main (argc=3, argv=0x7fff91935988) at /home/seajey/myRepo/Amarok/src/amarok/src/main.cpp:235

Reported using DrKonqi
Comment 1 Mikko C. 2010-01-04 12:57:40 UTC

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