Bug 252311 - Plasma crashes when wallpaper folder suddenly appears
Summary: Plasma crashes when wallpaper folder suddenly appears
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: wallpaper-image (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 266980 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-25 09:12 UTC by Szymon Świerkosz
Modified: 2011-03-08 20:05 UTC (History)
3 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 Szymon Świerkosz 2010-09-25 09:12:23 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-tuxonice-r7 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
I have logged in to my system, noticed that there is no wallpaper so I moved the images folder back, and clicked on open wallpaper image (I was trying to click next wallpaper image, but missed;) from desktop context menu.
- Custom settings of the application:
I have set type of wallpaper as slideshow, and selected a directory with images. Then I moved that directory to another location, without chaning the wallpaper settings.

The crash can be reproduced every time.

-- Backtrace:
Application: Przestrzeń robocza Plazmy (plasma-desktop), signal: Segmentation fault
[KCrash Handler]
#6  0x0000003e728e8fdb in Plasma::Package::filePath(char const*, QString const&) const () from /usr/lib/libplasma.so.3
#7  0x0000003e728e95d1 in Plasma::Package::filePath(char const*) const () from /usr/lib/libplasma.so.3
#8  0x00007f2db7be0b5b in Image::openSlide() () from /usr/lib64/kde4/plasma_wallpaper_image.so
#9  0x00007f2db7be0fcb in Image::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/kde4/plasma_wallpaper_image.so
#10 0x0000003e6977b246 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x0000003e6b3b84f2 in QAction::triggered(bool) () from /usr/lib64/qt4/libQtGui.so.4
#12 0x0000003e6b3ba55b in QAction::activate(QAction::ActionEvent) () from /usr/lib64/qt4/libQtGui.so.4
#13 0x0000003e6b7f4821 in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x0000003e6b7fa392 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /usr/lib64/qt4/libQtGui.so.4
#15 0x0000003e6cb1dc1e in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#16 0x0000003e6b4146b1 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x0000003e6b7fc53b in QMenu::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x0000003e6b3be5fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#19 0x0000003e6b3c542b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x0000003e6ca409b6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x0000003e6976804b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x0000003e6b3c4552 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x0000003e6b4448e6 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x0000003e6b4431da in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#25 0x0000003e6b46d0f2 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x0000003d6ba3decf in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x0000003d6ba41d08 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#28 0x0000003d6ba41ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x0000003e697915b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x0000003e6b46ccee in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#31 0x0000003e697669a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x0000003e69766d74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x0000003e6b7f7965 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007f2db9f0ac3e in ContextMenu::contextEvent(QEvent*) () from /usr/lib64/kde4/plasma_containmentactions_contextmenu.so
#35 0x0000003e72924f79 in Plasma::Containment::mousePressEvent(QGraphicsSceneMouseEvent*) () from /usr/lib/libplasma.so.3
#36 0x0000003e6b9b2a4b in QGraphicsItem::sceneEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#37 0x0000003e6b9c8eb8 in QGraphicsScenePrivate::sendMouseEvent(QGraphicsSceneMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#38 0x0000003e6b9d780a in QGraphicsScenePrivate::mousePressEventHandler(QGraphicsSceneMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#39 0x0000003e6b9d7d64 in QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#40 0x0000003e6b9df7ef in QGraphicsScene::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#41 0x0000003e6b3be5fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#42 0x0000003e6b3c4c4b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#43 0x0000003e6ca409b6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#44 0x0000003e6976804b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#45 0x0000003e6b9fb14f in QGraphicsView::mousePressEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#46 0x0000003e6b414698 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#47 0x0000003e6b7b69c6 in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#48 0x0000003e6b9f6acb in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#49 0x0000003e69767486 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#50 0x0000003e6b3be5cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#51 0x0000003e6b3c542b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#52 0x0000003e6ca409b6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#53 0x0000003e6976804b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#54 0x0000003e6b3c4552 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#55 0x0000003e6b4444b4 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/qt4/libQtGui.so.4
#56 0x0000003e6b4431da in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#57 0x0000003e6b46d0f2 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#58 0x0000003d6ba3decf in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#59 0x0000003d6ba41d08 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#60 0x0000003d6ba41ebc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#61 0x0000003e697915b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#62 0x0000003e6b46ccee in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#63 0x0000003e697669a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#64 0x0000003e69766d74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#65 0x0000003e6976b9eb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#66 0x0000003e7203c716 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#67 0x000000368881ebbd in __libc_start_main () from /lib/libc.so.6
#68 0x00000000004007a9 in _start ()

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2010-09-26 21:38:53 UTC
SVN commit 1180026 by aseigo:

m_wallpaperPackage can be null; as a bonus feature: enable/disable the actions when there are no wallpaper items
BUG:252311


 M  +33 -8     image.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1180026
Comment 2 Dario Andres 2010-11-15 20:01:12 UTC
[Comment from a bug triager]
Bug 249350 seems to be related to this one, but I asked the reporter to check it.
Comment 3 Dario Andres 2011-03-08 20:05:40 UTC
*** Bug 266980 has been marked as a duplicate of this bug. ***