Bug 480979

Summary: Plasma crashes on login
Product: [Plasma] plasmashell Reporter: tiberiu.preda
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.27.10   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tiberiu.preda 2024-02-07 01:47:41 UTC
Application: plasmashell (5.27.10)

Qt Version: 5.15.12
Frameworks Version: 5.114.0
Operating System: Linux 6.7.2-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
Just updated Mesa and now both Wayland and X11 sessions either use the software renderer on login, or display a black screen with functioning cursor. Upon setting the renderer to OpenGL and logging out and back in with X11, Plasma crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  QOpenGLContext::isValid (this=0x0) at kernel/qopenglcontext.cpp:723
#5  0x00007f54bf815df5 in QSGGuiThreadRenderLoop::renderWindow (this=this@entry=0x564d0bd1bb50, window=<optimized out>, window@entry=0x564d0bd17620) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.12+kde31/src/quick/scenegraph/qsgrenderloop.cpp:648
#6  0x00007f54bf817f7e in QSGGuiThreadRenderLoop::exposureChanged (this=0x564d0bd1bb50, window=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.12+kde31/src/quick/scenegraph/qsgrenderloop.cpp:853
#7  0x00007f54bdf890f5 in QWindow::event (this=0x564d0bd17620, ev=<optimized out>) at kernel/qwindow.cpp:2461
#8  0x00007f54be9a51ae in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x564d0bd17620, e=0x7fff4cb85550) at kernel/qapplication.cpp:3640
#9  0x00007f54bdaed938 in QCoreApplication::notifyInternal2 (receiver=0x564d0bd17620, event=0x7fff4cb85550) at kernel/qcoreapplication.cpp:1064
#10 0x00007f54bdaedb0e in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#11 0x00007f54bdf7e4ad in QGuiApplicationPrivate::processExposeEvent (e=0x564d0c5251e0) at kernel/qguiapplication.cpp:3261
#12 0x00007f54bdf5038c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#13 0x00007f54b84f956a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#14 0x00007f54bc637f30 in ?? () from /lib64/libglib-2.0.so.0
#15 0x00007f54bc639b58 in ?? () from /lib64/libglib-2.0.so.0
#16 0x00007f54bc63a20c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#17 0x00007f54bdb46876 in QEventDispatcherGlib::processEvents (this=0x564d0b666270, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#18 0x00007f54bdaec3cb in QEventLoop::exec (this=this@entry=0x7fff4cb857c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#19 0x00007f54bdaf4860 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#20 0x00007f54bdf705dc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#21 0x00007f54be9a5125 in QApplication::exec () at kernel/qapplication.cpp:2832
#22 0x0000564d0a725aa1 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.27.10/shell/main.cpp:235
[Inferior 1 (process 4925) detached]

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

Reported using DrKonqi
This report was filed against 'kde' because the product 'plasmashell' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 Nate Graham 2024-02-15 02:49:09 UTC
Sorry this happened. However if updating Mesa caused it, it seems pretty clear that the issue is caused by a regression in Mesa itself. I'd recommend reporting it at https://docs.mesa3d.org/bugs.html.