Bug 199006

Summary: Amarok crashes (everytime) on scanning musik files collection
Product: [Applications] amarok Reporter: boris64 <bugs.kde>
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 boris64 2009-07-05 13:37:38 UTC
Application that crashed: amarok
Version of the application: 2.1.1
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1))
Qt Version: 4.5.2
Operating System: Linux 2.6.30.1-2k9-dirty x86_64

What I was doing when the application crashed:
Amarok crashes (everytime) on scanning musik files collection.
The very same happens when i try to import my old colletiondb from amarok-1.4*.

Reproducible. Everytime.

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

Thread 21 (Thread 0x7f0b89850910 (LWP 134264)):
#0  0x000000334680b2fd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x0000003810a1483e in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#3  0x00000033460cefed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 20 (Thread 0x7f0b8904f910 (LWP 134265)):
#0  0x00000033460c63c3 in poll () from /lib/libc.so.6
#1  0x000000334a43b309 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x000000334a43b670 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x0000003cb8f64e3e in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x0000003cb8f3b922 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#5  0x0000003cb8f3babd in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:197
#6  0x0000003cb8e5628b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f0b8b9922be in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x0000003cb8e595d3 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:188
#9  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#10 0x00000033460cefed in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 19 (Thread 0x7f0b88644910 (LWP 134268)):
#0  0x00000033460c238b in read () from /lib/libc.so.6
#1  0x00007f0b8bd92125 in ?? () from /usr/lib64/libasound.so.2
#2  0x00007f0b8bd8cf33 in snd_hctl_handle_events () from /usr/lib64/libasound.so.2
#3  0x00007f0b8bd96acd in snd_mixer_handle_events () from /usr/lib64/libasound.so.2
#4  0x00007f0b8864ac44 in ao_alsa_handle_event_thread () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#5  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#6  0x00000033460cefed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7f0b87e22910 (LWP 134269)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x0000003810a22893 in fifo_peek_int () from /usr/lib64/libxine.so.1
#2  0x0000003810a242ba in ao_loop () from /usr/lib64/libxine.so.1
#3  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#4  0x00000033460cefed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f0b873fe910 (LWP 134270)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x0000003810a22893 in fifo_peek_int () from /usr/lib64/libxine.so.1
#2  0x0000003810a242ba in ao_loop () from /usr/lib64/libxine.so.1
#3  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#4  0x00000033460cefed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f0b846e5910 (LWP 134271)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0b858590dd in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f0b8585b887 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007f0b8581db03 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007f0b8589f280 in ?? () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#6  0x00000033460cefed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f0b83ee4910 (LWP 134272)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0b858590dd in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f0b8585b887 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007f0b8581db03 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007f0b8589f280 in ?? () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#6  0x00000033460cefed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f0b836e3910 (LWP 134273)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0b858590dd in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f0b8585b887 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007f0b8581db03 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007f0b8589f280 in ?? () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#6  0x00000033460cefed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f0b82ee2910 (LWP 134274)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0b858590dd in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f0b8585b887 in os_aio_simulated_handle () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x00007f0b8581db03 in fil_aio_wait () from /usr/lib64/mysql/ib/libinnobase.so.0
#4  0x00007f0b8589f280 in ?? () from /usr/lib64/mysql/ib/libinnobase.so.0
#5  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#6  0x00000033460cefed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f0b819ca910 (LWP 134276)):
#0  0x00000033460c8642 in select () from /lib/libc.so.6
#1  0x00007f0b8585951b in os_thread_sleep () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f0b8589d6e1 in srv_lock_timeout_and_monitor_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#4  0x00000033460cefed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f0b811c9910 (LWP 134277)):
#0  0x00000033460c8642 in select () from /lib/libc.so.6
#1  0x00007f0b8585951b in os_thread_sleep () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f0b8589a893 in srv_error_monitor_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#4  0x00000033460cefed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f0b809c8910 (LWP 134278)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0b858590dd in os_event_wait_low () from /usr/lib64/mysql/ib/libinnobase.so.0
#2  0x00007f0b8589af16 in srv_master_thread () from /usr/lib64/mysql/ib/libinnobase.so.0
#3  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#4  0x00000033460cefed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f0b76457910 (LWP 134279)):
#0  0x00000033460c8642 in select () from /lib/libc.so.6
#1  0x0000003810a3a705 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x0000003810a21151 in video_out_loop () from /usr/lib64/libxine.so.1
#3  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#4  0x00000033460cefed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f0b7586d910 (LWP 134280)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x0000003810a17c1b in fifo_buffer_get () from /usr/lib64/libxine.so.1
#2  0x0000003810a1d63f in video_decoder_loop () from /usr/lib64/libxine.so.1
#3  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#4  0x00000033460cefed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f0b7506c910 (LWP 134281)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x0000003810a17c1b in fifo_buffer_get () from /usr/lib64/libxine.so.1
#2  0x0000003810a1e6df in audio_decoder_loop () from /usr/lib64/libxine.so.1
#3  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#4  0x00000033460cefed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f0b7486b910 (LWP 134282)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x0000003810a26ddb in xine_event_wait () from /usr/lib64/libxine.so.1
#2  0x0000003810a26e4e in listener_loop () from /usr/lib64/libxine.so.1
#3  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#4  0x00000033460cefed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0b64153910 (LWP 134285)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x0000003cb8e5a25b in QWaitCondition::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  0x0000003cb9c76b1c in QHostInfoAgent::run (this=<value optimized out>) at kernel/qhostinfo.cpp:260
#3  0x0000003cb8e595d3 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:188
#4  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#5  0x00000033460cefed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0b652a2910 (LWP 134309)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x0000003cb8e5a25b in QWaitCondition::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  0x0000003cbac1187c in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:207
#3  0x0000003cb8e595d3 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:188
#4  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#5  0x00000033460cefed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0b6390c910 (LWP 134310)):
#0  0x00000033460c63c3 in poll () from /lib/libc.so.6
#1  0x000000334a43b309 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x000000334a43b670 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x0000003cb8f64e3e in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x0000003cb8f3b922 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#5  0x0000003cb8f3babd in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:197
#6  0x0000003cb8e5628b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x0000003cb8f20af0 in QInotifyFileSystemWatcherEngine::run (this=<value optimized out>) at io/qfilesystemwatcher_inotify.cpp:214
#8  0x0000003cb8e595d3 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:188
#9  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#10 0x00000033460cefed in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0b6310b910 (LWP 134315)):
#0  0x000000334680b079 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x0000003cb8e5a25b in QWaitCondition::wait (this=<value optimized out>, mutex=<value optimized out>, time=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f0b8609b529 in XmlParseJob::run (this=<value optimized out>) at /tmp/portage/portage/media-sound/amarok-2.1.1/work/amarok-2.1.1/src/collection/sqlcollection/ScanManager.cpp:641
#3  0x0000003cc300d151 in ThreadWeaver::JobRunHelper::runTheJob (this=<value optimized out>, th=<value optimized out>, job=<value optimized out>)
    at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/threadweaver/Weaver/Job.cpp:106
#4  0x0000003cc300d329 in ThreadWeaver::Job::execute (this=<value optimized out>, th=<value optimized out>)
    at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/threadweaver/Weaver/Job.cpp:135
#5  0x0000003cc300c7bf in ThreadWeaver::ThreadRunHelper::run (this=<value optimized out>, parent=<value optimized out>, th=<value optimized out>)
    at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/threadweaver/Weaver/Thread.cpp:95
#6  0x0000003cc300c904 in ThreadWeaver::Thread::run (this=<value optimized out>) at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003cb8e595d3 in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:188
#8  0x0000003346806634 in start_thread () from /lib/libpthread.so.0
#9  0x00000033460cefed in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0b8e885770 (LWP 134263)):
[KCrash Handler]
#5  0x00000033460729f1 in mem2chunk_check () from /lib/libc.so.6
#6  0x0000003346074720 in free_check () from /lib/libc.so.6
#7  0x0000003cb8ed8599 in QList<QByteArray>::free (this=<value optimized out>, data=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:375
#8  0x0000003cb8f6c87b in QTextCodec::codecForName (name=<value optimized out>) at codecs/qtextcodec.cpp:944
#9  0x00007f0b860a06b1 in QTextCodec::codecForName (name=<value optimized out>) at /usr/include/qt4/QtCore/qtextcodec.h:67
#10 0x00007f0b8609d501 in ScanManager::slotReadReady (this=0x22a9000) at /tmp/portage/portage/media-sound/amarok-2.1.1/work/amarok-2.1.1/src/collection/sqlcollection/ScanManager.cpp:277
#11 0x00007f0b8609ec44 in ScanManager::qt_metacall (this=0x22a9000, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1e3dbeb0)
    at /tmp/portage/portage/media-sound/amarok-2.1.1/work/amarok-2.1.1_build/src/collection/sqlcollection/ScanManager.moc:85
#12 0x0000003cb8f52b73 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3101
#13 0x0000003cb8ee3245 in QProcessPrivate::_q_canReadStandardOutput (this=<value optimized out>) at io/qprocess.cpp:564
#14 0x0000003cb8ee48f9 in QProcess::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=<value optimized out>) at .moc/debug-shared/moc_qprocess.cpp:101
#15 0x0000003cba0d97ed in KProcess::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=<value optimized out>)
    at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95_build/kdecore/kprocess.moc:63
#16 0x0000003cbe3130c0 in AmarokProcess::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=<value optimized out>)
    at /tmp/portage/portage/media-sound/amarok-2.1.1/work/amarok-2.1.1_build/src/moc_AmarokProcess.cpp:72
#17 0x0000003cb8f52b73 in QMetaObject::activate (sender=<value optimized out>, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=<value optimized out>)
    at kernel/qobject.cpp:3101
#18 0x0000003cb8f86e0e in QSocketNotifier::activated (this=<value optimized out>, _t1=<value optimized out>) at .moc/debug-shared/moc_qsocketnotifier.cpp:83
#19 0x0000003cb8f57ae3 in QSocketNotifier::event (this=<value optimized out>, e=<value optimized out>) at kernel/qsocketnotifier.cpp:316
#20 0x0000003cba78bc7c in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4056
#21 0x0000003cba7930a7 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4021
#22 0x0000003cbb7f5861 in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at /tmp/portage/portage/kde-base/kdelibs-4.2.95/work/kdelibs-4.2.95/kdeui/kernel/kapplication.cpp:302
#23 0x0000003cb8f3cdfb in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:606
#24 0x0000003cb8f6506a in socketNotifierSourceDispatch (source=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#25 0x000000334a437dbd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x000000334a43b528 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x000000334a43b670 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x0000003cb8f64de6 in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#29 0x0000003cba819c5e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#30 0x0000003cb8f3b922 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#31 0x0000003cb8f3babd in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:197
#32 0x0000003cb8f3f76b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#33 0x00000000004031c0 in main (argc=1, argv=0x7fff1e3ddaf8) at /tmp/portage/portage/media-sound/amarok-2.1.1/work/amarok-2.1.1/src/main.cpp:128

Reported using DrKonqi
Comment 1 Mikko C. 2009-07-05 13:48:28 UTC

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