Bug 446993

Summary: Crash on wakeup
Product: [Plasma] plasmashell Reporter: Raman Gupta <rocketraman>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, nicolas.fella
Priority: NOR    
Version: 5.23.3   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Result of `thread apply all backtrace` after SEGFAULT

Description Raman Gupta 2021-12-14 20:28:29 UTC
SUMMARY

I have a desktop on A/C power with an APC UPS. The power energy settings are default -- 10 min monitor sleep on A/C.

When I leave my computer the screen locks and the displays go to sleep.

When I wake up my screens by moving my mouse, plasmashell crashes. Note that it crashes at wake time, NOT at unlock time.



STEPS TO REPRODUCE
1. Lock screen and wait for displays to sleep
2. Wake up screen

OBSERVED RESULT
Plasmashell crashes. I tried to follow the directions to get a stack trace but it didn't work for me.


EXPECTED RESULT
No crash.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 35
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.6-200.fc35.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-12-15 17:29:08 UTC
Can you attach a backtrace of the crash? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 2 Raman Gupta 2021-12-15 21:20:48 UTC
Created attachment 144584 [details]
Result of `thread apply all backtrace` after SEGFAULT

I have attached the result of `thread apply all backtrace` after the segfault, captured via gdb.

This is the output of gdb before the backtrace attached:

```
Thread 96 "QSGRenderThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f4ce37fe640 (LWP 871408)]
0x00007f4e1342813b in QQuickWindow::maybeUpdate (this=0x55f606338f60) at items/qquickwindow.cpp:3930
Downloading -0.00 MB source file /usr/src/debug/qt5-qtdeclarative-5.15.2-8.fc35.x86_64/src/quick/items/qquickwindow.cpp
3930        if (d->renderControl)                                                                                                                                                                                                                          
(gdb) 
Continuing.
[Detaching after fork from child process 871546]
[Detaching after fork from child process 871548]

Thread 1 "plasmashell" received signal SIGSTOP, Stopped (signal).
[Switching to Thread 0x7f4e0d17fe00 (LWP 868071)]
__futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55f60d096690) at futex-internal.c:57
Downloading -0.00 MB source file /usr/src/debug/glibc-2.34-12.fc35.x86_64/nptl/futex-internal.c
57          return INTERNAL_SYSCALL_CANCEL (futex_time64, futex_word, op, expected,
```
Comment 3 Raman Gupta 2021-12-15 21:24:40 UTC
Information provided as requested.
Comment 4 Nicolas Fella 2021-12-16 15:10:39 UTC

*** This bug has been marked as a duplicate of bug 444742 ***
Comment 5 Nate Graham 2022-01-11 17:02:53 UTC

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