Bug 200618 - Amarok 2.1 repeatedly crashes when trying to set Custom album cover
Summary: Amarok 2.1 repeatedly crashes when trying to set Custom album cover
Status: RESOLVED DUPLICATE of bug 200249
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.1.1
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-18 06:07 UTC by Balakrishnan Nair
Modified: 2009-07-18 16:34 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 Balakrishnan Nair 2009-07-18 06:07:16 UTC
Application that crashed: amarok
Version of the application: 2.1.1
KDE Version: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
Qt Version: 4.5.1
Operating System: Linux 2.6.28-14-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Running Amarok 2.1 on Gnome 2.26.0, on Ubuntu 9.04 64bit(using Kubuntu backports repository to run KDE 4.2.96)

While playing tracks with Amarok, I paused the track for a few minutes, upon returning to the PC and resuming playback, I noticed some of the tracks' album art was missing, and one track had been assigned the wrong artist, where previously it had all been displayed correctly. 'Update collection' had no effect. Upon manually making the corrections Amarok crashed when I tried to 'assign custom cover'.

Now Amarok rescans the Collection folder on each restart, again shows up with missing track info(like artist, album, album art), and crashes each time I try to assign custom cover.

I'm also using the Gnome Multimedia Keys Amarok script(ver 2.0), which goes into Zombie state using up ~20% CPU and persists even after Amarok crashes. Not sure if that has anything to do with it.

 -- Backtrace:
Application: Amarok (amarok), signal: Aborted
[Current thread is 0 (LWP 11259)]

Thread 10 (Thread 0x7f4b73421950 (LWP 11260)):
#0  0x00007f4b8d2a356d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4b77f04f91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f4b8d29f3ba in start_thread () from /lib/libpthread.so.0
#3  0x00007f4b8aacffcd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f4b72190950 (LWP 11261)):
#0  0x00007f4b8d2a2200 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x00007f4b837111d8 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007f4b837115ff in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f4b83711a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f4b8b6775de in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0x00007f4b8b64c732 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0x00007f4b8b64cafd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0x00007f4b8b561df8 in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0x00007f4b7816062c in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0x00007f4b8b564d92 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f4b8d29f3ba in start_thread () from /lib/libpthread.so.0
#11 0x00007f4b8aacffcd in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f4b7198f950 (LWP 11262)):
#0  0x00007f4b8aac6496 in poll () from /lib/libc.so.6
#1  0x00007f4b7280990d in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f4b727f9a19 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f4b727fb068 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f4b727fb130 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f4b7280970d in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f4b725ce400 in ?? () from /usr/lib/libpulsecommon-0.9.15.so
#7  0x00007f4b8d29f3ba in start_thread () from /lib/libpthread.so.0
#8  0x00007f4b8aacffcd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f4b6d18d950 (LWP 11263)):
#0  0x00007f4b8d2a32e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4b77f16353 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f4b8d29f3ba in start_thread () from /lib/libpthread.so.0
#3  0x00007f4b8aacffcd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f4b6c789950 (LWP 11264)):
#0  0x00007f4b8d2a32e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4b77f16353 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f4b8d29f3ba in start_thread () from /lib/libpthread.so.0
#3  0x00007f4b8aacffcd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f4b6b27f950 (LWP 11266)):
#0  0x00007f4b8d2a32e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4b8b565d79 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f4b87dce5e4 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f4b87dd0d93 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f4b87dcf30f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f4b87dcf769 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#6  0x00007f4b8b564d92 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f4b8d29f3ba in start_thread () from /lib/libpthread.so.0
#8  0x00007f4b8aacffcd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4b5eab6950 (LWP 11267)):
#0  0x00007f4b8d2a32e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4b8b565d79 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f4b87dce5e4 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f4b87dd0d93 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f4b87dcf30f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f4b87dcf769 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#6  0x00007f4b8b564d92 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f4b8d29f3ba in start_thread () from /lib/libpthread.so.0
#8  0x00007f4b8aacffcd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4b5dab4950 (LWP 11270)):
#0  0x00007f4b8d2a32e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4b8b565d79 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f4b87dce5e4 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f4b87dd0d93 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f4b87dcf30f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f4b87dcf769 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#6  0x00007f4b8b564d92 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f4b8d29f3ba in start_thread () from /lib/libpthread.so.0
#8  0x00007f4b8aacffcd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4b5d2b3950 (LWP 11271)):
#0  0x00007f4b8d2a32e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4b8b565d79 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f4b87dce5e4 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f4b87dd0d93 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f4b87dcf30f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f4b87dcf769 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#6  0x00007f4b8b564d92 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f4b8d29f3ba in start_thread () from /lib/libpthread.so.0
#8  0x00007f4b8aacffcd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4b8e5c4760 (LWP 11259)):
[KCrash Handler]
#5  0x00007f4b8aa1cfb5 in raise () from /lib/libc.so.6
#6  0x00007f4b8aa1ebc3 in abort () from /lib/libc.so.6
#7  0x00007f4b8b55ccf5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00007f4b8b55ce3b in qFatal () from /usr/lib/libQtCore.so.4
#9  0x00007f4b8da4c2f0 in SetCustomCoverAction::slotTriggered () from /usr/lib/libamaroklib.so.1
#10 0x00007f4b8da4b983 in BaseCoverAction::qt_metacall () from /usr/lib/libamaroklib.so.1
#11 0x00007f4b8da4b9be in SetCustomCoverAction::qt_metacall () from /usr/lib/libamaroklib.so.1
#12 0x00007f4b8b663962 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0x00007f4b8c1c5b87 in QAction::triggered () from /usr/lib/libQtGui.so.4
#14 0x00007f4b8c1c7000 in QAction::activate () from /usr/lib/libQtGui.so.4
#15 0x00007f4b8c5f8a7d in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007f4b8c5fea6e in ?? () from /usr/lib/libQtGui.so.4
#17 0x00007f4b8e0c1aa1 in KMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.5
#18 0x00007f4b8c21cdef in QWidget::event () from /usr/lib/libQtGui.so.4
#19 0x00007f4b8c6012bb in QMenu::event () from /usr/lib/libQtGui.so.4
#20 0x00007f4b8c1cbb9d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#21 0x00007f4b8c1d454a in QApplication::notify () from /usr/lib/libQtGui.so.4
#22 0x00007f4b8dfee63b in KApplication::notify () from /usr/lib/libkdeui.so.5
#23 0x00007f4b8b64de8c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#24 0x00007f4b8c1d3798 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#25 0x00007f4b8c23d944 in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007f4b8c23c7f5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#27 0x00007f4b8c264f84 in ?? () from /usr/lib/libQtGui.so.4
#28 0x00007f4b8370e20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007f4b837118e0 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007f4b83711a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007f4b8b6775bf in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#32 0x00007f4b8c26470f in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007f4b8b64c732 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#34 0x00007f4b8b64cafd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#35 0x00007f4b8c601115 in QMenu::exec () from /usr/lib/libQtGui.so.4
#36 0x00007f4b8da92b1c in TagDialog::showCoverMenu () from /usr/lib/libamaroklib.so.1
#37 0x00007f4b8daacf8a in TagDialog::qt_metacall () from /usr/lib/libamaroklib.so.1
#38 0x00007f4b8b663962 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#39 0x00007f4b8c20f4d2 in QWidget::customContextMenuRequested () from /usr/lib/libQtGui.so.4
#40 0x00007f4b8c21d24a in QWidget::event () from /usr/lib/libQtGui.so.4
#41 0x00007f4b8c5ba45b in QFrame::event () from /usr/lib/libQtGui.so.4
#42 0x00007f4b8c1cbb9d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#43 0x00007f4b8c1d428a in QApplication::notify () from /usr/lib/libQtGui.so.4
#44 0x00007f4b8dfee63b in KApplication::notify () from /usr/lib/libkdeui.so.5
#45 0x00007f4b8b64de8c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#46 0x00007f4b8c23ddca in ?? () from /usr/lib/libQtGui.so.4
#47 0x00007f4b8c23c7f5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#48 0x00007f4b8c264f84 in ?? () from /usr/lib/libQtGui.so.4
#49 0x00007f4b8370e20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0x00007f4b837118e0 in ?? () from /usr/lib/libglib-2.0.so.0
#51 0x00007f4b83711a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0x00007f4b8b6775bf in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#53 0x00007f4b8c26470f in ?? () from /usr/lib/libQtGui.so.4
#54 0x00007f4b8b64c732 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#55 0x00007f4b8b64cafd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#56 0x00007f4b8b64edc4 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#57 0x0000000000533069 in _start ()

This bug may be a duplicate of or related to bug 200249

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-07-18 13:04:02 UTC
Sorry, but your backtrace lacks quite some debugging symbols. If you can reproduce this crash, please see here on how to reproduce a valid backtrace:

http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

On Ubuntu, you need to install the amarok-dbg files at least. Ideally you should install all debugging packages for the applications you are running.
Comment 2 Balakrishnan Nair 2009-07-18 16:18:08 UTC
After filing this bug report, I uninstalled Amarok 2 and dependencies(including configuration files), and installed Amarok 1.4(using a Launchpad PPA https://launchpad.net/~bogdanb/+archive/ppa ) since Amarok 2 had become pretty much unusable with the collection full of errors. It would keep updating the collection database and new errors kept popping up. Reinstalling Amarok 2 or manually rescanning the collection didn't seem to make any difference. 
So I just switched to Amarok 1.4 and rescanned the collection(SQLite).

It was only then that I saw Myriam Schweingruber's  comment here. So I then uninstalled 1.4 and reinstalled Amarok 2 and the dbg package(~180 MB).
The entire collection at ~/Music was rescanned, and library info now shows correctly including album art.

The trouble is, I no longer get the crash when assigning custom covers, and can't reproduce the bug. I've tried all the stuff I was doing when the trouble started, but so far Amarok has remained frustratingly stable. Everything seems OK, including the Gnome Multimedia Keys plugin.

Since the bug seems to have been marked Resolved (in Amarok 2.2) here 
https://bugs.kde.org/show_bug.cgi?id=200249

I'm going to hope for the best and stick with things as they are for now and not mess up my current set-up. I'll update this with as much debugging info as possible if this happens again(fingers crossed).

Regards to all and many thanks.
Comment 3 Myriam Schweingruber 2009-07-18 16:34:39 UTC
You are welcome, thanks for your report and feedback. Marking as solved then (duplicate of 200249). Feel free to reopen if you should come across this again once Amarok 2.2. is released.

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