Bug 195473 - Crash while new creating collection
Summary: Crash while new creating collection
Status: RESOLVED DUPLICATE of bug 191447
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-06 16:37 UTC by Frank Scheffold
Modified: 2009-06-07 00:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Scheffold 2009-06-06 16:37:34 UTC
Application that crashed: amarok
Version of the application: 2.1
KDE Version: 4.2.88 (KDE 4.2.88 (KDE 4.3 >= 20090527))
Qt Version: 4.5.1
Operating System: Linux 2.6.29-ARCH x86_64

What I was doing when the application crashed:
Crashing while scanning the collection.

I have run amrok with  the --debug --nofork options.
Before the crash I have got a lot of errors on command line like this:

[ERROR!] GREPME MySQLe query failed! Duplicate entry '872' for key 'PRIMARY'  on  "INSERT INTO directories_temp(deviceid,changedate,dir) VALUES (1,1219020210,'./musik/path/to/some/dir//');" 

[ERROR!] GREPME MySQLe query failed! Table 'directories_temp' is marked as crashed and should be repaired  on  "SELECT         id, changedate               FROM           directories_temp             WHERE          deviceid = 1 AND dir = './musik/path/to/some/other/dir/';" 


 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 0 (LWP 14045)]

Thread 5 (Thread 0x7fd0b745a910 (LWP 14088)):
#0  0x00007fd0cdbd7e99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd0cde486fb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd0b7f450e1 in XmlParseJob::run (this=<value optimized out>) at /media/build/abs/aur-amarok2-devel/amarok2-devel/src/amarok-2.1/src/collection/sqlcollection/ScanManager.cpp:631
#3  0x00007fd0ca48d77d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fd0b7459f70, th=0x21fa7d0, job=0x1f37af0) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/Job.cpp:106
#4  0x00007fd0ca48da7f in ThreadWeaver::Job::execute (this=0x1f37af0, th=0x21fa7d0) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/Job.cpp:135
#5  0x00007fd0ca48ca2f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd0b745a000, parent=0x21f98e0, th=0x21fa7d0) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/Thread.cpp:95
#6  0x00007fd0ca48ceb8 in ThreadWeaver::Thread::run (this=0x21fa7d0) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd0cde47651 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fd0cdbd359a in start_thread () from /lib/libpthread.so.0
#9  0x00007fd0cd19ec3d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd0b2741910 (LWP 14089)):
#0  0x00007fd0cdbd7e99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd0cde486fb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd0ca48c306 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x21f98e0, th=0x21fca30)
    at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fd0ca48e48b in ThreadWeaver::WorkingHardState::applyForWork (this=0x21f6820, th=0x21fca30) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fd0ca48ca5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd0b2741000, parent=0x21f98e0, th=0x21fca30) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/Thread.cpp:87
#5  0x00007fd0ca48ceb8 in ThreadWeaver::Thread::run (this=0x21fca30) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/Thread.cpp:142
#6  0x00007fd0cde47651 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007fd0cdbd359a in start_thread () from /lib/libpthread.so.0
#8  0x00007fd0cd19ec3d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd0b173f910 (LWP 14092)):
#0  0x00007fd0cdbd7e99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd0cde486fb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd0ca48c306 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x21f98e0, th=0x2060c80)
    at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fd0ca48e48b in ThreadWeaver::WorkingHardState::applyForWork (this=0x21f6820, th=0x2060c80) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fd0ca48e4a4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x21f6820, th=0x2060c80) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007fd0ca48ca5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd0b173f000, parent=0x21f98e0, th=0x2060c80) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd0ca48ceb8 in ThreadWeaver::Thread::run (this=0x2060c80) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd0cde47651 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fd0cdbd359a in start_thread () from /lib/libpthread.so.0
#9  0x00007fd0cd19ec3d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd0b0f3e910 (LWP 14093)):
#0  0x00007fd0cdbd7e99 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd0cde486fb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd0ca48c306 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x21f98e0, th=0x1f98c00)
    at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007fd0ca48e48b in ThreadWeaver::WorkingHardState::applyForWork (this=0x21f6820, th=0x1f98c00) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007fd0ca48e4a4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x21f6820, th=0x1f98c00) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x00007fd0ca48ca5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fd0b0f3e000, parent=0x21f98e0, th=0x1f98c00) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fd0ca48ceb8 in ThreadWeaver::Thread::run (this=0x1f98c00) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fd0cde47651 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fd0cdbd359a in start_thread () from /lib/libpthread.so.0
#9  0x00007fd0cd19ec3d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd0d07fe7a0 (LWP 14045)):
[KCrash Handler]
#5  0x00007fd0cd1439a1 in mem2chunk_check () from /lib/libc.so.6
#6  0x00007fd0cd1456e0 in free_check () from /lib/libc.so.6
#7  0x00007fd0cde4e4c9 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fd0cdf6028c in QTextCodec::codecForName () from /usr/lib/libQtCore.so.4
#9  0x00007fd0b7f4cb61 in QTextCodec::codecForName (name=<value optimized out>) at /usr/include/QtCore/qtextcodec.h:67
#10 0x00007fd0b7f48145 in ScanManager::slotReadReady (this=0x1a26a70) at /media/build/abs/aur-amarok2-devel/amarok2-devel/src/amarok-2.1/src/collection/sqlcollection/ScanManager.cpp:276
#11 0x00007fd0b7f4a33c in ScanManager::qt_metacall (this=0x1a26a70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd8953b20)
    at /media/build/abs/aur-amarok2-devel/amarok2-devel/src/amarok-2.1/src/collection/sqlcollection/ScanManager.moc:80
#12 0x00007fd0cdf44f42 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0x00007fd0cded2486 in ?? () from /usr/lib/libQtCore.so.4
#14 0x00007fd0cded5659 in QProcess::qt_metacall () from /usr/lib/libQtCore.so.4
#15 0x00007fd0ce57a638 in KProcess::qt_metacall (this=0x3ff2fc0, _c=QMetaObject::InvokeMetaMethod, _id=64, _a=0xf000000000000f0) at /srv/build/kde43/kdelibs/src/build/kdecore/kprocess.moc:63
#16 0x00007fd0cf883ce8 in AmarokProcess::qt_metacall (this=0x3ff2fc0, _c=QMetaObject::InvokeMetaMethod, _id=64, _a=0xf000000000000f0)
    at /media/build/abs/aur-amarok2-devel/amarok2-devel/src/amarok-2.1/src/moc_AmarokProcess.cpp:72
#17 0x00007fd0cdf44f42 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0x00007fd0cdf7bbce in QSocketNotifier::activated () from /usr/lib/libQtCore.so.4
#19 0x00007fd0cdf49963 in QSocketNotifier::event () from /usr/lib/libQtCore.so.4
#20 0x00007fd0ceab8bfc in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#21 0x00007fd0ceabfeae in QApplication::notify () from /usr/lib/libQtGui.so.4
#22 0x00007fd0d033dfa6 in KApplication::notify (this=0x7fffd8954540, receiver=0x21b2ac0, event=0x7fffd8954290) at /srv/build/kde43/kdelibs/src/kdelibs-4.2.88/kdeui/kernel/kapplication.cpp:302
#23 0x00007fd0cdf2f5cc in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#24 0x00007fd0cdf58aba in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007fd0c5767dee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007fd0c576b4b8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#27 0x00007fd0c576b5e0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007fd0cdf58836 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#29 0x00007fd0ceb4d35e in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007fd0cdf2dea2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0x00007fd0cdf2e274 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0x00007fd0cdf30369 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#33 0x0000000000404c6a in main (argc=3, argv=0x7fffd8955738) at /media/build/abs/aur-amarok2-devel/amarok2-devel/src/amarok-2.1/src/main.cpp:128

Reported using DrKonqi
Comment 1 Dario Andres 2009-06-07 00:02:33 UTC
Thanks

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