Bug 206945

Summary: plasma-desktop crashes when hovering non-accessible folder in Folder View
Product: [Unmaintained] plasma4 Reporter: Florian Eßer <f.esser>
Component: widget-folderviewAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, asraniel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Florian Eßer 2009-09-10 10:43:41 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-15-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I have a Folder View widget on my desktop showing the contents of ~/Desktop.
If I hover the mouse over a folder that I have no rights to access, I see the message "Could not enter folder ..." and plasma-desktop crashes.

How to reproduce:
- add a Folder View widget and set it to display ~/Desktop

$ cd ~/Desktop
$ sudo mkdir somedir
$ sudo chmod 700 somedir

then hover the mouse over the "somedir" folder, trying to preview it's contents.


 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f5dab181750 (LWP 4820))]

Thread 2 (Thread 0x7f5d89ec4950 (LWP 4821)):
#0  0x00007f5da6ac12e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5daabc9d19 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f5da9a4f81c in ?? () from /usr/lib/libQtNetwork.so.4
#3  0x00007f5daabc8d35 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f5da6abd3ba in start_thread () from /lib/libpthread.so.0
#5  0x00007f5da76a1fcd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f5dab181750 (LWP 4820)):
[KCrash Handler]
#5  0x00007f5da8840d5f in QGraphicsScene::drawItems(QPainter*, int, QGraphicsItem**, QStyleOptionGraphicsItem const*, QWidget*) () from /usr/lib/libQtGui.so.4
#6  0x00007f5da88627b8 in QGraphicsView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#7  0x00007f5da82c9ed6 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#8  0x00007f5da863cf0b in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#9  0x00007f5da886130b in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007f5daacb19b8 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#11 0x00007f5da8278f1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007f5da828118a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007f5da938bdeb in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007f5daacb26ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007f5da82d1125 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#16 0x00007f5da82d1897 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#17 0x00007f5da82d0d97 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#18 0x00007f5da82d1897 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#19 0x00007f5da82d0d97 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#20 0x00007f5da844b902 in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007f5da82c2e00 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#22 0x00007f5da82c9d6d in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007f5da8278f4d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007f5da828118a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x00007f5da938bdeb in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0x00007f5daacb26ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x00007f5daacb331a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#28 0x00007f5daacdbe03 in ?? () from /usr/lib/libQtCore.so.4
#29 0x00007f5da6d0c20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007f5da6d0f8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007f5da6d0fa7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007f5daacdba8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0x00007f5da8311bdf in ?? () from /usr/lib/libQtGui.so.4
#34 0x00007f5daacb0f42 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007f5daacb1314 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007f5daacb35e4 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#37 0x00007f5da00433eb in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#38 0x0000000000407215 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-10 23:18:27 UTC
Thanks

*** This bug has been marked as a duplicate of bug 201844 ***