Bug 424109

Summary: Segmentation fault with nvidia drivers after suspend on Xorg
Product: [Plasma] plasmashell Reporter: evilsourcerer
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: nate
Priority: NOR    
Version: 5.19.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=424681
https://bugs.kde.org/show_bug.cgi?id=424311
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: the stack trace of the crash
system settings inaccessible

Description evilsourcerer 2020-07-11 20:04:43 UTC
Created attachment 130049 [details]
the stack trace of the crash

SUMMARY

After suspending, plasmashell crashes with a segmentation fault, and will never be able to successfully start afterwards. Requires a restart of xorg to successfully start.

STEPS TO REPRODUCE
1. Put computer to sleep
2. Resume

OBSERVED RESULT

Plasmashell crashes and cannot be manually started (results in a segmentation fault as well)

EXPECTED RESULT

Plasmashell resumes normally

SOFTWARE/OS VERSIONS
Linux: 5.7.7-zen1-1-zen

(available in About System)
inaccessible, settings page has graphical issues
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.15.0

ADDITIONAL INFORMATION
This also results in a host of other graphical issues, such as certain UI elements being completely unusable.
Comment 1 evilsourcerer 2020-07-11 20:06:10 UTC
*also, this is on a setup with 2 monitors, and with intel integrated graphics and an Nvidia GTX 1060
Comment 2 evilsourcerer 2020-07-11 20:06:48 UTC
Created attachment 130050 [details]
system settings inaccessible
Comment 3 Nate Graham 2021-02-23 22:54:09 UTC
Stack trace of thread 7595:
                                             #0  0x00007fe803235e75 n/a (libnvidia-glcore.so.450.57 + 0xffbe75)
                                             #1  0x00007fe80311e218 n/a (libnvidia-glcore.so.450.57 + 0xee4218)
                                             #2  0x00007fe80311e25d n/a (libnvidia-glcore.so.450.57 + 0xee425d)
                                             #3  0x00007fe80e2b64f1 n/a (libqxcb-glx-integration.so + 0x94f1)
                                             #4  0x00007fe81aab8260 _ZN14QOpenGLContext11makeCurrentEP8QSurface (libQt5Gui.so.5 + 0x181260)
                                             #5  0x00007fe81c1395bd n/a (libQt5Quick.so.5 + 0x1f45bd)
                                             #6  0x00007fe81c13b6a8 n/a (libQt5Quick.so.5 + 0x1f66a8)
                                             #7  0x00007fe81c13c3d7 n/a (libQt5Quick.so.5 + 0x1f73d7)
                                             #8  0x00007fe81a4b3e0f n/a (libQt5Core.so.5 + 0xcee0f)
                                             #9  0x00007fe81984b422 start_thread (libpthread.so.0 + 0x9422)
                                             #10 0x00007fe81a13ebf3 __clone (libc.so.6 + 0xffbf3)

The backtrace appears to be 100% in Nvidia code in the proprietary driver. If you can still reproduce the issue, the Nvidia devs would like to hear about it. Please report it to them, either by sending an email to linux-bugs@nvidia.com or making a post at https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/

It would be helpful to the Nvidia developers if you could run nvidia-bug-report.sh and attach the resulting file in your report. Thanks!