Summary: | Amarok crash upon start after an upgrade | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Lukas Jirkovsky <l.jirkovsky> |
Component: | Services/Last.fm | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | esteaqui, matej, robert, sam, vasilisk1 |
Priority: | NOR | ||
Version: | 2.6.90 (2.7 beta) | ||
Target Milestone: | 2.7 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/amarok/68f90970f51015b9410b0786fa4d861089ccd413 | Version Fixed In: | 2.7 |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Lukas Jirkovsky
2012-12-15 10:08:46 UTC
Git commit 68f90970f51015b9410b0786fa4d861089ccd413 by Matěj Laitl. Committed on 15/12/2012 at 23:17. Pushed by laitl into branch 'master'. ServiceBase::setModel(): prevent crash triggered by Last.fm rewrite BUGFIXES: * Prevent crash in ServiceBase::setModel triggered by Last.fm rewrite. Lukáši, please test the patch so that we have no fear releasing 2.7 final. FIXED-IN: 2.7 M +1 -0 ChangeLog M +3 -4 src/services/ServiceBase.cpp http://commits.kde.org/amarok/68f90970f51015b9410b0786fa4d861089ccd413 I can confirm that it doesn't crash anymore. (In reply to comment #2) > I can confirm that it doesn't crash anymore. Great, thanks a lot! This should be a work-around: don't store Last.fm username and password in plain-text: remove the entries tom .kde/share/config/amarokrc (search for Service_LastFm) I can confirm that the workaround (editing amarokrc) worked for me - thanks Created attachment 76269 [details]
New crash information added by DrKonqi
amarok (2.6.90) on KDE Platform 4.9.4 using Qt 4.8.4
- What I was doing when the application crashed:
Exactly as explained before, I started Amarok after updating it to 2.6.90 (Gentoo masked packages).
After the database upgrade process ended, Amarok died.
Any attempts to start Amarok will crash consistently.
Rebuilding without lastfm support allows Amarok to start. Ie, in Gentoo, disable the "lastfm" USE flag.
-- Backtrace (Reduced):
#7 0xb70cd326 in ServiceBase::setModel (this=0x92810c8, model=0x926c6b0) at /var/tmp/portage/media-sound/amarok-2.6.90/work/amarok-2.6.90/src/services/ServiceBase.cpp:178
#8 0xb3d72ae3 in LastFmService::slotReconfigure (this=0x92810c8) at /var/tmp/portage/media-sound/amarok-2.6.90/work/amarok-2.6.90/src/services/lastfm/LastFmService.cpp:190
#9 0xb3d73511 in LastFmService::LastFmService (this=0x92810c8, parent=0x90cf748, name=...) at /var/tmp/portage/media-sound/amarok-2.6.90/work/amarok-2.6.90/src/services/lastfm/LastFmService.cpp:142
#10 0xb3d7360a in LastFmServiceFactory::init (this=0x90cf748) at /var/tmp/portage/media-sound/amarok-2.6.90/work/amarok-2.6.90/src/services/lastfm/LastFmService.cpp:73
#11 0xb70dc485 in ServicePluginManager::initFactory (this=0x922f558, factory=0x90cf748) at /var/tmp/portage/media-sound/amarok-2.6.90/work/amarok-2.6.90/src/services/ServicePluginManager.cpp:114
(In reply to comment #6) > Created attachment 76269 [details] > New crash information added by DrKonqi Hi Pedro, this bug has been already resolved, unfortunately only after 2.7 Beta was released. There is no need to re-report unless you are able to reproduce with a version already containing the commit. Please, use a work-around from comment 4 or update to amarok-9999, it is easy now that you have added kde overlay. *** Bug 312559 has been marked as a duplicate of this bug. *** |