Summary: | Amarok Crash When Saving Playlist to MTP Device [@ PlaylistBrowserNS::PlaylistBrowserModel::slotRenamePlaylist] | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | wilksdeworms |
Component: | Playlists/Saved Playlists | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bart.cerneels, kat.amsterdam, matej, pedro.ximenez, pjbrs |
Priority: | NOR | ||
Version: | 2.4-GIT | ||
Target Milestone: | 2.4.1 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.4.1 | |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi Backtrace |
Description
wilksdeworms
2011-02-22 17:27:15 UTC
Created attachment 58004 [details]
New crash information added by DrKonqi
amarok (2.4.0) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0
- What I was doing when the application crashed:
Connected an iPod 160GB to the system. Started Amarok
Added one file to the iPod using the database view on the left, then removed a file.
Then went to Playlists, Long Clicked the disk icon and choose send to media device.
Amarok Crashed
-- Backtrace (Reduced):
#6 0x00007ffd9e930b60 in PlaylistBrowserNS::PlaylistBrowserModel::slotRenamePlaylist (this=0x25f1680, playlist=) at ../../src/browsers/playlistbrowser/PlaylistBrowserModel.cpp:557
#7 0x00007ffd9e5f64be in PlaylistBrowserNS::PlaylistBrowserModel::qt_metacall (this=0x25f1680, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffdaa35590) at moc_PlaylistBrowserModel.cpp:89
[...]
#9 0x00007ffd9e964a85 in PlaylistManager::renamePlaylist (this=0x7ffd79bc4ac0, _t1=<value optimized out>) at ./PlaylistManager.moc:158
#10 0x00007ffd9e968f9f in PlaylistManager::save (this=0x24e9d10, tracks=<value optimized out>, name=<value optimized out>, toProvider=<value optimized out>) at ../../src/playlistmanager/PlaylistManager.cpp:310
#11 0x00007ffd9e6ccf60 in Playlist::Dock::slotSaveCurrentPlaylist (this=<value optimized out>) at ../../src/playlist/PlaylistDock.cpp:288
*** Bug 268398 has been marked as a duplicate of this bug. *** Confirmed by duplicates Created attachment 58507 [details]
New crash information added by DrKonqi
amarok (2.4-GIT) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.2
Connected my iPod Nano and tried to save current playlist to "Playlists on Media Device"
-- Backtrace (Reduced):
#7 0xf6e12395 in PlaylistBrowserNS::PlaylistBrowserModel::slotRenamePlaylist (this=0x98f3568, playlist=...) at /usr/src/debug/media-sound/amarok-9999/amarok-9999/src/browsers/playlistbrowser/PlaylistBrowserModel.cpp:560
#8 0xf6a8de7c in PlaylistBrowserNS::PlaylistBrowserModel::qt_metacall (this=0x98f3568, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xdcb584d0) at /usr/src/debug/media-sound/amarok-9999/amarok-9999_build/src/moc_PlaylistBrowserModel.cpp:89
#9 0xf6e47483 in PlaylistBrowserNS::UserModel::qt_metacall (this=0x98f3568, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xdcb584d0) at /usr/src/debug/media-sound/amarok-9999/amarok-9999_build/src/UserPlaylistModel.moc:64
[...]
#12 0xf59fa88a in QObject::event(QEvent*) () from /usr/lib/qt4/libQtCore.so.4
#13 0xf5f0fbd4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
Created attachment 58710 [details]
New crash information added by DrKonqi
Today I upgraded to Amarok 2.4.0.90. I compiled Amarok from source.
I wanted to transfer a playlist to my 8G Ipod nano. When I long-click the disk icon and select 'Save playlist to "Media device playlists"' Amarok immediately crashes.
I'd love to help out, I can test patches. And I'd really like to be able to use Amarok to manage the playlists on my Ipod! That's actually the last imperfect bit of Amarok 2 ;-)
OJ, could you please install the debugging symbols for Amarok and try again? Your backtrace is not really useful. See also http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports Hello Myriam, I just noticed that the buildscript I use was stripping binaries, so that's probably why the backtrace wasn't any good :-) I've recompiled and now I think the backtrace is better. I did notice though that I haven't got any debugging symbols for Qt. Please let me know if this backtrace is better, and if not, what I have to recompile with debugging symbols. Thanks! Created attachment 58759 [details]
Backtrace
This time the backtrace is good, and it shows the same line for the crash. Thank you for the report. Okay, thanks. Let me know if there's anything else I can do! PJ Git commit 1aa3906f4a5692162ce4240b39525d6017484fc4 by Sergey Ivanov. Committed on 27/04/2011 at 23:13. Pushed by ivanov into branch 'master'. Fixed crash on saving playlist on ineligible device. BUG: 266899 FIXED-IN: 2.4.1 M +3 -2 ChangeLog M +1 -1 src/browsers/playlistbrowser/PlaylistBrowserModel.cpp http://commits.kde.org/amarok/1aa3906f4a5692162ce4240b39525d6017484fc4 I've applied git 1aa3906f4a5692162ce4240b39525d6017484fc4 to amarok 2.4.0.90. I assume that the expected behaviour indeed is that amarok no longer offers to save playlists to an ipod? That's wonderful, insofar as it solves the crash. I must admit though, that I was under the impression that solving this bug would mean that I could once more save playlists to my ipod with amarok. Is there any seperate bug report where this issue is tracked? Could you please install Amarok 2.4.1 final and try again? Dear Myriam, thanks for changing the status of this bug :-) I've tried 2.4.1. The crash indeed is gone, and it is possible to read playlists from the ipod and play them. Also, the save playlist button _does_ offer the option to save to a media device. However, nothing happens when I select this option. So, the crash is gone, but the functionality of saving a playlist to a device seems not to be there. As a user, I would expect the following to happen when clicking the save playlist to media device button: * A new playlist is saved to the itunesdb. * The tracks in the playlist that are not on the ipod are copied to the ipod and the ipod's itunesdb. Incidentally, how does this bug relate to https://bugs.kde.org/show_bug.cgi?id=223400 ? These are separate bugs, this here is only related to the crash which is fixed. To track the "saving playlist to media devices" problem please use the other report. |