Bug 301098 - Amarok 2 crashed
Summary: Amarok 2 crashed
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.5.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 2.6
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-03 10:11 UTC by Julian Ju
Modified: 2012-06-23 17:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ju 2012-06-03 10:11:43 UTC
Application: amarok (2.5.0)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.2
Operating System: Linux 3.3.7-1.fc16.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed: Upgraded from Fc15 to F16. Using KDE. Started Amarok 2 (with some plugins and scripts active still from Fc15). Amarok 2 started without any problem. Played a random song and not only Amarok froze but the entire Fc16 froze with it (right click on desktop, task manager panel, etc.) but the music kept playing. Thought it was a delay and should unfreez at the next song. It didn't. Logout, login, remove amarok 2, clean install amarok 2, gave me an error about path/to/source for plugins, I hit OK. Tried again to start for a second showed the slapsh screen and crashed. 

- Custom settings of the application: About the same time in terminal I finished updating krb5-degubinfo.x86_64 0:1.9.3-2.fc16 from updates-testing-debuginfo repo.

-- Backtrace:
Application: Amarok (amarok), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
87	  int result = INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
[Current thread is 1 (Thread 0x7f9952632880 (LWP 4896))]

Thread 6 (Thread 0x7f99413ac700 (LWP 4900)):
#0  g_main_context_prepare (context=0x7f993c0026c0, priority=0x7f99413abba8) at gmain.c:2767
#1  0x00000031d7a452dd in g_main_context_iterate (context=0x7f993c0026c0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3069
#2  0x00000031d7a4590c in g_main_context_iteration (context=0x7f993c0026c0, may_block=1) at gmain.c:3152
#3  0x00000031e0fa9246 in QEventDispatcherGlib::processEvents (this=0x7f993c0025a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00000031e0f79312 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00000031e0f79567 in QEventLoop::exec (this=0x7f99413abcd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00000031e0e78b87 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00000031e0f58f9f in QInotifyFileSystemWatcherEngine::run (this=0xf83b10) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00000031e0e7bbcb in QThreadPrivate::start (arg=0xf83b10) at thread/qthread_unix.cpp:307
#9  0x00000031d5607d90 in start_thread (arg=0x7f99413ac700) at pthread_create.c:309
#10 0x00000031d4ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f9939444700 (LWP 4901)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000031e0e7c0db in wait (time=18446744073709551615, this=0x7f992c021c00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f992c00fd60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000031e0e768c6 in QReadWriteLock::lockForWrite (this=0x7f992c028fe0) at thread/qreadwritelock.cpp:293
#4  0x00000031e2d839bd in KMimeTypeRepository::findFromFileName (this=0x7f992c028f90, fileName=..., pMatchingExtension=0x0) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetyperepository.cpp:193
#5  0x00000031e2d78731 in KMimeType::findByUrlHelper (_url=..., mode=<optimized out>, is_local_file=true, device=0x7f9939443a70, accuracy=0x7f9939443ad8) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetype.cpp:202
#6  0x00000031e2d78ec1 in KMimeType::findByUrl (url=..., mode=32768, is_local_file=<optimized out>, fast_mode=<optimized out>, accuracy=<optimized out>) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetype.cpp:323
#7  0x00000031e9138d78 in KFileItem::mimeTypePtr (this=0x7f9939443b20) at /usr/src/debug/kdelibs-4.8.3/kio/kio/kfileitem.cpp:1455
#8  0x00007f9953b85f28 in EngineController::canDecode(KUrl const&) () from /usr/lib64/libamaroklib.so.1
#9  0x00007f9953a43740 in CollectionManager::trackForUrl(KUrl const&) () from /usr/lib64/libamaroklib.so.1
#10 0x00007f99539e9bac in ?? () from /usr/lib64/libamaroklib.so.1
#11 0x00000031eae0c9fb in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f9939443ca0, th=0x105c0f0, job=0x105b5f0) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Job.cpp:106
#12 0x00000031eae0cb6c in ThreadWeaver::Job::execute (this=0x105b5f0, th=0x105c0f0) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Job.cpp:135
#13 0x00000031eae0c1bf in ThreadWeaver::ThreadRunHelper::run (this=0x7f9939443d20, parent=0x105bd20, th=0x105c0f0) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Thread.cpp:95
#14 0x00000031eae0c27b in ThreadWeaver::Thread::run (this=0x105c0f0) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Thread.cpp:142
#15 0x00000031e0e7bbcb in QThreadPrivate::start (arg=0x105c0f0) at thread/qthread_unix.cpp:307
#16 0x00000031d5607d90 in start_thread (arg=0x7f9939444700) at pthread_create.c:309
#17 0x00000031d4ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f9938c43700 (LWP 4902)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x00000031e0e7c0db in wait (time=18446744073709551615, this=0x7f992c021c00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f992c00fd60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000031e0e768c6 in QReadWriteLock::lockForWrite (this=0x7f992c028fe0) at thread/qreadwritelock.cpp:293
#4  0x00000031e2d839bd in KMimeTypeRepository::findFromFileName (this=0x7f992c028f90, fileName=..., pMatchingExtension=0x0) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetyperepository.cpp:193
#5  0x00000031e2d78731 in KMimeType::findByUrlHelper (_url=..., mode=<optimized out>, is_local_file=true, device=0x7f9938c42a70, accuracy=0x7f9938c42ad8) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetype.cpp:202
#6  0x00000031e2d78ec1 in KMimeType::findByUrl (url=..., mode=32768, is_local_file=<optimized out>, fast_mode=<optimized out>, accuracy=<optimized out>) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetype.cpp:323
#7  0x00000031e9138d78 in KFileItem::mimeTypePtr (this=0x7f9938c42b20) at /usr/src/debug/kdelibs-4.8.3/kio/kio/kfileitem.cpp:1455
#8  0x00007f9953b85f28 in EngineController::canDecode(KUrl const&) () from /usr/lib64/libamaroklib.so.1
#9  0x00007f9953a43740 in CollectionManager::trackForUrl(KUrl const&) () from /usr/lib64/libamaroklib.so.1
#10 0x00007f99539e9bac in ?? () from /usr/lib64/libamaroklib.so.1
#11 0x00000031eae0c9fb in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f9938c42ca0, th=0x105cca0, job=0x105a1e0) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Job.cpp:106
#12 0x00000031eae0cb6c in ThreadWeaver::Job::execute (this=0x105a1e0, th=0x105cca0) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Job.cpp:135
#13 0x00000031eae0c1bf in ThreadWeaver::ThreadRunHelper::run (this=0x7f9938c42d20, parent=0x105bd20, th=0x105cca0) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Thread.cpp:95
#14 0x00000031eae0c27b in ThreadWeaver::Thread::run (this=0x105cca0) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Thread.cpp:142
#15 0x00000031e0e7bbcb in QThreadPrivate::start (arg=0x105cca0) at thread/qthread_unix.cpp:307
#16 0x00000031d5607d90 in start_thread (arg=0x7f9938c43700) at pthread_create.c:309
#17 0x00000031d4ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f9937bba700 (LWP 4903)):
[KCrash Handler]
#6  0x00000031d4e36285 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00000031d4e37b9b in __GI_abort () at abort.c:91
#8  0x00000031d4e77a7e in __libc_message (do_abort=2, fmt=0x31d4f76678 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
#9  0x00000031d4e7dda6 in malloc_printerr (action=3, str=0x31d4f767b0 "double free or corruption (fasttop)", ptr=<optimized out>) at malloc.c:5021
#10 0x00000031d4e7f08e in _int_free (av=0x7f9928000020, p=0x7f992800f1c0, have_lock=1) at malloc.c:3942
#11 0x00000031d4e81290 in _int_realloc (av=0x7f9928000020, oldp=0x7f992800f1c0, oldsize=<optimized out>, nb=64) at malloc.c:4432
#12 0x00000031d4e82cde in __GI___libc_realloc (oldmem=0x7f992800f1d0, bytes=56) at malloc.c:3064
#13 0x00000031e0e99636 in QListData::realloc (this=0x7f99540c8cd8, alloc=4) at tools/qlist.cpp:221
#14 0x00000031e0e996e5 in QListData::append (this=0x7f99540c8cd8, n=1) at tools/qlist.cpp:243
#15 0x00000031e0e94502 in QList<QString>::append (this=<optimized out>, t=...) at ../../src/corelib/tools/qlist.h:530
#16 0x00000031e0ed050e in operator<< (str=<optimized out>, this=0x7f99540c8cd8) at ../../src/corelib/tools/qstringlist.h:90
#17 QtPrivate::QStringList_filter (that=0x7f9937bb9a20, rx=...) at tools/qstringlist.cpp:338
#18 0x00007f9953b85a2b in EngineController::supportedMimeTypes() () from /usr/lib64/libamaroklib.so.1
#19 0x00007f9953b85ef8 in EngineController::canDecode(KUrl const&) () from /usr/lib64/libamaroklib.so.1
#20 0x00007f9953a43740 in CollectionManager::trackForUrl(KUrl const&) () from /usr/lib64/libamaroklib.so.1
#21 0x00007f99539e9bac in ?? () from /usr/lib64/libamaroklib.so.1
#22 0x00000031eae0c9fb in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f9937bb9ca0, th=0x10660a0, job=0x1066950) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Job.cpp:106
#23 0x00000031eae0cb6c in ThreadWeaver::Job::execute (this=0x1066950, th=0x10660a0) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Job.cpp:135
#24 0x00000031eae0c1bf in ThreadWeaver::ThreadRunHelper::run (this=0x7f9937bb9d20, parent=0x105bd20, th=0x10660a0) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Thread.cpp:95
#25 0x00000031eae0c27b in ThreadWeaver::Thread::run (this=0x10660a0) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Thread.cpp:142
#26 0x00000031e0e7bbcb in QThreadPrivate::start (arg=0x10660a0) at thread/qthread_unix.cpp:307
#27 0x00000031d5607d90 in start_thread (arg=0x7f9937bba700) at pthread_create.c:309
#28 0x00000031d4ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f99373b9700 (LWP 4904)):
#0  QIODevice::pos (this=0x7f99373b8620) at io/qiodevice.cpp:607
#1  0x00000031e0f063eb in QFile::atEnd (this=0x7f99373b8620) at io/qfile.cpp:1663
#2  0x00000031e2d7cbba in KMimeGlobsFileParser::parseGlobFile (file=<optimized out>, format=KMimeGlobsFileParser::Globs2WithWeight, globs=...) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimeglobsfileparser.cpp:83
#3  0x00000031e2d7d293 in KMimeGlobsFileParser::parseGlobFiles (globFiles=<optimized out>, parsedFiles=...) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimeglobsfileparser.cpp:65
#4  0x00000031e2d7d3e4 in KMimeGlobsFileParser::parseGlobs (this=<optimized out>, globFiles=<optimized out>) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimeglobsfileparser.cpp:44
#5  0x00000031e2d7d472 in KMimeGlobsFileParser::parseGlobs (this=0x7f99373b86f0) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimeglobsfileparser.cpp:38
#6  0x00000031e2d83609 in parseGlobs (this=0x7f992c028f90) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetyperepository.cpp:594
#7  KMimeTypeRepository::parseGlobs (this=0x7f992c028f90) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetyperepository.cpp:589
#8  0x00000031e2d839c5 in KMimeTypeRepository::findFromFileName (this=0x7f992c028f90, fileName=..., pMatchingExtension=0x0) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetyperepository.cpp:194
#9  0x00000031e2d78731 in KMimeType::findByUrlHelper (_url=..., mode=<optimized out>, is_local_file=true, device=0x7f99373b8a70, accuracy=0x7f99373b8ad8) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetype.cpp:202
#10 0x00000031e2d78ec1 in KMimeType::findByUrl (url=..., mode=32768, is_local_file=<optimized out>, fast_mode=<optimized out>, accuracy=<optimized out>) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kmimetype.cpp:323
#11 0x00000031e9138d78 in KFileItem::mimeTypePtr (this=0x7f99373b8b20) at /usr/src/debug/kdelibs-4.8.3/kio/kio/kfileitem.cpp:1455
#12 0x00007f9953b85f28 in EngineController::canDecode(KUrl const&) () from /usr/lib64/libamaroklib.so.1
#13 0x00007f9953a43740 in CollectionManager::trackForUrl(KUrl const&) () from /usr/lib64/libamaroklib.so.1
#14 0x00007f99539e9bac in ?? () from /usr/lib64/libamaroklib.so.1
#15 0x00000031eae0c9fb in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f99373b8ca0, th=0x1066c50, job=0x105af00) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Job.cpp:106
#16 0x00000031eae0cb6c in ThreadWeaver::Job::execute (this=0x105af00, th=0x1066c50) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Job.cpp:135
#17 0x00000031eae0c1bf in ThreadWeaver::ThreadRunHelper::run (this=0x7f99373b8d20, parent=0x105bd20, th=0x1066c50) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Thread.cpp:95
#18 0x00000031eae0c27b in ThreadWeaver::Thread::run (this=0x1066c50) at /usr/src/debug/kdelibs-4.8.3/threadweaver/Weaver/Thread.cpp:142
#19 0x00000031e0e7bbcb in QThreadPrivate::start (arg=0x1066c50) at thread/qthread_unix.cpp:307
#20 0x00000031d5607d90 in start_thread (arg=0x7f99373b9700) at pthread_create.c:309
#21 0x00000031d4ef0f5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f9952632880 (LWP 4896)):
#0  0x00000031d4ee85c3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000031dbe24d50 in socket_do_iteration (transport=0x8fcdb0, flags=6, timeout_milliseconds=<optimized out>) at dbus-transport-socket.c:1125
#2  0x00000031dbe23c3d in _dbus_transport_do_iteration (transport=0x8fcdb0, flags=<optimized out>, timeout_milliseconds=<optimized out>) at dbus-transport.c:974
#3  0x00000031dbe0eb45 in _dbus_connection_do_iteration_unlocked (connection=0x8fcfa0, pending=<optimized out>, flags=6, timeout_milliseconds=21455) at dbus-connection.c:1206
#4  0x00000031dbe0ffad in _dbus_connection_block_pending_call (pending=0x1072ef0) at dbus-connection.c:2504
#5  0x00000031e241c257 in q_dbus_pending_call_block (pending=<optimized out>) at qdbus_symbols_p.h:313
#6  QDBusConnectionPrivate::waitForFinished (this=0x8f9a30, pcall=0x1072d60) at qdbusintegrator.cpp:1778
#7  0x00000031e245c9a7 in QDBusPendingCallPrivate::waitForFinished (this=0x1072d60) at qdbuspendingcall.cpp:245
#8  0x00000031e245e67b in QDBusPendingReplyData::argumentAt (this=0x7fff5641d2d0, index=0) at qdbuspendingreply.cpp:264
#9  0x00000031e56982e3 in argumentAt<0> (this=0x7fff5641d2d0) at /usr/include/QtDBus/qdbuspendingreply.h:176
#10 operator QDBusPendingReplyTypes::Select<0, QList<int>, void, void, void, void, void, void, void>::Type (this=0x7fff5641d2d0) at /usr/include/QtDBus/qdbuspendingreply.h:186
#11 KGlobalAccelPrivate::updateGlobalShortcut (this=0x105daf0, action=0x108b6d0, flags=3) at /usr/src/debug/kdelibs-4.8.3/kdeui/shortcuts/kglobalaccel.cpp:325
#12 0x00000031e556d4a2 in KAction::setGlobalShortcut (this=0x108b6d0, shortcut=..., type=..., load=<optimized out>) at /usr/src/debug/kdelibs-4.8.3/kdeui/actions/kaction.cpp:284
#13 0x00007f9953b91632 in MainWindow::createActions() () from /usr/lib64/libamaroklib.so.1
#14 0x00007f9953b9b243 in MainWindow::MainWindow() () from /usr/lib64/libamaroklib.so.1
#15 0x00007f9953b7398f in App::continueInit() () from /usr/lib64/libamaroklib.so.1
#16 0x00007f9953b75098 in App::App() () from /usr/lib64/libamaroklib.so.1
#17 0x0000000000408e25 in ?? ()
#18 0x00000031d4e2169d in __libc_start_main (main=0x402230, argc=1, ubp_av=0x7fff56421078, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff56421068) at libc-start.c:226
#19 0x000000000040b81d in _start ()

This bug may be a duplicate of or related to bug 300863.

Possible duplicates by query: bug 300863, bug 300659, bug 300614, bug 299137, bug 298050.

Reported using DrKonqi
Comment 1 Julian Ju 2012-06-03 10:17:14 UTC
Tried running it again and it started with no music in collection. Added the music folder and it hanged again. I know it's much (+/- 150Gb of music) but before on Fc15 worked prety well.
Comment 2 Julian Ju 2012-06-03 10:57:45 UTC
Found out that Amarok 2 freezes on updating collection. Not sure it's relative with the crash. Seems to crash on start sometimes and after it works perfect. Curently frozen but updating collection.
Comment 3 Myriam Schweingruber 2012-06-03 12:37:43 UTC
Could you please install debugging symbols for amarok and provide a better backtrace? This might be a duplicate of bug 300659, already fixed in the upcoming Amarok 2.6 version.
Comment 4 Julian Ju 2012-06-03 13:05:11 UTC
Actually amarok crashes randomly but now it works. I just stopped all the plugins and scripts and updated the collection correctly and it's fully working. I can't say much more since I wasn't dooing anything else and had nothing more running at the moment of the crash. I will install debug symbols if it crashes again and update the bug ticket.
Comment 5 Myriam Schweingruber 2012-06-23 17:09:22 UTC
Thank you for the fast feedback. I close this for now, please feel free to reopen this report if you can reproduce it with Amarok 2.6 beta1 or later.