Bug 222713 - startup, scanning, after update
Summary: startup, scanning, after update
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Unclassified
Component: general (show other bugs)
Version: 2.2.2
Platform: Unlisted Binaries Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-14 14:54 UTC by Sebastian Insua-Summerhays
Modified: 2010-01-14 15:30 UTC (History)
0 users

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 Sebastian Insua-Summerhays 2010-01-14 14:54:24 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 i686

What I was doing when the application crashed:
Updated amarok using pacman on Arch Linux. On next run it started to search for music files on my computer as it normally does, and then crashed.

I can replicate it by starting Amarok again. Every single time it crashes while scanning.

I'm happy to provide more information if you have any questions...

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

Thread 5 (Thread 0xafc80b70 (LWP 13987)):
#0  0xb7781424 in __kernel_vsyscall ()
#1  0xb5b9e953 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb5b34d4f in _L_lock_7346 () from /lib/libc.so.6
#3  0xb5b33536 in free () from /lib/libc.so.6
#4  0xb66e01ed in qFree(void*) () from /usr/lib/libQtCore.so.4
#5  0xb6707eed in QHashData::freeNode(void*) () from /usr/lib/libQtCore.so.4
#6  0xb0071bcb in QHash<QString, QStringList*>::freeData(QHashData*) () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#7  0xb005d284 in ScanResultProcessor::~ScanResultProcessor() () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#8  0xb0052f60 in XmlParseJob::run() () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#9  0xb563d32d in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#10 0xb563d691 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#11 0xb563c33a in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#12 0xb563c98b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0xb66e5922 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb5a5d8ac in start_thread () from /lib/libpthread.so.0
#15 0xb5b9101e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xaeecdb70 (LWP 13988)):
[KCrash Handler]
#6  0xb7781424 in __kernel_vsyscall ()
#7  0xb5aed571 in raise () from /lib/libc.so.6
#8  0xb5aeed72 in abort () from /lib/libc.so.6
#9  0xb5b28d95 in __libc_message () from /lib/libc.so.6
#10 0xb5b2ec31 in malloc_printerr () from /lib/libc.so.6
#11 0xb5b2f06e in malloc_consolidate () from /lib/libc.so.6
#12 0xb5b3118d in _int_malloc () from /lib/libc.so.6
#13 0xb5b336a4 in malloc () from /lib/libc.so.6
#14 0xafe6dd4f in my_malloc () from /usr/lib/libmysqlclient.so.16
#15 0xafe74e48 in my_uncompress () from /usr/lib/libmysqlclient.so.16
#16 0xafe9c98f in my_net_read () from /usr/lib/libmysqlclient.so.16
#17 0xafe96904 in cli_safe_read () from /usr/lib/libmysqlclient.so.16
#18 0xafe97025 in cli_read_query_result () from /usr/lib/libmysqlclient.so.16
#19 0xafe95286 in mysql_real_query () from /usr/lib/libmysqlclient.so.16
#20 0xafe6b545 in mysql_query () from /usr/lib/libmysqlclient.so.16
#21 0xb00aaa5a in MySqlCollection::query(QString const&) () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#22 0xb00ac122 in MySqlServerCollection::query(QString const&) () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#23 0xb008866d in SqlQueryMakerInternal::run() () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#24 0xb0085e75 in SqlWorkerThread::run() () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#25 0xb563d32d in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#26 0xb563d691 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#27 0xb563c33a in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#28 0xb563c98b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#29 0xb66e5922 in ?? () from /usr/lib/libQtCore.so.4
#30 0xb5a5d8ac in start_thread () from /lib/libpthread.so.0
#31 0xb5b9101e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xadecbb70 (LWP 13991)):
#0  0xb7781424 in __kernel_vsyscall ()
#1  0xb5a61e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5b9e5fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb66e4fe2 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb66e06ca in QMutex::lock() () from /usr/lib/libQtCore.so.4
#5  0xb00ac13b in MySqlServerCollection::query(QString const&) () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#6  0xb008866d in SqlQueryMakerInternal::run() () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#7  0xb0085e75 in SqlWorkerThread::run() () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#8  0xb563d32d in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#9  0xb563d691 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#10 0xb563c33a in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#11 0xb563c98b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0xb66e5922 in ?? () from /usr/lib/libQtCore.so.4
#13 0xb5a5d8ac in start_thread () from /lib/libpthread.so.0
#14 0xb5b9101e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xad6cab70 (LWP 13992)):
#0  0xb7781424 in __kernel_vsyscall ()
#1  0xb5a61e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5b9e5fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb66e4fe2 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb66e06ca in QMutex::lock() () from /usr/lib/libQtCore.so.4
#5  0xb00ac13b in MySqlServerCollection::query(QString const&) () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#6  0xb008866d in SqlQueryMakerInternal::run() () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#7  0xb0085e75 in SqlWorkerThread::run() () from /usr/lib/kde4/amarok_collection-mysqlservercollection.so
#8  0xb563d32d in ThreadWeaver::JobRunHelper::runTheJob(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /usr/lib/libthreadweaver.so.4
#9  0xb563d691 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#10 0xb563c33a in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#11 0xb563c98b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0xb66e5922 in ?? () from /usr/lib/libQtCore.so.4
#13 0xb5a5d8ac in start_thread () from /lib/libpthread.so.0
#14 0xb5b9101e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2561730 (LWP 13984)):
#0  0xb7781424 in __kernel_vsyscall ()
#1  0xb5b9e953 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb5b34d4f in _L_lock_7346 () from /lib/libc.so.6
#3  0xb5b33536 in free () from /lib/libc.so.6
#4  0xb66e01ed in qFree(void*) () from /usr/lib/libQtCore.so.4
#5  0xb672abf0 in QString::free(QString::Data*) () from /usr/lib/libQtCore.so.4
#6  0xb3ec4e08 in QMap<QString, QString>::freeData(QMapData*) () from /usr/lib/libkio.so.5
#7  0xb3fd1742 in KIO::SlaveInterface::~SlaveInterface() () from /usr/lib/libkio.so.5
#8  0xb3fc26bd in KIO::Slave::~Slave() () from /usr/lib/libkio.so.5
#9  0xb3fbf856 in void qDeleteAll<QHash<QString, KIO::SchedulerPrivate::ProtocolInfo*>::const_iterator>(QHash<QString, KIO::SchedulerPrivate::ProtocolInfo*>::const_iterator, QHash<QString, KIO::SchedulerPrivate::ProtocolInfo*>::const_iterator) () from /usr/lib/libkio.so.5
#10 0xb3fbbdde in ._260::destroy() () from /usr/lib/libkio.so.5
#11 0xb3eefebb in KCleanUpGlobalStatic::~KCleanUpGlobalStatic() () from /usr/lib/libkio.so.5
#12 0xb5af04bf in __run_exit_handlers () from /lib/libc.so.6
#13 0xb5af052f in exit () from /lib/libc.so.6
#14 0xb1d16dc0 in gdk_x_io_error () from /usr/lib/libgdk-x11-2.0.so.0
#15 0xb75a0f1a in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#16 0xb75a0f56 in kde_xio_errhandler () from /usr/lib/libkdeui.so.5
#17 0xb59586c6 in _XIOError () from /usr/lib/libX11.so.6
#18 0xb595f9ea in process_responses () from /usr/lib/libX11.so.6
#19 0xb5960326 in _XEventsQueued () from /usr/lib/libX11.so.6
#20 0xb5948fef in XEventsQueued () from /usr/lib/libX11.so.6
#21 0xb5ec83de in ?? () from /usr/lib/libQtGui.so.4
#22 0xb3d71470 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#23 0xb3d71811 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#24 0xb3d71d23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0xb67fe62f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0xb5ec8185 in ?? () from /usr/lib/libQtGui.so.4
#27 0xb67d2479 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0xb67d28ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0xb67d4d3f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#30 0xb5e2a227 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#31 0x08052137 in _start ()

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-01-14 14:59:01 UTC
Please type the following three commands in a konsole, in that order:

  export QT_NO_GLIB=1
  export MALLOC_CHECK_=
  amarok -d --nofork
  
If this solves the problem, then it is the glibc bug 196207. You should make sure to have a patched glibc version, then.
Comment 2 Sebastian Insua-Summerhays 2010-01-14 15:01:43 UTC
It started working again. I've no idea why... :/
Comment 3 Myriam Schweingruber 2010-01-14 15:30:39 UTC
(In reply to comment #2)
> It started working again. I've no idea why... :/

After having used the commands I told you or just like this?