Bug 222528 - Error while closing Amarok
Summary: Error while closing Amarok
Status: RESOLVED DUPLICATE of bug 220532
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Local (show other bugs)
Version: 2.2.2
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 222737 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-13 13:11 UTC by s.zelman
Modified: 2010-01-17 11:07 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description s.zelman 2010-01-13 13:11:23 UTC
Application that crashed: amarok
Version of the application: 2.2.2
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-ARCH x86_64

What I was doing when the application crashed:
Error while closing Amarok (2.2.2)

 -- Backtrace:
Application: Amarok (amarok), signal: Aborted
[Current thread is 1 (Thread 0x7f1f0968b780 (LWP 7916))]

Thread 8 (Thread 0x7f1ef5899710 (LWP 7923)):
#0  0x00007f1f0626707c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f1f07b44c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f1f0419b286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#3  0x00007f1f0419d3bb in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#4  0x00007f1f0419d3d4 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#5  0x00007f1f0419b9bf in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#6  0x00007f1f0419be18 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f1f07b43ba5 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f1f0626281a in start_thread () from /lib/libpthread.so.0
#9  0x00007f1f0679cc7d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f1eeef8e710 (LWP 7924)):
#0  0x00007f1f0626707c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f1f07b44c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f1f0419b286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#3  0x00007f1f0419d3bb in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#4  0x00007f1f0419b9bf in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#5  0x00007f1f0419be18 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f1f07b43ba5 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f1f0626281a in start_thread () from /lib/libpthread.so.0
#8  0x00007f1f0679cc7d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1eee78d710 (LWP 7926)):
[KCrash Handler]
#5  0x00007f1f06700035 in raise () from /lib/libc.so.6
#6  0x00007f1f06701460 in abort () from /lib/libc.so.6
#7  0x00007f1f0673a3f7 in __libc_message () from /lib/libc.so.6
#8  0x00007f1f0673f876 in malloc_printerr () from /lib/libc.so.6
#9  0x00007f1f067445ac in free () from /lib/libc.so.6
#10 0x00007f1ef5e1fc4f in ScanResultProcessor::~ScanResultProcessor() () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#11 0x00007f1ef5e16d8d in XmlParseJob::run() () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#12 0x00007f1f0419c6bd in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#13 0x00007f1f0419c9be in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#14 0x00007f1f0419b98f in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#15 0x00007f1f0419be18 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#16 0x00007f1f07b43ba5 in ?? () from /usr/lib/libQtCore.so.4
#17 0x00007f1f0626281a in start_thread () from /lib/libpthread.so.0
#18 0x00007f1f0679cc7d in clone () from /lib/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1eedf8c710 (LWP 7927)):
#0  0x00007f1f0626707c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f1f07b44c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f1f0419b286 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#3  0x00007f1f0419d3bb in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#4  0x00007f1f0419b9bf in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#5  0x00007f1f0419be18 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f1f07b43ba5 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f1f0626281a in start_thread () from /lib/libpthread.so.0
#8  0x00007f1f0679cc7d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1eed78b710 (LWP 7929)):
#0  0x00007f1f067a975e in __lll_lock_wait_private () from /lib/libc.so.6
#1  0x00007f1f067461c8 in _L_lock_6630 () from /lib/libc.so.6
#2  0x00007f1f067445a1 in free () from /lib/libc.so.6
#3  0x00007f1effe1922b in magazine_cache_push_magazine () from /usr/lib/libglib-2.0.so.0
#4  0x00007f1effe19401 in private_thread_memory_cleanup () from /usr/lib/libglib-2.0.so.0
#5  0x00007f1f06261eb9 in __nptl_deallocate_tsd () from /lib/libpthread.so.0
#6  0x00007f1f06262828 in start_thread () from /lib/libpthread.so.0
#7  0x00007f1f0679cc7d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1ee7fff710 (LWP 7970)):
#0  0x00007f1f0626707c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f1f07b44c6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f1f0758d07e in ?? () from /usr/lib/libQtGui.so.4
#3  0x00007f1f07b43ba5 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f1f0626281a in start_thread () from /lib/libpthread.so.0
#5  0x00007f1f0679cc7d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1ee4988710 (LWP 7972)):
#0  0x00007f1f06794483 in poll () from /lib/libc.so.6
#1  0x00007f1effdffa0c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007f1effdffd50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f1f07c51176 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f1f07c27532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f1f07c27904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f1f07b40e4b in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f1f07c0ad48 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f1f07b43ba5 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f1f0626281a in start_thread () from /lib/libpthread.so.0
#10 0x00007f1f0679cc7d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1f0968b780 (LWP 7916)):
#0  0x00007f1f0676e39d in nanosleep () from /lib/libc.so.6
#1  0x00007f1f06796d74 in usleep () from /lib/libc.so.6
#2  0x00007f1ef5e19e3a in ScanManager::stopParser() () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#3  0x00007f1ef5e19f62 in ScanManager::abort(QString const&) () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#4  0x00007f1ef5e1d096 in ScanManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/amarok_collection-mysqlecollection.so
#5  0x00007f1f07c3dd3c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#6  0x00007f1f088b4396 in ProgressBar::cancel() () from /usr/lib/libamaroklib.so.1
#7  0x00007f1f088b5b45 in CompoundProgressBar::cancelAll() () from /usr/lib/libamaroklib.so.1
#8  0x00007f1f085005bc in CompoundProgressBar::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libamaroklib.so.1
#9  0x00007f1f07c3dd3c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#10 0x00007f1f076d9277 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#11 0x00007f1f0743ae6b in ?? () from /usr/lib/libQtGui.so.4
#12 0x00007f1f0743ca7b in ?? () from /usr/lib/libQtGui.so.4
#13 0x00007f1f0743ccc5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007f1f0750ab4a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007f1f07128ad0 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007f1f070da07c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007f1f070e1191 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007f1f0892621a in App::notify(QObject*, QEvent*) () from /usr/lib/libamaroklib.so.1
#19 0x00007f1f07c28bfc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0x00007f1f070e0a60 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib/libQtGui.so.4
#21 0x00007f1f07146a04 in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007f1f071456da in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007f1f0716d96c in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007f1effdfc26e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0x00007f1effdffc28 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#26 0x00007f1effdffd50 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#27 0x00007f1f07c51123 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007f1f0716d14e in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007f1f07c27532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007f1f07c27904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007f1f07c29ab9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#32 0x000000000040a1d4 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-13 13:38:51 UTC
This is likely to be the glibc bug : bug 196207.
- Does this happen everytime ?
Thanks
Comment 2 s.zelman 2010-01-13 19:38:54 UTC
No, it's erratic error. When i closing Amarok, collection scanner is running (via NFS), closing take a long time.
Comment 3 Myriam Schweingruber 2010-01-14 14:52:39 UTC
I suspect this to be a glibc problem. Could you try the following and see if this fixes the crash?

Please type the following three commands in a konsole, in that order:

  export QT_NO_GLIB=1
  export MALLOC_CHECK_=
  amarok -d --nofork

Then do a collection update and close it again once this is completed.
Comment 4 s.zelman 2010-01-14 18:28:57 UTC
Myriam Schweingruber: It crash again.
Dario Andres: Sorry, correction: Amarok crash everytime WHEN i will close it DURING scanning collection.
Comment 5 Myriam Schweingruber 2010-01-14 19:08:36 UTC
OK, thank you for the feedback. I guess it doesn't crash when you close it once the collection scan is completed?
Comment 6 Myriam Schweingruber 2010-01-14 19:09:53 UTC
*** Bug 222737 has been marked as a duplicate of this bug. ***
Comment 7 Myriam Schweingruber 2010-01-14 19:10:54 UTC
Confirmed by duplicate.
Comment 8 s.zelman 2010-01-14 19:48:55 UTC
Myriam Schweingruber: exactly, when amarokcollectionscanner process is not running, closing amarok realize correctly. Amarok crash only when scanner is running, after crashing, amarokcollectionscanner running continuously, must be killed. Excuse my English, isn't my native language.
Comment 9 Mikko C. 2010-01-17 11:07:19 UTC
same as bug 220532

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