Playlist context menu crash

Seb Ruiz ruiz at kde.org
Wed Oct 8 14:39:28 CEST 2008


Can't seem to track this down - something weird is going on with the
QModelIndexes. Reproduce by first clearing playlist and then showing a
context menu. Also, why does the context menu show on the empty space
after the last item in a playlist (really, why is there empty space
:).

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb3a8c6e0 (LWP 3049)]
0xb7f2d410 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7f2d410 in __kernel_vsyscall ()
#1  0xb4bbe085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb4bbfa01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb68e8367 in qt_message_output () from /usr/lib/libQtCore.so.4
#4  0xb68e8458 in qFatal () from /usr/lib/libQtCore.so.4
#5  0xb68e84bc in qt_assert_x () from /usr/lib/libQtCore.so.4
#6  0xb7cb1bda in Playlist::Model::data (this=0xaf801420,
index=@0xbfcf94ac, role=34) at /usr/include/qt4/QtCore/qlist.h:393
#7  0xb7ca4e1f in Playlist::GroupingProxy::data (this=0x8123cf0,
index=@0xbe9, role=34) at
/data/kdesvn/extragear/multimedia/amarok/src/playlist/GroupingProxy.cpp:143
#8  0xb7cc614e in Playlist::ViewCommon::trackMenu (parent=0x8122be0,
index=@0xbfcf94ac, pos=@0xbfcf9c9c, coverActions=true) at
/usr/include/qt4/QtCore/qabstractitemmodel.h:373
#9  0xb7ccc240 in Playlist::PrettyListView::contextMenuEvent
(this=0x8122be0, event=0xbfcf9c84)
    at /data/kdesvn/extragear/multimedia/amarok/src/playlist/view/listview/PrettyListView.cpp:111


-- 
Seb Ruiz

http://www.sebruiz.net/
http://amarok.kde.org/


More information about the Amarok-devel mailing list