Bug 336636

Summary: Plasma crashed when deleting file in Folder View
Product: [Unmaintained] plasma4 Reporter: schoonerbugs
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: miras199002, schoonerbugs
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description schoonerbugs 2014-06-23 22:38:57 UTC
Application: plasma-desktop (4.13.0)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-29-generic i686
Distribution: Netrunner 14 (Frontier)

-- Information about the crash:
- What I was doing when the application crashed: I had enabled  "delete" in Dolphin Services configuration. This allows you to delete a file from the service menu instead of just sending it to trash. The setting applies to the Folder View desktop containment also. When I delete a file on Folder View in this way. ie delete from service menu, it works fine. 

However, if I click the up-arrow overlay on a folder icon on Folder View so that the folder contents are displayed in a pop-up, then I right-click a file and choose "delete" from the service menu, Plasma crashes. This is reproducable, happening about 50% of the time when I do this delete. When it happens, the file is not actually deleted.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb113fa40 (LWP 3872))]

Thread 5 (Thread 0xa2401b40 (LWP 3877)):
#0  0xb7733424 in __kernel_vsyscall ()
#1  0xb20e5d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb75e98ec in __pthread_cond_wait (cond=0xb31f38d0, mutex=0xb31f38b8) at forward.c:149
#3  0xb30f0c92 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb30f0cdf in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb20e1f70 in start_thread (arg=0xa2401b40) at pthread_create.c:312
#6  0xb75dc70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0x9fc8bb40 (LWP 4103)):
#0  0xb20e4030 in __GI___pthread_mutex_lock (mutex=0x9f300558) at ../nptl/pthread_mutex_lock.c:63
#1  0xb75e9af4 in pthread_mutex_lock (mutex=0x9f300558) at forward.c:192
#2  0xb200a100 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb1fc5398 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb1fc5528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb604a95f in QEventDispatcherGlib::processEvents (this=0x9f300468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb6019823 in QEventLoop::processEvents (this=this@entry=0x9fc8b258, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6019b49 in QEventLoop::exec (this=this@entry=0x9fc8b258, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5f0623d in QThread::exec (this=this@entry=0x9de6100) at thread/qthread.cpp:537
#9  0xb5ff9c44 in QInotifyFileSystemWatcherEngine::run (this=0x9de6100) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb5f08b6f in QThreadPrivate::start (arg=0x9de6100) at thread/qthread_unix.cpp:349
#11 0xb20e1f70 in start_thread (arg=0x9fc8bb40) at pthread_create.c:312
#12 0xb75dc70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0x9e8bfb40 (LWP 4104)):
#0  0xb7733424 in __kernel_vsyscall ()
#1  0xb75cd7ab in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb1fd420b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb1fc53e8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb1fc5528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb604a95f in QEventDispatcherGlib::processEvents (this=0x9df00468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb6019823 in QEventLoop::processEvents (this=this@entry=0x9e8bf258, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6019b49 in QEventLoop::exec (this=this@entry=0x9e8bf258, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5f0623d in QThread::exec (this=this@entry=0xa8db4c0) at thread/qthread.cpp:537
#9  0xb5ff9c44 in QInotifyFileSystemWatcherEngine::run (this=0xa8db4c0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb5f08b6f in QThreadPrivate::start (arg=0xa8db4c0) at thread/qthread_unix.cpp:349
#11 0xb20e1f70 in start_thread (arg=0x9e8bfb40) at pthread_create.c:312
#12 0xb75dc70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0x9c055b40 (LWP 4109)):
#0  0xb7733424 in __kernel_vsyscall ()
#1  0xb75ea392 in __GI___clock_gettime (clock_id=1, tp=0x9c055008) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb5f638cc in do_gettime (frac=0x9c055000, sec=0x9c054ff8) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb604c2a2 in updateCurrentTime (this=0x9b7028e4) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x9b7028e4, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0xb604a82b in timerSourcePrepareHelper (src=<optimized out>, timeout=0x9c0550fc) at kernel/qeventdispatcher_glib.cpp:143
#7  0xb604a8bd in timerSourcePrepare (source=0x9b7028b0, timeout=0x9c0550fc) at kernel/qeventdispatcher_glib.cpp:176
#8  0xb1fc49b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb1fc52df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb1fc5528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb604a95f in QEventDispatcherGlib::processEvents (this=0x9b700468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0xb6019823 in QEventLoop::processEvents (this=this@entry=0x9c055268, flags=...) at kernel/qeventloop.cpp:149
#13 0xb6019b49 in QEventLoop::exec (this=this@entry=0x9c055268, flags=...) at kernel/qeventloop.cpp:204
#14 0xb5f0623d in QThread::exec (this=0xab1e0e0) at thread/qthread.cpp:537
#15 0x9d2b38c7 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#16 0xb5f08b6f in QThreadPrivate::start (arg=0xab1e0e0) at thread/qthread_unix.cpp:349
#17 0xb20e1f70 in start_thread (arg=0x9c055b40) at pthread_create.c:312
#18 0xb75dc70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb113fa40 (LWP 3872)):
[KCrash Handler]
#7  0xb551ee46 in size (this=0xac7cd18) at ../../include/QtCore/../../src/corelib/tools/qlist.h:98
#8  count (this=0xac7cd18) at ../../include/QtCore/../../src/corelib/tools/qlist.h:280
#9  QActionPrivate::setShortcutEnabled (this=this@entry=0xac7cc98, enable=false, map=...) at kernel/qaction.cpp:190
#10 0xb55215a6 in QAction::setEnabled (this=0xbb296f0, b=b@entry=false) at kernel/qaction.cpp:1122
#11 0xa9327cc0 in PopupView::showContextMenu (this=this@entry=0xc132758, widget=widget@entry=0xc0fe1a0, screenPos=..., indexes=...) at ../../../../plasma/applets/folderview/popupview.cpp:393
#12 0xa9328166 in PopupView::contextMenuRequest (this=0xc132758, widget=0xc0fe1a0, screenPos=...) at ../../../../plasma/applets/folderview/popupview.cpp:308
#13 0xa93282dc in PopupView::qt_static_metacall (_o=0xac7cc98, _id=80, _a=0xbffc1004, _c=<optimized out>) at ./popupview.moc:87
#14 0xb60300f7 in QMetaObject::activate (sender=sender@entry=0xbfa9c58, m=m@entry=0xa9343c84 <AbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbffc1004) at kernel/qobject.cpp:3539
#15 0xa93051dd in AbstractItemView::contextMenuRequest (this=this@entry=0xbfa9c58, _t1=0xc0fe1a0, _t2=...) at ./abstractitemview.moc:197
#16 0xa93106ff in IconView::contextMenuEvent (this=0xbfa9c58, event=0xbffc14a0) at ../../../../plasma/applets/folderview/iconview.cpp:2169
#17 0xb5b72ff8 in QGraphicsItem::sceneEvent (this=this@entry=0xbfa9c60, event=event@entry=0xbffc14a0) at graphicsview/qgraphicsitem.cpp:6725
#18 0xb5bcf356 in QGraphicsWidget::sceneEvent (this=0xbfa9c58, event=0xbffc14a0) at graphicsview/qgraphicswidget.cpp:1229
#19 0xb5b9c626 in QGraphicsScenePrivate::sendEvent (this=0xc13a778, item=0xbfa9c60, event=0xbffc14a0) at graphicsview/qgraphicsscene.cpp:1221
#20 0xb5b9ccc8 in QGraphicsScene::contextMenuEvent (this=0xaa5f758, contextMenuEvent=0xbffc14a0) at graphicsview/qgraphicsscene.cpp:3617
#21 0xb5bb194f in QGraphicsScene::event (this=0xaa5f758, event=0xbffc14a0) at graphicsview/qgraphicsscene.cpp:3412
#22 0xb55267f4 in QApplicationPrivate::notify_helper (this=0x9bda7e8, receiver=0xaa5f758, e=0xbffc14a0) at kernel/qapplication.cpp:4567
#23 0xb552d2d3 in QApplication::notify (this=0x9bd6660, receiver=receiver@entry=0xaa5f758, e=e@entry=0xbffc14a0) at kernel/qapplication.cpp:4353
#24 0xb668f1f4 in KApplication::notify (this=0x9bd6660, receiver=0xaa5f758, event=0xbffc14a0) at ../../kdeui/kernel/kapplication.cpp:311
#25 0xb601ae4a in QCoreApplication::notifyInternal (this=0x9bd6660, receiver=0xaa5f758, event=event@entry=0xbffc14a0) at kernel/qcoreapplication.cpp:953
#26 0xb5bcc773 in sendEvent (event=0xbffc14a0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 QGraphicsView::contextMenuEvent (this=0xc0e61a0, event=0xbffc1910) at graphicsview/qgraphicsview.cpp:2892
#28 0xb5580718 in QWidget::event (this=this@entry=0xc0e61a0, event=event@entry=0xbffc1910) at kernel/qwidget.cpp:8554
#29 0xb598678c in QFrame::event (this=this@entry=0xc0e61a0, e=e@entry=0xbffc1910) at widgets/qframe.cpp:557
#30 0xb5a14e48 in QAbstractScrollArea::viewportEvent (this=this@entry=0xc0e61a0, e=e@entry=0xbffc1910) at widgets/qabstractscrollarea.cpp:1043
#31 0xb5bcc107 in QGraphicsView::viewportEvent (this=<optimized out>, event=<optimized out>) at graphicsview/qgraphicsview.cpp:2866
#32 0xb5a150c6 in viewportEvent (event=0xbffc1910, this=<optimized out>) at widgets/qabstractscrollarea_p.h:100
#33 QAbstractScrollAreaFilter::eventFilter (this=0xbb717e8, o=0xc0fe1a0, e=0xbffc1910) at widgets/qabstractscrollarea_p.h:116
#34 0xb601afbe in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x9bda7e8, receiver=receiver@entry=0xc0fe1a0, event=event@entry=0xbffc1910) at kernel/qcoreapplication.cpp:1063
#35 0xb55267d1 in QApplicationPrivate::notify_helper (this=0x9bda7e8, receiver=receiver@entry=0xc0fe1a0, e=0xbffc1910) at kernel/qapplication.cpp:4563
#36 0xb552e9f3 in QApplication::notify (this=0x9bd6660, receiver=receiver@entry=0xc0fe1a0, e=e@entry=0xbffc1910) at kernel/qapplication.cpp:4189
#37 0xb668f1f4 in KApplication::notify (this=0x9bd6660, receiver=0xc0fe1a0, event=0xbffc1910) at ../../kdeui/kernel/kapplication.cpp:311
#38 0xb601ae4a in QCoreApplication::notifyInternal (this=0x9bd6660, receiver=receiver@entry=0xc0fe1a0, event=0xbffc1910) at kernel/qcoreapplication.cpp:953
#39 0xb55b0809 in sendSpontaneousEvent (event=0xbffc1910, receiver=0xc0fe1a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#40 QETWidget::translateMouseEvent (this=0xc132758, event=event@entry=0xbffc1b5c) at kernel/qapplication_x11.cpp:4639
#41 0xb55afec5 in QApplication::x11ProcessEvent (this=0x9bd6660, event=event@entry=0xbffc1b5c) at kernel/qapplication_x11.cpp:3627
#42 0xb55db524 in x11EventSourceDispatch (s=0x9bda5a8, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0xb1fc51e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0xb1fc5468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0xb1fc5528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0xb604a93b in QEventDispatcherGlib::processEvents (this=this@entry=0x9b74eb8, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#47 0xb55db5de in QGuiEventDispatcherGlib::processEvents (this=0x9b74eb8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0xb6019823 in QEventLoop::processEvents (this=this@entry=0xbffc1e18, flags=...) at kernel/qeventloop.cpp:149
#49 0xb6019b49 in QEventLoop::exec (this=this@entry=0xbffc1e18, flags=...) at kernel/qeventloop.cpp:204
#50 0xb601f8fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#51 0xb5524a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#52 0xb76f0877 in kdemain (argc=1, argv=0xbffc1fb4) at ../../../../plasma/desktop/shell/main.cpp:126
#53 0x0804855b in main (argc=1, argv=0xbffc1fb4) at plasma-desktop_dummy.cpp:3

The reporter indicates this bug may be a duplicate of or related to bug 331635.

Possible duplicates by query: bug 333405, bug 331635.

Reported using DrKonqi
Comment 1 Christoph Feck 2014-06-24 00:11:39 UTC

*** This bug has been marked as a duplicate of bug 331635 ***
Comment 2 Miras1990 2015-02-17 09:10:12 UTC
Created attachment 91126 [details]
New crash information added by DrKonqi

plasma-desktop (4.11.11) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed: 
Plasma crashed when deleting file in Folder View

-- Backtrace (Reduced):
#6  QAction::setEnabled (this=this@entry=0x6212060, b=b@entry=false) at kernel/qaction.cpp:1114
#7  0x00007fb3d22fc9c9 in PopupView::showContextMenu (this=this@entry=0x61ca700, widget=widget@entry=0x5c4a580, screenPos=..., indexes=...) at ../../../../plasma/applets/folderview/popupview.cpp:393
#8  0x00007fb3d22fcf30 in PopupView::contextMenuRequest (this=0x61ca700, widget=0x5c4a580, screenPos=...) at ../../../../plasma/applets/folderview/popupview.cpp:308
#9  0x00007fb3d22fd083 in PopupView::qt_static_metacall (_o=0x61ca700, _id=0, _a=0x7fb3f55e4778 <main_arena+24>, _c=<optimized out>) at ./popupview.moc:87
[...]
#11 0x00007fb3d22df337 in AbstractItemView::contextMenuRequest (this=this@entry=0x61fe8e0, _t1=0x5c4a580, _t2=...) at ./abstractitemview.moc:197