Summary: | Amarok crashes when a mp3 player is mounted [@ trackMap at /src/core-impl/collections/support/MemoryCollection.h:43] | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Xavier Claude <claude.xavier> |
Component: | Collections/USB mass storage and MSC | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bart.cerneels, d, fabsk, martin.ruessler, rasasi78, snydleydowndeep |
Priority: | NOR | ||
Version: | 2.5.0 | ||
Target Milestone: | 2.6 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.6 | |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Xavier Claude
2011-12-24 17:24:01 UTC
bug 287192 seems related as well Created attachment 67299 [details]
New crash information added by DrKonqi
amarok (2.5.0) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0
- What I was doing when the application crashed:
Amarok was running, and I plugged in the Galaxy S2 in Mass Storage mode.
The Bug was reproducible, although, it didn't happen every time.
-- Backtrace (Reduced):
#7 0x06b4ceab in QMap (other=..., this=0xbfd70a78) at /usr/include/QtCore/qmap.h:183
#8 trackMap (this=0x0) at /usr/src/debug/amarok-2.5.0/src/core-impl/collections/support/MemoryCollection.h:43
#9 UmsCollection::createCapabilityInterface (this=0xa5ced70, type=Capabilities::Capability::Actions) at /usr/src/debug/amarok-2.5.0/src/core-impl/collections/umscollection/UmsCollection.cpp:416
#10 0x4d20f1ac in create<Capabilities::ActionsCapability> (this=<optimized out>) at /usr/src/debug/amarok-2.5.0/src/core/collections/Collection.h:99
#11 CollectionTreeItem::decoratorActions (this=0x0) at /usr/src/debug/amarok-2.5.0/src/browsers/CollectionTreeItem.cpp:197
Confirmed by duplicate. *** Bug 290858 has been marked as a duplicate of this bug. *** *** Bug 291945 has been marked as a duplicate of this bug. *** Git commit 4abcbc2fcc88f6902e127e6d19c89e007c31f157 by Bart Cerneels. Committed on 25/01/2012 at 08:57. Pushed by shanachie into branch 'master'. Fix crash when remounting UMS. Fix crash when a device holding a UmsCollection is mounted again after an unmount without removing the device in between. The crash occours because the QSharedPointer m_mc is cleared during an unmount but not initialized when mounted again. I fixed this issue by initializing m_mc in the init-method and not in the constructor. Patch by Volker Christian FIXED-IN:2.6 REVIEW:103774 M +3 -1 src/core-impl/collections/umscollection/UmsCollection.cpp http://commits.kde.org/amarok/4abcbc2fcc88f6902e127e6d19c89e007c31f157 *** Bug 307740 has been marked as a duplicate of this bug. *** |