Application: amarok (2.3.1.90) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-24-generic x86_64 Distribution: Ubuntu 10.04.1 LTS -- Information about the crash: When using the Amarok cover fetcher to save cover art tracks amarok crashes with only some tracks. The crash happens when I try to save the downloaded cover. If I just display the cover or select it as the album cover, there are no problems. The crash only happens after the file has been downloaded and the kde select file location dialogue is about the appear. This isn't a problem with most tracks, only a few. I've only found this problems with most (not all) tracks in my classical music folder. After randomly selecting about 30 songs that aren't classical I wasn't able to reproduce the problem. For tracks that experience this problem, right clicking on the album art in the Context widget and clicking "Set Custom Cover" results in no action (i.e. the kde file dialogue doesn't appear as it should). The crash can be reproduced every time. -- Backtrace: Application: Amarok (amarok), signal: Segmentation fault [Current thread is 1 (Thread 0x7f1cd6fbe7a0 (LWP 3213))] Thread 18 (Thread 0x7f1cb6065710 (LWP 3214)): #0 0x00007f1cd23c9bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cbaedd081 in ?? () from /usr/lib/libxine.so.1 #2 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #3 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 17 (Thread 0x7f1cb5864710 (LWP 3215)): #0 0x00007f1cd3f6df83 in poll () from /lib/libc.so.6 #1 0x00007f1ccd1c74a9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007f1ccd1c78fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007f1cd48d9566 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f1cd48ae992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f1cd48aed6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f1cd47b8d59 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f1cbb139440 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so #8 0x00007f1cd47bb775 in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #10 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 16 (Thread 0x7f1caff07710 (LWP 3221)): #0 0x00007f1cd3f6c4a2 in read () from /lib/libc.so.6 #1 0x00007f1cbf1f3fa5 in ?? () from /usr/lib/libasound.so.2 #2 0x00007f1cbf1eec98 in snd_hctl_handle_events () from /usr/lib/libasound.so.2 #3 0x00007f1cbf1f8a79 in snd_mixer_handle_events () from /usr/lib/libasound.so.2 #4 0x00007f1cb4e5e956 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so #5 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #6 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #7 0x0000000000000000 in ?? () Thread 15 (Thread 0x7f1cb3d02710 (LWP 3222)): #0 0x00007f1cd23c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cbaeede23 in ?? () from /usr/lib/libxine.so.1 #2 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #3 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 14 (Thread 0x7f1cab705710 (LWP 3223)): #0 0x00007f1cd23c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cbaeede23 in ?? () from /usr/lib/libxine.so.1 #2 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #3 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 13 (Thread 0x7f1cb30f6710 (LWP 3224)): #0 0x00007f1cd23c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cbaeede23 in ?? () from /usr/lib/libxine.so.1 #2 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #3 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 12 (Thread 0x7f1cb28f5710 (LWP 3225)): #0 0x00007f1cd23c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cbaeede23 in ?? () from /usr/lib/libxine.so.1 #2 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #3 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 11 (Thread 0x7f1cb0bc5710 (LWP 3227)): #0 0x00007f1cd3f6df83 in poll () from /lib/libc.so.6 #1 0x00007f1ccd1c74a9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007f1ccd1c78fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007f1cd48d9566 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f1cd48ae992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f1cd48aed6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f1cd47b8d59 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f1cd488f178 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f1cd47bb775 in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #10 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f1ca2c10710 (LWP 3228)): #0 0x00007f1cd23c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cd47bc72b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f1cd0e0f026 in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f1cd0e116ab in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f1cd0e116c4 in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f1cd0e0fbff in ?? () from /usr/lib/libthreadweaver.so.4 #6 0x00007f1cd0e10168 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #7 0x00007f1cd47bb775 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #9 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 9 (Thread 0x7f1ca1c0e710 (LWP 3231)): #0 0x00007f1cd23c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cd47bc72b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f1cd0e0f026 in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f1cd0e116ab in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f1cd0e116c4 in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f1cd0e0fbff in ?? () from /usr/lib/libthreadweaver.so.4 #6 0x00007f1cd0e10168 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #7 0x00007f1cd47bb775 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #9 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f1ca140d710 (LWP 3232)): #0 0x00007f1cd23c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cd47bc72b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f1cd0e0f026 in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f1cd0e116ab in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f1cd0e0fbff in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f1cd0e10168 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #6 0x00007f1cd47bb775 in ?? () from /usr/lib/libQtCore.so.4 #7 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #8 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #9 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f1ca0c0c710 (LWP 3233)): #0 0x00007f1cd23c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cd47bc72b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f1cd0e0f026 in ?? () from /usr/lib/libthreadweaver.so.4 #3 0x00007f1cd0e116ab in ?? () from /usr/lib/libthreadweaver.so.4 #4 0x00007f1cd0e116c4 in ?? () from /usr/lib/libthreadweaver.so.4 #5 0x00007f1cd0e116c4 in ?? () from /usr/lib/libthreadweaver.so.4 #6 0x00007f1cd0e116c4 in ?? () from /usr/lib/libthreadweaver.so.4 #7 0x00007f1cd0e0fbff in ?? () from /usr/lib/libthreadweaver.so.4 #8 0x00007f1cd0e10168 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4 #9 0x00007f1cd47bb775 in ?? () from /usr/lib/libQtCore.so.4 #10 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #11 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #12 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f1c9c7f2710 (LWP 3234)): #0 0x00007f1cd23c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cd067a2a6 in ?? () from /usr/lib/libQtScript.so.4 #2 0x00007f1cd067a2e9 in ?? () from /usr/lib/libQtScript.so.4 #3 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #4 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f1c8c3e6710 (LWP 3275)): #0 0x00007f1cd3f72fe3 in select () from /lib/libc.so.6 #1 0x00007f1cbaf062c5 in xine_usec_sleep () from /usr/lib/libxine.so.1 #2 0x00007f1cbaeeac99 in ?? () from /usr/lib/libxine.so.1 #3 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #4 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f1c8bbe5710 (LWP 3276)): #0 0x00007f1cd23c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cbaee093b in ?? () from /usr/lib/libxine.so.1 #2 0x00007f1cbaee69dd in ?? () from /usr/lib/libxine.so.1 #3 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #4 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f1c8b3e4710 (LWP 3277)): #0 0x00007f1cd23c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cbaee093b in ?? () from /usr/lib/libxine.so.1 #2 0x00007f1cbaee7a15 in ?? () from /usr/lib/libxine.so.1 #3 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #4 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f1c8abe3710 (LWP 3278)): #0 0x00007f1cd23c985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f1cbaef0f6b in ?? () from /usr/lib/libxine.so.1 #2 0x00007f1cd23c49ca in start_thread () from /lib/libpthread.so.0 #3 0x00007f1cd3f7a6fd in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f1cd6fbe7a0 (LWP 3213)): [KCrash Handler] #5 0x00007f1cd6319d40 in KSharedPtr<Meta::Track>::operator-> (this=0x3b826a0) at /usr/include/KDE/../ksharedptr.h:126 #6 CoverFoundDialog::saveAs (this=0x3b826a0) at /home/duncan/tmp/amarok-2.3.1.90/src/covermanager/CoverFoundDialog.cpp:380 #7 0x00007f1cd631a79d in CoverFoundDialog::qt_metacall (this=0x3b826a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffd2722d0) at /home/duncan/tmp/amarok-2.3.1.90/amarok-build/src/CoverFoundDialog.moc:132 #8 0x00007f1cd48c2e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #9 0x00007f1cd521e032 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4 #10 0x00007f1cd52200ab in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4 #11 0x00007f1cd565f39d in ?? () from /usr/lib/libQtGui.so.4 #12 0x00007f1cd5664dda in ?? () from /usr/lib/libQtGui.so.4 #13 0x00007f1cd527a582 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #14 0x00007f1cd5666f9b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4 #15 0x00007f1cd522422c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #16 0x00007f1cd522aecb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #17 0x00007f1cd6ada526 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #18 0x00007f1cd48b006c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #19 0x00007f1cd522a0ae in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #20 0x00007f1cd52aa3dd in ?? () from /usr/lib/libQtGui.so.4 #21 0x00007f1cd52a88ac in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #22 0x00007f1cd52d4882 in ?? () from /usr/lib/libQtGui.so.4 #23 0x00007f1ccd1c38c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #24 0x00007f1ccd1c7748 in ?? () from /lib/libglib-2.0.so.0 #25 0x00007f1ccd1c78fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #26 0x00007f1cd48d9513 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #27 0x00007f1cd52d446e in ?? () from /usr/lib/libQtGui.so.4 #28 0x00007f1cd48ae992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #29 0x00007f1cd48aed6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #30 0x00007f1cd56624e5 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/libQtGui.so.4 #31 0x00007f1cd6313076 in CoverFoundDialog::itemMenuRequested (this=0x3b826a0, pos=<value optimized out>) at /home/duncan/tmp/amarok-2.3.1.90/src/covermanager/CoverFoundDialog.cpp:368 #32 0x00007f1cd631a7e1 in CoverFoundDialog::qt_metacall (this=0x3b826a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffd273cc0) at /home/duncan/tmp/amarok-2.3.1.90/amarok-build/src/CoverFoundDialog.moc:128 #33 0x00007f1cd48c2e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #34 0x00007f1cd526d822 in QWidget::customContextMenuRequested(QPoint const&) () from /usr/lib/libQtGui.so.4 #35 0x00007f1cd527a982 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #36 0x00007f1cd56214e6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #37 0x00007f1cd575026b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #38 0x00007f1cd48af487 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #39 0x00007f1cd52241fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #40 0x00007f1cd522a8c3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #41 0x00007f1cd6ada526 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #42 0x00007f1cd48b006c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #43 0x00007f1cd52a9fb2 in ?? () from /usr/lib/libQtGui.so.4 #44 0x00007f1cd52a88ac in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #45 0x00007f1cd52d4882 in ?? () from /usr/lib/libQtGui.so.4 #46 0x00007f1ccd1c38c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #47 0x00007f1ccd1c7748 in ?? () from /lib/libglib-2.0.so.0 #48 0x00007f1ccd1c78fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #49 0x00007f1cd48d9513 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #50 0x00007f1cd52d446e in ?? () from /usr/lib/libQtGui.so.4 #51 0x00007f1cd48ae992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #52 0x00007f1cd48aed6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #53 0x00007f1cd48b2aab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #54 0x0000000000408789 in main (argc=1, argv=<value optimized out>) at /home/duncan/tmp/amarok-2.3.1.90/src/main.cpp:237 Reported using DrKonqi
Did you check the permissions of this folder?
All the music is on an NTFS drive which is set have 774 permissions when mounted. I double checked and the permissions problem files and working files are the same, and so are the permissions of their parent folders. I also recreated the crash again. In doing some more checks, I think I just discovered the cause of the problem. I just copied some of the music out of the Classical folder into the main music folder (leaving the original behind). I then dragged the folder onto the playlist. All the artist tags were incorrect. Recently I changed the formatting of the artist tags and the genre tags for all my classical music, and the dragged-in playlist was showing the old artist tags. It did not show the new artist tags that were displayed when creating a playlist from Amarok's "Local Music" option in the Media Sources view. I then rescanned the entire collection (Settings > Configure Amarok > Collection > Fully Rescan Entire Collection). The tags of the new folder then corrected themselves to show the new tags, but Amarok crashed when I tried to play the music in order to recreate this bug (I'm guessing an unrelated crash, which would need a separate bug report). I then deleted the copied folder and rescanned the entire collection again. Now everything seems to be back to normal and I am unable to recreate the bug that I reported above i.e. I can download an save album cover art without any problem for the previously problematic files. My best guess is that when I did group tag changes (select group of music with the same artist > Right click > Edit Track Details > Change the common artist tag > Save & Close) from the playlist, Amarok's database got itself into a knot which a full rescan seems to have fixed. The music in the group selection is likely to have had different file formats (mp3 and m4a). This would explain why the problem was localised to the classical music.
Thank you for the feedback. I close this bug for now, feel free to reopen it if you can reproduce it.