Bug 206489 - amarok crashes when right-click new folder in saved playlists
Summary: amarok crashes when right-click new folder in saved playlists
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Playlists/Saved Playlists (show other bugs)
Version: 2.3-GIT
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 206822 227941 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-06 13:45 UTC by Nuno Zimas
Modified: 2010-03-02 15:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Zimas 2009-09-06 13:45:15 UTC
Application that crashed: amarok
Version of the application: 2.1.80
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.27.31.tex4 i686
Distribution: "PCLinuxOS"

What I was doing when the application crashed:
In Playlists > Saved Playlists i have added a new folder.
When right-clicking that new folder, Amarok crashes with a segmentation fault.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[KCrash Handler]
#9  0xb79344c5 in The::podcastModel () from /usr/lib/libamaroklib.so.1
#10 0xb793493f in The::podcastModel () from /usr/lib/libamaroklib.so.1
#11 0xb790d2df in MemoryQueryMaker::emitProperResult<KSharedPtr<Meta::Album> > () from /usr/lib/libamaroklib.so.1
#12 0xb791de3b in Meta::PlaylistObserver::~PlaylistObserver () from /usr/lib/libamaroklib.so.1
#13 0xb79125cc in Meta::PlaylistObserver::~PlaylistObserver () from /usr/lib/libamaroklib.so.1
#14 0xb68881f1 in QWidget::event () from /usr/lib/libQtGui.so.4
#15 0xb6c3fb65 in QFrame::event () from /usr/lib/libQtGui.so.4
#16 0xb6ce037c in QAbstractScrollArea::viewportEvent () from /usr/lib/libQtGui.so.4
#17 0xb6d96fda in QAbstractItemView::viewportEvent () from /usr/lib/libQtGui.so.4
#18 0xb6dd1c84 in QTreeView::viewportEvent () from /usr/lib/libQtGui.so.4
#19 0xb6ce22e6 in QAbstractScrollArea::qt_metacall () from /usr/lib/libQtGui.so.4
#20 0xb71fd552 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#21 0xb6829754 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#22 0xb682eb15 in QApplication::notify () from /usr/lib/libQtGui.so.4
#23 0xb7d8f4d1 in KApplication::notify () from /usr/lib/libkdeui.so.5
#24 0xb71fd04d in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#25 0xb689fab7 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#26 0xb689eb38 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#27 0xb68c808d in QX11Info::copyX11Data () from /usr/lib/libQtGui.so.4
#28 0xb71fc2a1 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#29 0xb71fc534 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#30 0xb71fe613 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#31 0xb6829024 in QApplication::exec () from /usr/lib/libQtGui.so.4
#32 0x0804eda8 in _start ()
#33 0xb64fd75c in __libc_start_main () from /lib/i686/libc.so.6
#34 0x08048e81 in _start ()

Reported using DrKonqi
Comment 1 Mikko C. 2009-09-06 13:50:14 UTC
Confirmed here with git master.
Better backtrace:

Thread 1 (Thread 0x7f894736b770 (LWP 14881)):
[KCrash Handler]
#5  0x00007f8944837c45 in raise () from /lib/libc.so.6
#6  0x00007f8944839070 in abort () from /lib/libc.so.6
#7  0x00007f89459f5e04 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2042
#8  0x00007f89459f5f30 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2241
#9  0x00007f89465f23e4 in KSharedPtr<Meta::Playlist>::operator-> (this=0x7fffdfac3240) at /usr/include/ksharedptr.h:125
#10 0x00007f894660cf3d in PlaylistManager::getProviderForPlaylist (this=0x182f180, playlist={d = 0x0}) at /home/mikko/amarok/src/playlistmanager/PlaylistManager.cpp:430
#11 0x00007f894660d0ee in PlaylistManager::isWritable (this=0x182f180, playlist=@0x7fffdfac32b0) at /home/mikko/amarok/src/playlistmanager/PlaylistManager.cpp:448
#12 0x00007f89465ee836 in PlaylistBrowserNS::UserModel::actionsFor (this=0x215d2f0, indices=@0x7fffdfac3450) at /home/mikko/amarok/src/browsers/playlistbrowser/UserPlaylistModel.cpp:485
#13 0x00007f89465fd299 in PlaylistsInGroupsProxy::actionsFor (this=0x1fff600, list=@0x7fffdfac3640) at /home/mikko/amarok/src/browsers/playlistbrowser/PlaylistsInGroupsProxy.cpp:695
#14 0x00007f89465f4047 in PlaylistBrowserNS::UserPlaylistTreeView::contextMenuEvent (this=0x26628e0, event=0x7fffdfac4380)
    at /home/mikko/amarok/src/browsers/playlistbrowser/UserPlaylistTreeView.cpp:155
#15 0x00007f8945056110 in QWidget::event (this=0x26628e0, event=0x7fffdfac4380) at kernel/qwidget.cpp:7708
#16 0x00007f894538c5be in QFrame::event (this=0x26628e0, e=0x7fffdfac4380) at widgets/qframe.cpp:559
#17 0x00007f89454add0b in QAbstractItemView::viewportEvent (this=0x26628e0, event=0x7fffdfac4380) at itemviews/qabstractitemview.cpp:1476
#18 0x00007f89454e98eb in QTreeView::viewportEvent (this=0x26628e0, event=0x7fffdfac4380) at itemviews/qtreeview.cpp:1266
#19 0x00007f8945adf1e0 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x214b770, event=0x7fffdfac4380) at kernel/qcoreapplication.cpp:726
#20 0x00007f894500270c in QApplicationPrivate::notify_helper (this=0xe460b0, receiver=0x214b770, e=0x7fffdfac4380) at kernel/qapplication.cpp:4052
#21 0x00007f894500a22e in QApplication::notify (this=<value optimized out>, receiver=0x214b770, e=0x7fffdfac4380) at kernel/qapplication.cpp:3845
#22 0x00007f8946d49a50 in KApplication::notify (this=0x7fffdfac5f30, receiver=0x214b770, event=0x7fffdfac4380)
    at /var/tmp/paludis/kde-base-kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:302
#23 0x00007f8945adf74b in QCoreApplication::notifyInternal (this=0x7fffdfac5f30, receiver=0x214b770, event=0x7fffdfac4380) at kernel/qcoreapplication.cpp:606
#24 0x00007f894506b5ef in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4410
#25 0x00007f8945069e39 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffdfac5d50) at kernel/qapplication_x11.cpp:3545
#26 0x00007f894508f79a in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_x11.cpp:132
#27 0x00007f8945ade292 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007f8945ade43d in QEventLoop::exec (this=0x7fffdfac5ed0, flags=) at kernel/qeventloop.cpp:197
#29 0x00007f8945ae1f5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x000000000040693d in main (argc=3, argv=0x7fffdfac7c48) at /home/mikko/amarok/src/main.cpp:216
Comment 2 Bart Cerneels 2009-09-07 22:33:35 UTC
The folders in Saved Playlists just went though a major refactor. I've tried to reproduce it exactly as describe in the report and failed, so considering it fixed. Please check when the next release (2.2 beta 2 probably) is out or any version beyond v2.1.1-1864-gca4dd60.
Comment 3 Peter Gaultney 2009-09-09 04:23:24 UTC
*** Bug 206822 has been marked as a duplicate of this bug. ***
Comment 4 Myriam Schweingruber 2010-03-02 15:21:21 UTC
*** Bug 227941 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2010-03-02 15:25:03 UTC
*** Bug 229099 has been marked as a duplicate of this bug. ***