Summary: | Amarok (apparently) crashes during quit | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Doug <dougt901-2012> |
Component: | Playback | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | desdichadko, dougt901-2012, germano.massullo, martin.sandsmark, matej, miracsa, myriam, pedron.alexandre, ralsa, romain.perier, zachleigh |
Priority: | NOR | Keywords: | drkonqi |
Version: | 2.8.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/amarok/8804bf898122bf4e23b3d7660bad448759f34066 | Version Fixed In: | 2.9 |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
Doug
2013-10-06 21:22:22 UTC
could you please install the debugging information for phonon and try to get a new backtrace? Might be a problem with phonon, not with Amarok. Created attachment 82698 [details]
New crash information added by DrKonqi
amarok (2.8.0) on KDE Platform 4.10.5 "release 1" using Qt 4.8.4
- What I was doing when the application crashed:
Played audio file, during which I fetched an album cover by right mouse clicking in main window. Playback paused twice, I assume reloading album cover, then stopped on its own. At that point, I closed Amarok (was trying to induce crash after installing Phonon debug symbols)
- Unusual behavior I noticed:
Playback stopped for at least five seconds, did not resume before I closed program (which generated crash)
-- Backtrace (Reduced):
#7 0x00007f262942f038 in Phonon::MediaNodePrivate::backendObject (this=0x1879d40) at /usr/src/debug/phonon-4.6.0/phonon/medianode.cpp:63
#8 0x00007f2629444a4a in Phonon::VolumeFaderEffect::fadeTo (this=<optimized out>, volume=1, fadeTime=300) at /usr/src/debug/phonon-4.6.0/phonon/volumefadereffect.cpp:75
#9 0x00007f262ed8a775 in Fadeouter::~Fadeouter (this=0x40cd000, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.8.0/src/playback/Fadeouter.cpp:53
#10 0x00007f262ed8a789 in Fadeouter::~Fadeouter (this=0x40cd000, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.8.0/src/playback/Fadeouter.cpp:54
#11 0x00007f262d0674c2 in QObjectPrivate::deleteChildren (this=this@entry=0x1871f10) at kernel/qobject.cpp:1916
Thank you for the fast feedback, that is what I expected, the crash is in Phonon. Reassigning. Amarok bug. VFE gets destroyed #13 0x00007f2629444d8f in ~VolumeFaderEffect (this=0x1871340, __in_chrg=<optimized out>) at /usr/src/debug/phonon-4.6.0/phonon/volumefadereffect.h:50 VFE cleans up its QObject children #11 0x00007f262d0674c2 in QObjectPrivate::deleteChildren (this=this@entry=0x1871f10) at kernel/qobject.cpp:1916 One of them is Fadeouter #10 0x00007f262ed8a789 in Fadeouter::~Fadeouter (this=0x40cd000, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.8.0/src/playback/Fadeouter.cpp:54 Fadeouter tries to call the same VFE's ::fadeTo #8 0x00007f2629444a4a in Phonon::VolumeFaderEffect::fadeTo (this=<optimized out>, volume=1, fadeTime=300) at /usr/src/debug/phonon-4.6.0/phonon/volumefadereffect.cpp:75 You are now within a half destroyed VFE. Crash because VFEPrivate has already been thrown away so vtable lookup ends up in garbage, resulting in SIGSEV #7 0x00007f262942f038 in Phonon::MediaNodePrivate::backendObject (this=0x1879d40) at /usr/src/debug/phonon-4.6.0/phonon/medianode.cpp:63 *** Bug 328889 has been marked as a duplicate of this bug. *** Git commit 8804bf898122bf4e23b3d7660bad448759f34066 by Matěj Laitl. Committed on 17/12/2013 at 11:35. Pushed by laitl into branch 'master'. playback: fix crash on quit in the middle of a fadeout My assumption was incorrect, a child must still track its parent using QWeakPointer to be safe. Thanks for investigation from Harald Sitter, you were absolutely correct, our lord-president. :) FIXED-IN: 2.9 BACKPORT M +1 -0 ChangeLog M +3 -3 src/playback/Fadeouter.cpp M +1 -1 src/playback/Fadeouter.h http://commits.kde.org/amarok/8804bf898122bf4e23b3d7660bad448759f34066 *** Bug 332484 has been marked as a duplicate of this bug. *** *** Bug 333682 has been marked as a duplicate of this bug. *** *** Bug 335095 has been marked as a duplicate of this bug. *** Created attachment 86973 [details]
New crash information added by DrKonqi
amarok (2.8.0) on KDE Platform 4.13.0 using Qt 4.8.6
- What I was doing when the application crashed:
- Unusual behavior I noticed:
I stopped the music then I got this error message when closing Amarok.
-- Backtrace (Reduced):
#7 0x00007f613ebc5118 in Phonon::MediaNodePrivate::backendObject (this=this@entry=0x1506ed0) at ../../phonon/medianode.cpp:61
#8 0x00007f613ebdfd6a in Phonon::VolumeFaderEffect::fadeTo (this=<optimized out>, volume=1, fadeTime=300) at ../../phonon/volumefadereffect.cpp:73
#9 0x00007f613ebdfdcd in Phonon::VolumeFaderEffect::fadeIn (this=<optimized out>, fadeTime=<optimized out>) at ../../phonon/volumefadereffect.cpp:62
#10 0x00007f6143f210d5 in Fadeouter::~Fadeouter (this=0x32a8b90, __in_chrg=<optimized out>) at ../../src/playback/Fadeouter.cpp:53
#11 0x00007f6143f210e9 in Fadeouter::~Fadeouter (this=0x32a8b90, __in_chrg=<optimized out>) at ../../src/playback/Fadeouter.cpp:54
Please read the bug report before submitting information, this is already solved ahead of your version. *** Bug 387595 has been marked as a duplicate of this bug. *** |