Bug 352817 - Plasma shell shutdown on Mint 17.2 while removing directory
Summary: Plasma shell shutdown on Mint 17.2 while removing directory
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-folderview (show other bugs)
Version: 4.11.11
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Ignat Semenov
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-09-16 23:32 UTC by forkdebugs
Modified: 2018-06-08 18:39 UTC (History)
1 user (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 forkdebugs 2015-09-16 23:32:42 UTC
Application: plasma-desktop (4.11.11)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-49-generic x86_64
Distribution: Linux Mint 17.2 Rafaela

-- Information about the crash:
1) Create a new directory on desktop.
2) Create another directory inside of the first one.
3) Create two new empty raw text files (they can be any files).
4) Hoover over desktop directory to open that Plasma shell "window"
5) Choose "remove" on subdir with right-click
6) Result: Screen goes black and after a while, desktop starts again, Plasma shell shutdown box and send bug report box opens

I think that Plasma shell (or some part of it) tries to use rmdir or it's equivalent and it fails, because there is stuff inside subdir. Dolphin just removes directory.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma-työpöytäkuori (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffafc3b5800 (LWP 2285))]

Thread 5 (Thread 0x7ffad0623700 (LWP 2312)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffaf5064ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007ffaf5065039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007ffaefbdb182 in start_thread (arg=0x7ffad0623700) at pthread_create.c:312
#4  0x00007ffafbca647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7ffa46d10700 (LWP 2483)):
#0  0x00007ffaef50b61d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffaef50b9a9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffaef4c9680 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffaef4c9f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffaef4ca0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffaf887a7be in QEventDispatcherGlib::processEvents (this=0x7ffa400008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007ffaf884c0af in QEventLoop::processEvents (this=this@entry=0x7ffa46d0fda0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ffaf884c3a5 in QEventLoop::exec (this=this@entry=0x7ffa46d0fda0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ffaf8748c5f in QThread::exec (this=this@entry=0x1e70ac0) at thread/qthread.cpp:537
#9  0x00007ffaf882d823 in QInotifyFileSystemWatcherEngine::run (this=0x1e70ac0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007ffaf874b32f in QThreadPrivate::start (arg=0x1e70ac0) at thread/qthread_unix.cpp:349
#11 0x00007ffaefbdb182 in start_thread (arg=0x7ffa46d10700) at pthread_create.c:312
#12 0x00007ffafbca647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7ffa44e3f700 (LWP 2485)):
#0  0x00007ffaefbdd569 in __GI___pthread_mutex_lock (mutex=0x7ffa3800de60) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007ffaef50b981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffaef4c9f99 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffaef4ca30a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffa4593b336 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007ffaef4eef05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ffaefbdb182 in start_thread (arg=0x7ffa44e3f700) at pthread_create.c:312
#7  0x00007ffafbca647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7ffa37dad700 (LWP 2486)):
#0  0x00007ffaef4c9640 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffaef4c9f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffaef4ca0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffaf887a7be in QEventDispatcherGlib::processEvents (this=0x7ffa300008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007ffaf884c0af in QEventLoop::processEvents (this=this@entry=0x7ffa37dacda0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ffaf884c3a5 in QEventLoop::exec (this=this@entry=0x7ffa37dacda0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ffaf8748c5f in QThread::exec (this=this@entry=0x16aa7a0) at thread/qthread.cpp:537
#7  0x00007ffaf882d823 in QInotifyFileSystemWatcherEngine::run (this=0x16aa7a0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007ffaf874b32f in QThreadPrivate::start (arg=0x16aa7a0) at thread/qthread_unix.cpp:349
#9  0x00007ffaefbdb182 in start_thread (arg=0x7ffa37dad700) at pthread_create.c:312
#10 0x00007ffafbca647d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ffafc3b5800 (LWP 2285)):
[KCrash Handler]
#6  size (this=0x3eff1b8) at ../../include/QtCore/../../src/corelib/tools/qlist.h:98
#7  count (this=0x3eff1b8) at ../../include/QtCore/../../src/corelib/tools/qlist.h:280
#8  QActionPrivate::setShortcutEnabled (this=this@entry=0x3eff0d0, enable=false, map=...) at kernel/qaction.cpp:190
#9  0x00007ffaf7be267d in QAction::setEnabled (this=this@entry=0x458bbb0, b=b@entry=false) at kernel/qaction.cpp:1122
#10 0x00007ffad8b639c9 in PopupView::showContextMenu (this=this@entry=0x400b870, widget=widget@entry=0x46235e0, screenPos=..., indexes=...) at ../../../../plasma/applets/folderview/popupview.cpp:393
#11 0x00007ffad8b63f30 in PopupView::contextMenuRequest (this=0x400b870, widget=0x46235e0, screenPos=...) at ../../../../plasma/applets/folderview/popupview.cpp:308
#12 0x00007ffad8b64083 in PopupView::qt_static_metacall (_o=0x400b870, _id=21812912, _a=0xffffff01, _c=<optimized out>) at ./popupview.moc:87
#13 0x00007ffaf886187a in QMetaObject::activate (sender=sender@entry=0x453c2b0, m=m@entry=0x7ffad8d7e8e0 <AbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffcf4447790) at kernel/qobject.cpp:3539
#14 0x00007ffad8b46337 in AbstractItemView::contextMenuRequest (this=this@entry=0x453c2b0, _t1=0x46235e0, _t2=...) at ./abstractitemview.moc:197
#15 0x00007ffad8b4fc05 in IconView::contextMenuEvent (this=0x453c2b0, event=0x7ffcf4447c00) at ../../../../plasma/applets/folderview/iconview.cpp:2169
#16 0x00007ffaf8190655 in QGraphicsItem::sceneEvent (this=0x453c2c0, event=0x7ffcf4447c00) at graphicsview/qgraphicsitem.cpp:6725
#17 0x00007ffaf81b77aa in QGraphicsScene::contextMenuEvent (this=<optimized out>, contextMenuEvent=0x7ffcf4447c00) at graphicsview/qgraphicsscene.cpp:3617
#18 0x00007ffaf81cc275 in QGraphicsScene::event (this=0x40ba2f0, event=0x7ffcf4447c00) at graphicsview/qgraphicsscene.cpp:3412
#19 0x00007ffaf7be6e2c in QApplicationPrivate::notify_helper (this=this@entry=0x114ee70, receiver=receiver@entry=0x40ba2f0, e=e@entry=0x7ffcf4447c00) at kernel/qapplication.cpp:4567
#20 0x00007ffaf7bed4a0 in QApplication::notify (this=this@entry=0x114dc30, receiver=receiver@entry=0x40ba2f0, e=e@entry=0x7ffcf4447c00) at kernel/qapplication.cpp:4353
#21 0x00007ffaf9512cca in KApplication::notify (this=0x114dc30, receiver=0x40ba2f0, event=0x7ffcf4447c00) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007ffaf884d4dd in QCoreApplication::notifyInternal (this=0x114dc30, receiver=0x40ba2f0, event=event@entry=0x7ffcf4447c00) at kernel/qcoreapplication.cpp:953
#23 0x00007ffaf81e3da7 in sendEvent (event=0x7ffcf4447c00, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QGraphicsView::contextMenuEvent (this=0x3848fb0, event=0x7ffcf44480d0) at graphicsview/qgraphicsview.cpp:2892
#25 0x00007ffaf7c367e2 in QWidget::event (this=this@entry=0x3848fb0, event=event@entry=0x7ffcf44480d0) at kernel/qwidget.cpp:8554
#26 0x00007ffaf7fd804e in QFrame::event (this=0x3848fb0, e=0x7ffcf44480d0) at widgets/qframe.cpp:557
#27 0x00007ffaf81e3859 in QGraphicsView::viewportEvent (this=0x3848fb0, event=0x7ffcf44480d0) at graphicsview/qgraphicsview.cpp:2866
#28 0x00007ffaf884d646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x114ee70, receiver=receiver@entry=0x46235e0, event=event@entry=0x7ffcf44480d0) at kernel/qcoreapplication.cpp:1063
#29 0x00007ffaf7be6e0c in QApplicationPrivate::notify_helper (this=this@entry=0x114ee70, receiver=receiver@entry=0x46235e0, e=e@entry=0x7ffcf44480d0) at kernel/qapplication.cpp:4563
#30 0x00007ffaf7bee1f8 in QApplication::notify (this=this@entry=0x114dc30, receiver=receiver@entry=0x46235e0, e=e@entry=0x7ffcf44480d0) at kernel/qapplication.cpp:4189
#31 0x00007ffaf9512cca in KApplication::notify (this=0x114dc30, receiver=0x46235e0, event=0x7ffcf44480d0) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007ffaf884d4dd in QCoreApplication::notifyInternal (this=0x114dc30, receiver=receiver@entry=0x46235e0, event=event@entry=0x7ffcf44480d0) at kernel/qcoreapplication.cpp:953
#33 0x00007ffaf7c61a40 in sendSpontaneousEvent (event=0x7ffcf44480d0, receiver=0x46235e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#34 QETWidget::translateMouseEvent (this=this@entry=0x400b870, event=event@entry=0x7ffcf4448420) at kernel/qapplication_x11.cpp:4639
#35 0x00007ffaf7c61289 in QApplication::x11ProcessEvent (this=0x114dc30, event=event@entry=0x7ffcf4448420) at kernel/qapplication_x11.cpp:3627
#36 0x00007ffaf7c88b32 in x11EventSourceDispatch (s=0x1158f30, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007ffaef4c9e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffaef4ca048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffaef4ca0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007ffaf887a7a1 in QEventDispatcherGlib::processEvents (this=0x10c8730, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#41 0x00007ffaf7c88be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007ffaf884c0af in QEventLoop::processEvents (this=this@entry=0x7ffcf44487f0, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007ffaf884c3a5 in QEventLoop::exec (this=this@entry=0x7ffcf44487f0, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007ffaf8851b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#45 0x00007ffaf7be537c in QApplication::exec () at kernel/qapplication.cpp:3828
#46 0x00007ffafbfad67c in kdemain (argc=1, argv=0x7ffcf4448a48) at ../../../../plasma/desktop/shell/main.cpp:126
#47 0x00007ffafbbcdec5 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=1, argv=0x7ffcf4448a48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcf4448a38) at libc-start.c:287
#48 0x000000000040070e in _start ()

Reported using DrKonqi
Comment 1 Nate Graham 2018-06-08 18:39:39 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug has already been resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham