Bug 194673 - amarok crashes everytime scaning the collection
Summary: amarok crashes everytime scaning the collection
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.0.96
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 194185 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-30 18:12 UTC by fra
Modified: 2009-07-30 18:58 UTC (History)
2 users (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 fra 2009-05-30 18:12:02 UTC
Application that crashed: amarok
Version of the application: 2.0.96
KDE Version: 4.2.86 (KDE 4.2.86 (KDE 4.3 >= 20090514)) "release 126"
Qt Version: 4.5.1
Operating System: Linux 2.6.27.21-0.1-default x86_64

What I was doing when the application crashed:
everytime the collection is scaned amarok crash... if you keep restarting amarok it crashes at more percent

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

Thread 17 (Thread 0x7fbd4ed19950 (LWP 19137)):
#0  0x00007fbd62939fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbd53753631 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7fbd4deaf950 (LWP 19138)):
#0  0x00007fbd629375fd in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fbd5a322bb0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00000000007dd408 in ?? ()
#3  0x00007fbd5a33aec9 in g_thread_self () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fbd5a315e9c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fbd62cbc8be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fbd62c919f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007fbd62c91dbd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007fbd62ba6f88 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#9  0x00007fbd539aeaa2 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#10 0x00007fbd62ba9f22 in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#12 0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7fbd4d4a4950 (LWP 19141)):
#0  0x00007fbd61f26386 in poll () from /lib64/libc.so.6
#1  0x00007fbd4d4a99c1 in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fbd4cc82950 (LWP 19142)):
#0  0x00007fbd62939d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbd53764c23 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fbd4c207950 (LWP 19143)):
#0  0x00007fbd62939d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbd53764c23 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fbd49bbe950 (LWP 19145)):
#0  0x00007fbd62939d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbd4ac09a3d in os_event_wait_low (event=0x1106490, reset_sig_count=1) at ../../../innobase/os/os0sync.c:420
#2  0x00007fbd4ac06cc9 in os_aio_simulated_handle (global_segment=0, message1=0x7fbd49bbe048, message2=0x7fbd49bbe040, type=0x7fbd49bbe038) at ../../../innobase/os/os0file.c:4089
#3  0x00007fbd4abca923 in fil_aio_wait (segment=0) at ../../../innobase/fil/fil0fil.c:4131
#4  0x00007fbd4aa61e30 in io_handler_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0start.c:446
#5  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fbd48705950 (LWP 19146)):
#0  0x00007fbd62939d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbd4ac09a3d in os_event_wait_low (event=0x1106540, reset_sig_count=3) at ../../../innobase/os/os0sync.c:420
#2  0x00007fbd4ac06cc9 in os_aio_simulated_handle (global_segment=1, message1=0x7fbd48705048, message2=0x7fbd48705040, type=0x7fbd48705038) at ../../../innobase/os/os0file.c:4089
#3  0x00007fbd4abca923 in fil_aio_wait (segment=1) at ../../../innobase/fil/fil0fil.c:4131
#4  0x00007fbd4aa61e30 in io_handler_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0start.c:446
#5  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fbd47f04950 (LWP 19147)):
#0  0x00007fbd62939d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbd4ac09a3d in os_event_wait_low (event=0x11065f0, reset_sig_count=2) at ../../../innobase/os/os0sync.c:420
#2  0x00007fbd4ac06cc9 in os_aio_simulated_handle (global_segment=2, message1=0x7fbd47f04048, message2=0x7fbd47f04040, type=0x7fbd47f04038) at ../../../innobase/os/os0file.c:4089
#3  0x00007fbd4abca923 in fil_aio_wait (segment=2) at ../../../innobase/fil/fil0fil.c:4131
#4  0x00007fbd4aa61e30 in io_handler_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0start.c:446
#5  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fbd47703950 (LWP 19148)):
#0  0x00007fbd62939d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbd4ac09a3d in os_event_wait_low (event=0x11066a0, reset_sig_count=1) at ../../../innobase/os/os0sync.c:420
#2  0x00007fbd4ac06cc9 in os_aio_simulated_handle (global_segment=3, message1=0x7fbd47703048, message2=0x7fbd47703040, type=0x7fbd47703038) at ../../../innobase/os/os0file.c:4089
#3  0x00007fbd4abca923 in fil_aio_wait (segment=3) at ../../../innobase/fil/fil0fil.c:4131
#4  0x00007fbd4aa61e30 in io_handler_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0start.c:446
#5  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fbd461eb950 (LWP 19150)):
#0  0x00007fbd61f28662 in select () from /lib64/libc.so.6
#1  0x00007fbd4ac09e7b in os_thread_sleep (tm=<value optimized out>) at ../../../innobase/os/os0thread.c:274
#2  0x00007fbd4aa5e8b8 in srv_lock_timeout_and_monitor_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0srv.c:1882
#3  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fbd459ea950 (LWP 19151)):
#0  0x00007fbd61f28662 in select () from /lib64/libc.so.6
#1  0x00007fbd4ac09e7b in os_thread_sleep (tm=<value optimized out>) at ../../../innobase/os/os0thread.c:274
#2  0x00007fbd4aa5d66a in srv_error_monitor_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0srv.c:2106
#3  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fbd451e9950 (LWP 19152)):
#0  0x00007fbd62939d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbd4ac09a3d in os_event_wait_low (event=0x7f5950, reset_sig_count=1) at ../../../innobase/os/os0sync.c:420
#2  0x00007fbd4aa5c89f in srv_master_thread (arg=<value optimized out>) at ../../../innobase/srv/srv0srv.c:2598
#3  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fbd37d65950 (LWP 19153)):
#0  0x00007fbd62939d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbd62baaed9 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fbd5f20b644 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007fbd5f20dda3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fbd5f20c36f in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fbd5f20c7c9 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fbd62ba9f22 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fbd37564950 (LWP 19154)):
#0  0x00007fbd61f21225 in __lxstat64 () from /lib64/libc.so.6
#1  0x00007fbd5bb07ea6 in ?? () from /usr/lib64/libkio.so.5
#2  0x00007fbd5bb0cf17 in KFileItem::KFileItem(unsigned int, unsigned int, KUrl const&, bool) () from /usr/lib64/libkio.so.5
#3  0x00007fbd647b679d in EngineController::canDecode (url=@0x7fbd37562bf0) at /usr/src/debug/amarok-2.0.96/src/EngineController.cpp:159
#4  0x00007fbd646eefec in CollectionManager::trackForUrl (this=<value optimized out>, url=@0x7fbd37562bf0) at /usr/src/debug/amarok-2.0.96/src/collection/CollectionManager.cpp:375
#5  0x00007fbd646aa0b1 in Meta::M3UPlaylist::loadM3u (this=<value optimized out>, stream=@0x7fbd37562de0) at /usr/src/debug/amarok-2.0.96/src/meta/M3UPlaylist.cpp:119
#6  0x00007fbd646aabc5 in M3UPlaylist (this=0x56f32f0, url=<value optimized out>) at /usr/src/debug/amarok-2.0.96/src/meta/M3UPlaylist.cpp:71
#7  0x00007fbd64750588 in SqlUserPlaylistProvider::import (this=0x11afd30, fromLocation=@0x7fbd37563a70) at /usr/src/debug/amarok-2.0.96/src/playlistmanager/sql/SqlUserPlaylistProvider.cpp:179
#8  0x00007fbd64748406 in PlaylistManager::import (this=0x11b1580, fromLocation=@0x7fbd37563a70) at /usr/src/debug/amarok-2.0.96/src/playlistmanager/PlaylistManager.cpp:274
#9  0x00007fbd4a940892 in XmlParseJob::run (this=0x1cbf6f0) at /usr/src/debug/amarok-2.0.96/src/collection/sqlcollection/ScanManager.cpp:756
#10 0x00007fbd5f20d04d in ?? () from /usr/lib64/libthreadweaver.so.4
#11 0x00007fbd5f20d351 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
#12 0x00007fbd5f20c33f in ?? () from /usr/lib64/libthreadweaver.so.4
#13 0x00007fbd5f20c7c9 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#14 0x00007fbd62ba9f22 in ?? () from /usr/lib64/libQtCore.so.4
#15 0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#16 0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbd36562950 (LWP 19157)):
#0  0x00007fbd62939d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbd62baaed9 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fbd5f20b644 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007fbd5f20dda3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fbd5f20ddbc in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fbd5f20c36f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fbd5f20c7c9 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007fbd62ba9f22 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbd35d61950 (LWP 19158)):
#0  0x00007fbd62939d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbd62baaed9 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fbd5f20b644 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007fbd5f20dda3 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007fbd5f20ddbc in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007fbd5f20ddbc in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007fbd5f20ddbc in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007fbd5f20c36f in ?? () from /usr/lib64/libthreadweaver.so.4
#8  0x00007fbd5f20c7c9 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#9  0x00007fbd62ba9f22 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007fbd62936070 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fbd61f2f10d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbd6521d790 (LWP 19136)):
[KCrash Handler]
#5  0x00007fbd6475196b in QList<KSharedPtr<Meta::SqlPlaylist> >::detach_helper (this=0x11b1be8) at /usr/include/ksharedptr.h:84
#6  0x00007fbd6475282c in Meta::SqlPlaylistGroup::childSqlPlaylists (this=0x11b1bd0) at /usr/include/QtCore/qlist.h:119
#7  0x00007fbd64752fd8 in Meta::SqlPlaylistGroup::allChildPlaylists (this=0x11b1bd0) at /usr/src/debug/amarok-2.0.96/src/playlistmanager/sql/SqlPlaylistGroup.cpp:206
#8  0x00007fbd6474cf61 in SqlUserPlaylistProvider::playlists (this=<value optimized out>) at /usr/src/debug/amarok-2.0.96/src/playlistmanager/sql/SqlUserPlaylistProvider.cpp:66
#9  0x00007fbd64745a25 in PlaylistManager::playlistsOfCategory (this=<value optimized out>, playlistCategory=2) at /usr/src/debug/amarok-2.0.96/src/playlistmanager/PlaylistManager.cpp:157
#10 0x00007fbd6472b3f9 in PlaylistBrowserNS::UserModel::loadPlaylists (this=0x173de20) at /usr/src/debug/amarok-2.0.96/src/browsers/playlistbrowser/UserPlaylistModel.cpp:120
#11 0x00007fbd6472b539 in PlaylistBrowserNS::UserModel::slotUpdate (this=0x3821a20) at /usr/src/debug/amarok-2.0.96/src/browsers/playlistbrowser/UserPlaylistModel.cpp:90
#12 0x00007fbd6472f108 in PlaylistBrowserNS::UserModel::qt_metacall (this=0x173de20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6d371610)
    at /usr/src/debug/amarok-2.0.96/build/src/UserPlaylistModel.moc:78
#13 0x00007fbd62ca8c22 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#14 0x00007fbd64748398 in PlaylistManager::slotUpdated (this=0x11b1580) at /usr/src/debug/amarok-2.0.96/src/playlistmanager/PlaylistManager.cpp:146
#15 0x00007fbd647489b8 in PlaylistManager::qt_metacall (this=0x11b1580, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x37aa120)
    at /usr/src/debug/amarok-2.0.96/build/src/PlaylistManager.moc:80
#16 0x00007fbd62ca32b8 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#17 0x00007fbd6380278d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007fbd6380aa2a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007fbd64d5f37b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007fbd62c9315c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#21 0x00007fbd62c93dda in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#22 0x00007fbd62cbcc13 in ?? () from /usr/lib64/libQtCore.so.4
#23 0x00007fbd5a31262a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fbd5a315d00 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fbd5a315e9c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007fbd62cbc89f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#27 0x00007fbd63899b0f in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007fbd62c919f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#29 0x00007fbd62c91dbd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x00007fbd62c940a4 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#31 0x0000000000404099 in main (argc=1, argv=0x7fff6d3731e8) at /usr/src/debug/amarok-2.0.96/src/main.cpp:128

This bug may be a duplicate of or related to bug 180578
Comment 1 Alexey Shildyakov 2009-06-22 22:56:09 UTC
If you can reproduce it on Amarok 2.1.1:
Please read to provide us more information:
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

If no. We must change the status to the fixed.
Comment 2 Alexey Shildyakov 2009-06-23 01:01:46 UTC
*** Bug 194185 has been marked as a duplicate of this bug. ***
Comment 3 Alexey Shildyakov 2009-06-23 01:10:53 UTC
If you can reproduce this bug on stable Amarok 2.1.1 please reopen.

*** This bug has been marked as a duplicate of bug 180578 ***
Comment 4 Myriam Schweingruber 2009-06-23 14:02:10 UTC
Alexey, please don't do this...the first duplicate was right, the second was wrong, so please do NOT change anything yourself, it only increases our work
Comment 5 Myriam Schweingruber 2009-06-23 14:03:40 UTC
@fra: sorry for the noise, could you please provide a valid backtrace as suggested in Comment #1
Comment 6 Myriam Schweingruber 2009-07-30 18:58:08 UTC
Closing for lack of feedback.