Bug 428949

Summary: Desktop panels and icons disappeared while working with desktop icons
Product: [Plasma] plasmashell Reporter: pveax <pveax>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR    
Version: 5.20.4   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description pveax 2020-11-11 02:23:50 UTC
SUMMARY

It is hard to reproduce. What I've done right before crash
STEPS TO REPRODUCE
1. Was created and deleted about 5 sticky notes widgets on the desktop. Their notifications about to restore them were present on the screen.
2. I create new folder with customized name
3. select 3 files via rectangular selection with mouse
4. Pressed Ctrl+X. Got crash immediately.

Desktop panels and desktop icons was auto-restored during a few seconds.

After the crash got about 5 sticky notes present on the desktop.

Re-delete them, select that 3 files again, cut and paste into the folder with success.

OBSERVED RESULT
`journalctl`:

```
Nov 11 05:07:54.004486 systemd-coredump[79841]: Process 854 (plasmashell) of user 1000 dumped core.
                                                
                                                Stack trace of thread 854:
                                                #0  0x00007fada1080615 raise (libc.so.6 + 0x3d615)
                                                #1  0x00007fada10806a0 __restore_rt (libc.so.6 + 0x3d6a0)
                                                #2  0x00005585f94fb870 n/a (n/a + 0x0)

```

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.10.0-1-MANJARO
OS Type: 64-bit

ADDITIONAL INFORMATION
crash dump file attached
Comment 1 pveax 2020-11-11 02:30:02 UTC
Core dump file size is 36 MB and was rejected to upload here.

Was uploaded to http://www.mediafire.com/file/6exgsg53mz7sr8z/core.plasmashell.1000.892b6f66b893474bb05bce0a5071c114.854.1605071270000000.zst/file
Comment 2 pveax 2020-11-11 02:37:05 UTC
It happens again:
I fulfilled bug ticket, closed or minimized window one after one,
selected 1 folder on the desktop,
pressed Ctrl+X and immediately got a new crash look the same as previous:

`journalctl`:

```
Nov 11 05:28:58.216335 systemd-coredump[85036]: Process 79838 (plasmashell) of user 1000 dumped core.
                                                
                                                Stack trace of thread 79838:
                                                #0  0x00007f77e694d615 raise (libc.so.6 + 0x3d615)
                                                #1  0x00007f77e694d6a0 __restore_rt (libc.so.6 + 0x3d6a0)
                                                #2  0x000055dd393cae98 n/a (n/a + 0x0)
```

Now core dump has about 28 MB size and was uploaded to http://www.mediafire.com/file/8acnd769ikrjmy2/core.plasmashell.1000.892b6f66b893474bb05bce0a5071c114.79838.1605072534000000.zst/file
Comment 3 Nate Graham 2020-11-11 20:59:44 UTC
You don't need to provide the full core, just a backtrace of the crash using gdb. Can you do that?
Comment 4 pveax 2020-11-11 23:24:39 UTC
What is the guide how to do this?
Comment 5 Nate Graham 2020-11-12 00:20:42 UTC
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

If you have a core file, you can run `gdb /usr/bin/plasmashell /path/to/core/file` and type `bt` and it will display a more readable backtrace.
Comment 6 pveax 2020-11-13 04:53:38 UTC
backtrace from 36 MB-file:

backtrace was manually edited:
neighboring lines of `warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing` was replaced into that single line

```
Reading symbols from /usr/bin/plasmashell...
(No debugging symbols found in /usr/bin/plasmashell)

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:JITCode:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:xshmfence (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:xorg (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:pulseaudio (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /home/m/.cache/ksycoca5_en-GB_7WWdbVM3fwVucaLMGhx761eTffo= (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /usr/lib/libksgrd.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libKF5Screen.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libnotificationmanager.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libprocesscore.so.5.20.2 during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /usr/lib/libLLVM-10.so during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /usr/lib/libKSysGuardFormatter.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libKSysGuardSensors.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /usr/lib/libKSysGuardSensorFaces.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libtaskmanager.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libbreezecommon5.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libkworkspace5.so.5.20.2 during file-backed mapping note processing
[New LWP 854]
[New LWP 2336]
[New LWP 910]
[New LWP 1122]
[New LWP 1103]
[New LWP 1100]
[New LWP 1126]
[New LWP 2331]
[New LWP 2333]
[New LWP 2335]
[New LWP 2337]
[New LWP 2338]
[New LWP 3918]
[New LWP 79541]
[New LWP 79714]
[New LWP 79720]
[New LWP 79729]
[New LWP 1101]
[New LWP 2339]
[New LWP 883]
[New LWP 1102]
[New LWP 1110]
[New LWP 2326]
[New LWP 2332]
[New LWP 1109]
[New LWP 3398]
[New LWP 1125]
[New LWP 10278]
[New LWP 47136]
[New LWP 79682]
[New LWP 79674]

warning: .dynamic section for "/usr/lib/libdrm.so.2" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/dri/iris_dri.so" is not at the expected address (wrong library or version mismatch?)

warning: Could not load shared library symbols for /usr/lib/libLLVM-10.so.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
--Type <RET> for more, q to quit, c to continue without paging--c
Core was generated by `/usr/bin/plasmashell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fada1080615 in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fad9d3be840 (LWP 854))]
(gdb) 
```
Comment 7 pveax 2020-11-13 04:56:38 UTC
backtrace from 28 MB-file:

backtrace was manually edited:
neighboring lines of `warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing` was replaced into that single line

```
Reading symbols from /usr/bin/plasmashell...
(No debugging symbols found in /usr/bin/plasmashell)

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JITCode:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:pulseaudio (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:xshmfence (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /usr/lib/libksgrd.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libKF5Screen.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libnotificationmanager.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libprocesscore.so.5.20.2 during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:xorg (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /usr/lib/libLLVM-10.so during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /usr/lib/libKSysGuardFormatter.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libKSysGuardSensors.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libKSysGuardSensorFaces.so.5.20.2 during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /usr/lib/libtaskmanager.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /usr/lib/libbreezecommon5.so.5.20.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/libkworkspace5.so.5.20.2 during file-backed mapping note processing
[New LWP 79838]
[New LWP 84974]
[New LWP 79866]
[New LWP 79850]
[New LWP 80081]
[New LWP 79844]
[New LWP 79845]
[New LWP 79851]
[New LWP 80087]
[New LWP 80088]
[New LWP 80086]
[New LWP 84972]
[New LWP 79847]
[New LWP 79843]
[New LWP 79846]
[New LWP 79863]
[New LWP 84973]
[New LWP 79848]
[New LWP 79867]
[New LWP 80073]
[New LWP 80079]
[New LWP 80080]
[New LWP 80082]
[New LWP 80084]
[New LWP 84971]

warning: .dynamic section for "/usr/lib/libdrm.so.2" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/usr/lib/dri/iris_dri.so" is not at the expected address (wrong library or version mismatch?)

warning: Could not load shared library symbols for /usr/lib/libLLVM-10.so.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/plasmashell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f77e694d615 in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7f77e2c8b840 (LWP 79838))]
(gdb) 
```
Comment 8 Nate Graham 2020-11-13 16:04:32 UTC
Hmm that's not a backtrace. You have to type `bt` at the gdb prompt.
Comment 9 pveax 2020-11-15 12:44:22 UTC
Sorry, Nate.

For 36 MB-file:

```
(gdb) bt
#0  0x00007fada1080615 in raise () at /usr/lib/libc.so.6
#1  0x00007fada10806a0 in <signal handler called> () at /usr/lib/libc.so.6
#2  0x00005585f94fb870 in  ()
#3  0x00007fada16a7b7a in QMetaObject::cast(QObject const*) const () at /usr/lib/libQt5Core.so.5
#4  0x00007fad9c3d1b6d in QQuickShortcutContext::matcher(QObject*, Qt::ShortcutContext) () at /usr/lib/libQt5QuickTemplates2.so.5
#5  0x00007fada1aa42cf in QShortcutMap::find(QKeyEvent*, int) () at /usr/lib/libQt5Gui.so.5
#6  0x00007fada1aa72e1 in QShortcutMap::nextState(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
#7  0x00007fada1aa8617 in QShortcutMap::tryShortcut(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
#8  0x00007fada1a502b4 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () at /usr/lib/libQt5Gui.so.5
#9  0x00007fada1a7339c in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/libQt5Gui.so.5
#10 0x00007fada1a4cbac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#11 0x00007fad9cfccf9c in  () at /usr/lib/libQt5XcbQpa.so.5
#12 0x00007fad9fb15914 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#13 0x00007fad9fb697d1 in  () at /usr/lib/libglib-2.0.so.0
#14 0x00007fad9fb14121 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#15 0x00007fada16f7941 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#16 0x00007fada169d65c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#17 0x00007fada16a5af4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#18 0x00005585f6ca5f99 in  ()
#19 0x00007fada106b152 in __libc_start_main () at /usr/lib/libc.so.6
#20 0x00005585f6ca61de in  ()
(gdb) 
```
Comment 10 pveax 2020-11-15 12:45:23 UTC
for 28 MB-file:

```
(gdb) bt
#0  0x00007f77e694d615 in raise () at /usr/lib/libc.so.6
#1  0x00007f77e694d6a0 in <signal handler called> () at /usr/lib/libc.so.6
#2  0x000055dd393cae98 in  ()
#3  0x00007f77e6f74b7a in QMetaObject::cast(QObject const*) const () at /usr/lib/libQt5Core.so.5
#4  0x00007f77e1c9eb6d in QQuickShortcutContext::matcher(QObject*, Qt::ShortcutContext) () at /usr/lib/libQt5QuickTemplates2.so.5
#5  0x00007f77e73712cf in QShortcutMap::find(QKeyEvent*, int) () at /usr/lib/libQt5Gui.so.5
#6  0x00007f77e73742e1 in QShortcutMap::nextState(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
#7  0x00007f77e7375617 in QShortcutMap::tryShortcut(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
#8  0x00007f77e731d2b4 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () at /usr/lib/libQt5Gui.so.5
#9  0x00007f77e734039c in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/libQt5Gui.so.5
#10 0x00007f77e7319bac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#11 0x00007f77e2899f9c in  () at /usr/lib/libQt5XcbQpa.so.5
#12 0x00007f77e53e2914 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#13 0x00007f77e54367d1 in  () at /usr/lib/libglib-2.0.so.0
#14 0x00007f77e53e1121 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#15 0x00007f77e6fc4941 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#16 0x00007f77e6f6a65c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#17 0x00007f77e6f72af4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#18 0x000055dd34634f99 in  ()
#19 0x00007f77e6938152 in __libc_start_main () at /usr/lib/libc.so.6
#20 0x000055dd346351de in  ()
(gdb) 
```
Comment 11 Nate Graham 2020-11-16 21:28:08 UTC
Thanks.
Comment 12 Nate Graham 2021-02-24 04:51:16 UTC

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