Summary: | dragging an album within playlist makes amarok crash | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Stefan Katscher <skatscher> |
Component: | Playlist | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kde-bugs, nhn, stharward |
Priority: | NOR | ||
Version: | 2.0-beta | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Stefan Katscher
2008-11-10 15:22:12 UTC
Confirmed. Another backtrace: #7 0x00007f0ce335619d in qFatal () from /usr/lib/libQtCore.so.4 #8 0x00007f0ce27aaf24 in QList<Playlist::Item*>::operator[] (this=0x9c1048, i=11) at /usr/include/qt4/QtCore/qlist.h:401 #9 0x00007f0ce27a6087 in Playlist::Model::moveTracksCommand (this=0x9c1000, cmds=@0x14ea340, reverse=false) at /home/mark/kde/src/amarok/src/playlist/PlaylistModel.cpp:730 #10 0x00007f0ce27ac848 in Playlist::MoveTracksCmd::redo (this=0x14ea330) at /home/mark/kde/src/amarok/src/playlist/UndoCommands.cpp:78 #11 0x00007f0ce10cd023 in QUndoStack::push () from /usr/lib/libQtGui.so.4 #12 0x00007f0ce279fe71 in Playlist::Controller::moveRows (this=0x996280, from=@0x7fffebbbbfe0, to=@0x7fffebbbbfd0) at /home/mark/kde/src/amarok/src/playlist/PlaylistController.cpp:403 #13 0x00007f0ce27a039d in Playlist::Controller::moveRows (this=0x996280, from=@0x7fffebbbc1f0, to=5) at /home/mark/kde/src/amarok/src/playlist/PlaylistController.cpp:369 #14 0x00007f0ce27ba849 in Playlist::PrettyListView::dropEvent (this=0xadd2b0, event=0x7fffebbbcc10) at /home/mark/kde/src/amarok/src/playlist/view/listview/PrettyListView.cpp:176 Debug Output: amarok: BEGIN: void Playlist::Model::moveTracksCommand(const Playlist::MoveCmdList&, bool) amarok: [Playlist::Model] moving 10 to 1 amarok: [Playlist::Model] moving 9 to 2 amarok: [Playlist::Model] moving 8 to 3 amarok: [Playlist::Model] moving 7 to 4 amarok: [Playlist::Model] moving 0 to 5 amarok: [Playlist::Model] moving 1 to 6 amarok: [Playlist::Model] moving 2 to 7 amarok: [Playlist::Model] moving 3 to 8 amarok: [Playlist::Model] moving 4 to 9 amarok: [Playlist::Model] moving 5 to 10 amarok: [Playlist::Model] moving 6 to 11 ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 401 SVN commit 883544 by nhnielsen: Fix crash when dragging an album to the end of the playlist. This was caused by the move operation working with an index that really did not exist in the playlist ( the one below the last element ) and in some cases thinking that this dummy element needed to be moved up. BUG: 174786 M +15 -2 PlaylistController.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=883544 (In reply to comment #2) > SVN commit 883544 by nhnielsen: > > Fix crash when dragging an album to the end of the playlist. This was caused by > the move operation working with an index that really did not exist in the > playlist ( the one below the last element ) and in some cases thinking that > this dummy element needed to be > moved up. > BUG: 174786 > > > M +15 -2 PlaylistController.cpp > > > WebSVN link: http://websvn.kde.org/?view=rev&revision=883544 > I'm still getting this crash and I'm getting it frequently. QString::arg: Argument missing: Amarok - No track playing., 0:00 amarok(10166) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated amarok(10166) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated QString::arg: Argument missing: Amarok - No track playing., 0:00 amarok(10166) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated QString::arg: Argument missing: Amarok - No track playing., 0:00 amarok(10166) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated QString::arg: Argument missing: Amarok - No track playing., 0:00 QString::arg: Argument missing: Amarok - No track playing., 0:00 QDir::exists: Empty or null file name amarok(10166) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated ASSERT failure in QList<T>::at: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 387 Unable to start Dr. Konqi Sorry. Not providing a backtrace. Even if I install the debug symbols, amarok for some reason doesn't load them upon crash. I have a "Proportinal Bias" playlist, where the proportion is set to 100% for one particular Genre. The playlist is able to load related music properly. On play, frequently this crash keeps happening. Actually, it doesn't even have to be in Play mode. Right now, it was stopped with the playlist loaded, and it just crashed again. I'm using: KDE 4.1.96 r910547 Amarok 2.0.1.1 on Debian. And the crash will only happen when using the custom playlist. With the default "Random Playlist" playlist, the crash is not seen. |