Bug 260987 - Amarok crashes on exit [@ ScannerJob::run]
Summary: Amarok crashes on exit [@ ScannerJob::run]
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Local (show other bugs)
Version: 2.5.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 271246 288385 300999 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-22 17:01 UTC by GeoK
Modified: 2012-11-29 10:45 UTC (History)
8 users (show)

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


Attachments
New crash information added by DrKonqi (3.92 KB, text/plain)
2011-05-03 04:50 UTC, phatfriar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description GeoK 2010-12-22 17:01:09 UTC
Application: amarok (2.3.90)
KDE Platform Version: 4.5.85 (4.6 Beta2)
Qt Version: 4.7.1
Operating System: Linux 2.6.31.14-0.4-default i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
When I exit amarok from the system tray menu, it crashes almost every time.

The crash can be reproduced every time.

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

Thread 8 (Thread 0xa7845b70 (LWP 1227)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5252d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb57c339c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb47c6147 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb48ca1a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xb47c618f in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb48ca1a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0xb524e6e5 in start_thread () from /lib/libpthread.so.0
#6  0xb524e600 in ?? () from /lib/libpthread.so.0

Thread 7 (Thread 0xa1130b70 (LWP 1238)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5252d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb57c339c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb64ab9a0 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:160
#5  0xb4e83e76 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x961f248, th=0x961f708) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4e7f59a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x961f248, th=0x961f708) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb4e85ef4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a70c30, th=0x961f708) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb4e85fa3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961f248, th=0x961f708, previous=0x0) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb4e85f10 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a70c30, th=0x961f708) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb4e85fa3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961f248, th=0x961f708, previous=0x9e368d0) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb4e80b64 in ThreadWeaver::ThreadRunHelper::run (this=0xa1130324, parent=0x961f248, th=0x961f708) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/Thread.cpp:87
#12 0xb4e8238a in ThreadWeaver::Thread::run (this=0x961f708) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/Thread.cpp:142
#13 0xb64aad4a in QThreadPrivate::start (arg=0x961f708) at thread/qthread_unix.cpp:285
#14 0xb524e6e5 in start_thread () from /lib/libpthread.so.0
#15 0xb524e600 in ?? () from /lib/libpthread.so.0

Thread 6 (Thread 0xa092fb70 (LWP 1239)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5252d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb57c339c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb64ab9a0 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:160
#5  0xb4e83e76 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x961f248, th=0x8d88fa8) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4e7f59a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x961f248, th=0x8d88fa8) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb4e85ef4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a70c30, th=0x8d88fa8) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb4e85fa3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961f248, th=0x8d88fa8, previous=0x0) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb4e85f10 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a70c30, th=0x8d88fa8) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb4e85fa3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961f248, th=0x8d88fa8, previous=0x9e72e20) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb4e80b64 in ThreadWeaver::ThreadRunHelper::run (this=0xa092f324, parent=0x961f248, th=0x8d88fa8) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/Thread.cpp:87
#12 0xb4e8238a in ThreadWeaver::Thread::run (this=0x8d88fa8) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/Thread.cpp:142
#13 0xb64aad4a in QThreadPrivate::start (arg=0x8d88fa8) at thread/qthread_unix.cpp:285
#14 0xb524e6e5 in start_thread () from /lib/libpthread.so.0
#15 0xb524e600 in ?? () from /lib/libpthread.so.0

Thread 5 (Thread 0xa012eb70 (LWP 1240)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5252d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb57c339c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb64ab9a0 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:160
#5  0xb4e83e76 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x961f248, th=0x8990c38) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4e7f59a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x961f248, th=0x8990c38) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb4e85ef4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a70c30, th=0x8990c38) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb4e85fa3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961f248, th=0x8990c38, previous=0x0) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb4e85f10 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8a70c30, th=0x8990c38) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb4e85fa3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x961f248, th=0x8990c38, previous=0x9bcfa00) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb4e80b64 in ThreadWeaver::ThreadRunHelper::run (this=0xa012e324, parent=0x961f248, th=0x8990c38) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/Thread.cpp:87
#12 0xb4e8238a in ThreadWeaver::Thread::run (this=0x8990c38) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/Thread.cpp:142
#13 0xb64aad4a in QThreadPrivate::start (arg=0x8990c38) at thread/qthread_unix.cpp:285
#14 0xb524e6e5 in start_thread () from /lib/libpthread.so.0
#15 0xb524e600 in ?? () from /lib/libpthread.so.0

Thread 4 (Thread 0xa4cbfb70 (LWP 1277)):
[KCrash Handler]
#7  QXmlStreamReader::atEnd (this=0x9bd376c) at xml/qxmlstream.cpp:570
#8  0xaa7d3000 in ScannerJob::run (this=0x9bd3730) at /usr/src/debug/amarok-2.3.90/src/core-impl/collections/db/ScanManager.cpp:381
#9  0xb4e8456d in ThreadWeaver::JobRunHelper::runTheJob (this=0xa4cbf29c, th=0x8b34df8, job=0x9bd3730) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/Job.cpp:106
#10 0xb4e846d3 in ThreadWeaver::Job::execute (this=0x9bd3730, th=0x8b34df8) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/Job.cpp:135
#11 0xb4e80b32 in ThreadWeaver::ThreadRunHelper::run (this=0xa4cbf324, parent=0x961f248, th=0x8b34df8) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/Thread.cpp:95
#12 0xb4e8238a in ThreadWeaver::Thread::run (this=0x8b34df8) at /usr/src/debug/kdelibs-4.5.85/threadweaver/Weaver/Thread.cpp:142
#13 0xb64aad4a in QThreadPrivate::start (arg=0x8b34df8) at thread/qthread_unix.cpp:285
#14 0xb524e6e5 in start_thread () from /lib/libpthread.so.0
#15 0xb524e600 in ?? () from /lib/libpthread.so.0

Thread 3 (Thread 0xa1951b70 (LWP 2874)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5252d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb57c339c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb64ab9a0 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:160
#5  0xb605d394 in QFileInfoGatherer::run (this=0x9989e9c) at dialogs/qfileinfogatherer.cpp:214
#6  0xb64aad4a in QThreadPrivate::start (arg=0x9989e9c) at thread/qthread_unix.cpp:285
#7  0xb524e6e5 in start_thread () from /lib/libpthread.so.0
#8  0xb524e600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0x9f0e3b70 (LWP 2875)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb57aae4e in poll () from /lib/libc.so.6
#2  0xb42c1cab in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb42b4bc1 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb42b4ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb65e3bbf in QEventDispatcherGlib::processEvents (this=0x97e5480, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb65b2d2d in QEventLoop::processEvents (this=0x9f0e32c0, flags=) at kernel/qeventloop.cpp:149
#7  0xb65b31b9 in QEventLoop::exec (this=0x9f0e32c0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb64a795b in QThread::exec (this=0x9a48698) at thread/qthread.cpp:490
#9  0xb65906cd in QInotifyFileSystemWatcherEngine::run (this=0x9a48698) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb64aad4a in QThreadPrivate::start (arg=0x9a48698) at thread/qthread_unix.cpp:285
#11 0xb524e6e5 in start_thread () from /lib/libpthread.so.0
#12 0xb524e600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb1ba6b10 (LWP 1212)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5255863 in __lll_lock_wait_private () from /lib/libpthread.so.0
#2  0xb5252c8f in _L_lock_20 () from /lib/libpthread.so.0
#3  0xb5252b26 in pthread_cond_destroy@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#4  0xb57c32c4 in pthread_cond_destroy () from /lib/libc.so.6
#5  0xaaa342d3 in my_thread_end () at ../../mysys/my_thr_init.c:347
#6  0xaaa28904 in mysql_thread_end () at libmysql.c:248
#7  0xaaa19909 in ~ThreadInitializer (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/src/debug/amarok-2.3.90/src/core-impl/collections/db/sql/mysql-shared/MySqlStorage.cpp:64
#8  QThreadStorage<ThreadInitializer*>::deleteData (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/QtCore/qthreadstorage.h:133
#9  0xb64a8e35 in QThreadStorageData::finish (p=0x8066098) at thread/qthreadstorage.cpp:185
#10 0xb65b78f7 in QCoreApplicationPrivate::~QCoreApplicationPrivate (this=0x81760b8, __in_chrg=<value optimized out>) at kernel/qcoreapplication.cpp:291
#11 0xb5aa036b in QApplicationPrivate::~QApplicationPrivate (this=0x81760b8, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:217
#12 0xb65cefcf in cleanup (pointer=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62
#13 ~QScopedPointer (pointer=<value optimized out>) at ../../src/corelib/tools/qscopedpointer.h:100
#14 QObject::~QObject (pointer=<value optimized out>) at kernel/qobject.cpp:963
#15 0xb65b5768 in QCoreApplication::~QCoreApplication (this=0xbffc8a48, __in_chrg=<value optimized out>) at kernel/qcoreapplication.cpp:648
#16 0xb5a9ef3b in QApplication::~QApplication (this=0xbffc8a48, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1195
#17 0xb755f4d8 in KApplication::~KApplication (this=0xbffc8a48, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.85/kdeui/kernel/kapplication.cpp:909
#18 0xb755f5e8 in KUniqueApplication::~KUniqueApplication (this=0xbffc8a48, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.85/kdeui/kernel/kuniqueapplication.cpp:346
#19 0xb6f32f02 in App::~App (this=0xbffc8a48, __in_chrg=<value optimized out>) at /usr/src/debug/amarok-2.3.90/src/App.cpp:286
#20 0x08050f4f in main (argc=1, argv=0xbffc93f4) at /usr/src/debug/amarok-2.3.90/src/main.cpp:261

Reported using DrKonqi
Comment 1 Kevin Funk 2011-02-06 03:26:51 UTC
Fixed by now with 2.4.0?
Comment 2 Myriam Schweingruber 2011-04-19 15:28:47 UTC
Closing for lack of feedback. Likely fixed in 2.4.1
Comment 3 Myriam Schweingruber 2011-04-19 15:32:30 UTC
*** Bug 271246 has been marked as a duplicate of this bug. ***
Comment 4 phatfriar 2011-05-03 04:50:20 UTC
Created attachment 59565 [details]
New crash information added by DrKonqi

amarok (2.4.0) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

I attemted to close the application from the panel. It crashed.

-- Backtrace (Reduced):
#7  QXmlStreamReader::atEnd (this=0xa2edef4) at xml/qxmlstream.cpp:570
#8  0x04c73718 in ScannerJob::run (this=0xa2edeb8) at ../../../../../../src/core-impl/collections/db/ScanManager.cpp:382
#9  0x003097f4 in ThreadWeaver::JobRunHelper::runTheJob (this=0xa40ff20c, th=0xa341e80, job=0xa2edeb8) at ../../../threadweaver/Weaver/Job.cpp:106
#10 0x00309941 in ThreadWeaver::Job::execute (this=0xa2edeb8, th=0xa341e80) at ../../../threadweaver/Weaver/Job.cpp:135
#11 0x00308f6a in ThreadWeaver::ThreadRunHelper::run (this=0xa40ff294, parent=0xa3afcc8, th=0xa341e80) at ../../../threadweaver/Weaver/Thread.cpp:95
Comment 5 Myriam Schweingruber 2012-05-31 18:11:52 UTC
*** Bug 288385 has been marked as a duplicate of this bug. ***
Comment 6 Myriam Schweingruber 2012-06-03 11:53:50 UTC
Reopening based on various reports from Opensuse users. Can't reproduce this with Amarok 2.5-git of today, using Kubuntu 12.04 and KDE 4.8.3.

Please all, test amarok 2.6 beta 1 to see if you can still reproduce this.
Comment 7 Myriam Schweingruber 2012-06-03 11:54:03 UTC
*** Bug 300999 has been marked as a duplicate of this bug. ***
Comment 8 Myriam Schweingruber 2012-11-29 10:45:19 UTC
I can't reproduce this crash at all, be this with 2.6 final or 2.6-git.