Bug 338541 - Amarok crashes when browsing the collection after configuring a destination folder on a device [@ UmsCollection::slotTrackAdded]
Summary: Amarok crashes when browsing the collection after configuring a destination f...
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Collections/USB mass storage and MSC (show other bugs)
Version: 2.8-git
Platform: Other Linux
: NOR crash
Target Milestone: 2.9
Assignee: Amarok Developers
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2014-08-25 08:53 UTC by Myriam Schweingruber
Modified: 2015-01-30 02:41 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 Myriam Schweingruber 2014-08-25 08:53:05 UTC
See summary

Thread 1 (Thread 0x7f82407777c0 (LWP 30991)):
[KCrash Handler]
#6  0x00007f823badaf89 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f823bade398 in __GI_abort () at abort.c:89
#8  0x00007f823c6fac92 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x5067168 "ASSERT: \"m_musicPath.isParentOf( location )\" in file /home/myriam/kde/src/amarok/src/core-impl/collections/umscollection/UmsCollection.cpp, line 518") at global/qglobal.cpp:2383
#9  0x00007f823c6faff9 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7f823c868a20 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff0595bbb8) at global/qglobal.cpp:2429
#10 0x00007f823c6fb804 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2612
#11 0x00007f8210d35584 in UmsCollection::slotTrackAdded (this=0x20c3a40, location=...) at /home/myriam/kde/src/amarok/src/core-impl/collections/umscollection/UmsCollection.cpp:518
#12 0x00007f8210d37b1b in UmsCollection::slotDirectoryScanned (this=0x20c3a40, dir=...) at /home/myriam/kde/src/amarok/src/core-impl/collections/umscollection/UmsCollection.cpp:726
#13 0x00007f8210d3018f in UmsCollection::qt_static_metacall (_o=0x20c3a40, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/myriam/kde/build/amarok/src/core-impl/collections/umscollection/moc_UmsCollection.cpp:163
#14 0x00007f823c81b87a in QMetaObject::activate (sender=0x6bb4a00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff0595bf00) at kernel/qobject.cpp:3539
#15 0x00007f823ee6c5cf in QSharedPointer (_t1=..., this=<optimized out>, this=<optimized out>, this=<optimized out>, this=<optimized out>, other=...) at /home/myriam/kde/build/amarok/src/moc_GenericScanManager.cpp:145
#16 GenericScanManager::qt_static_metacall (_o=0x6bb4a00, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/myriam/kde/build/amarok/src/moc_GenericScanManager.cpp:74
#17 0x00007f823c81fc1e in QObject::event (this=0x6bb4a00, e=<optimized out>) at kernel/qobject.cpp:1194
#18 0x00007f823cd38e2c in QApplicationPrivate::notify_helper (this=this@entry=0x191c520, receiver=receiver@entry=0x6bb4a00, e=e@entry=0x7f81dc1c53e0) at kernel/qapplication.cpp:4567
#19 0x00007f823cd3f4a0 in QApplication::notify (this=this@entry=0x7fff0595c5a8, receiver=receiver@entry=0x6bb4a00, e=e@entry=0x7f81dc1c53e0) at kernel/qapplication.cpp:4353
#20 0x00007f823fce5d1a in KApplication::notify (this=0x7fff0595c5a8, receiver=0x6bb4a00, event=0x7f81dc1c53e0) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f823c8074dd in QCoreApplication::notifyInternal (this=0x7fff0595c5a8, receiver=receiver@entry=0x6bb4a00, event=event@entry=0x7f81dc1c53e0) at kernel/qcoreapplication.cpp:953
#22 0x00007f823c80ab3d in sendEvent (event=0x7f81dc1c53e0, receiver=0x6bb4a00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x18261a0) at kernel/qcoreapplication.cpp:1577
#24 0x00007f823c80afe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#25 0x00007f823c834f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=0x1922360) at kernel/qeventdispatcher_glib.cpp:287
#27 0x00007f82336a2e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f82336a3048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f82336a30ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f823c8347a1 in QEventDispatcherGlib::processEvents (this=0x1827a80, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#31 0x00007f823cddabb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f823c8060af in QEventLoop::processEvents (this=this@entry=0x7fff0595c540, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f823c8063a5 in QEventLoop::exec (this=this@entry=0x7fff0595c540, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f823c80bb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#35 0x000000000040be80 in main (argc=<optimized out>, argv=<optimized out>) at /home/myriam/kde/src/amarok/src/main.cpp:329
Comment 1 Myriam Schweingruber 2014-08-25 09:00:25 UTC
The crash is reproducible every time
Comment 2 Myriam Schweingruber 2015-01-30 02:41:29 UTC
as of git master, v2.8.0-432-g6aaf621, I can't reproduce this crash anymore, both playing and copying music over mtp and ums do work now. Only strange thing is that the tracks from any media device appear grayed out in the playlist despite being payable, but that is another issue.