Bug 502071 - On X11, Plasma crashed after plugging in external monitor
Summary: On X11, Plasma crashed after plugging in external monitor
Status: RESOLVED DUPLICATE of bug 489643
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.3.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, multiscreen, X11-only
Depends on:
Blocks:
 
Reported: 2025-03-27 14:36 UTC by gbqofoui
Modified: 2025-03-31 12:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/127597/events/d3f95859b43e418682cbf1303f02fbda/


Attachments
New crash information added by DrKonqi (90.92 KB, text/plain)
2025-03-27 14:36 UTC, gbqofoui
Details
additional stack trace (37.71 KB, text/plain)
2025-03-27 19:09 UTC, gbqofoui
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gbqofoui 2025-03-27 14:36:31 UTC
Application: plasmashell (6.3.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.12.0
Operating System: Linux 6.13.8-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 6.3.3 [CoredumpBackend]

-- Information about the crash:
plugged external display into the mini display port of my laptop and plasma crashed

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  0x0000755d51afaff3 in QOpenGLContext::isValid (this=0x755d08002330) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:520
#6  QOpenGLContext::doneCurrent (this=0x755d08002330) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:746
#7  0x0000755d51b057d2 in QGuiGLThreadContext::~QGuiGLThreadContext (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:35
#8  qThreadStorage_deleteData<QGuiGLThreadContext> (d=0x755d3c01a280) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadstorage.h:59
#9  QThreadStorage<QGuiGLThreadContext*>::deleteData (x=0x755d3c01a280) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadstorage.h:102


Reported using DrKonqi
Comment 1 gbqofoui 2025-03-27 14:36:32 UTC
Created attachment 179788 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 gbqofoui 2025-03-27 19:09:14 UTC
Created attachment 179793 [details]
additional stack trace

I think this crash is the same bug
Comment 3 Nate Graham 2025-03-28 20:31:24 UTC
Thread 1 (Thread 0x755cadffb6c0 (LWP 11433)):
[KCrash Handler]
#5  0x0000755d51afaff3 in QOpenGLContext::isValid (this=0x755d08002330) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:520
#6  QOpenGLContext::doneCurrent (this=0x755d08002330) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:746
#7  0x0000755d51b057d2 in QGuiGLThreadContext::~QGuiGLThreadContext (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qopenglcontext.cpp:35
#8  qThreadStorage_deleteData<QGuiGLThreadContext> (d=0x755d3c01a280) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadstorage.h:59
#9  QThreadStorage<QGuiGLThreadContext*>::deleteData (x=0x755d3c01a280) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadstorage.h:102
#10 0x0000755d510e9e79 in QThreadStorageData::finish (p=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadstorage.cpp:164
#11 QThreadStorageData::finish (p=0x755d3c017c18) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadstorage.cpp:135
#12 0x0000755d5122fc60 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:406
#13 (anonymous namespace)::terminate_on_exception<QThreadPrivate::finish()::{lambda()#1}>(QThreadPrivate::finish()::{lambda()#1}&&) [clone .isra.0] (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:311
#14 0x0000755d510d8aa4 in QThreadPrivate::finish (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:386
#15 operator() (__closure=0x0, arg=0x755cb9317350) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:338
#16 _FUN () at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:338
#17 __pthread_cleanup_class::~__pthread_cleanup_class (this=<optimized out>, this=<optimized out>) at /usr/include/pthread.h:578
#18 QThreadPrivate::start (arg=0x755cb9317350) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:380
#19 0x0000755d508a370a in start_thread (arg=<optimized out>) at pthread_create.c:448
#20 0x0000755d50927aac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Comment 4 cwo 2025-03-31 12:10:22 UTC
Thank you for the bug report! This issue is already being tracked; marking as a duplicate. We believe this is an upstream issue in Qt, and should be fixed in upcoming releases of the 6.8 and 6.9+ versions.

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