Bug 500319

Summary: systemsettings crash on plasmashell --replace
Product: [Applications] systemsettings Reporter: Sam James <sam>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.3.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=500310
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Sam James 2025-02-18 13:47:29 UTC
Application: systemsettings (6.3.1)
 (Compiled from sources)
ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.11.0
Operating System: Linux 6.13.3-gentoo-dist-hardened x86_64
Windowing System: Wayland
Distribution: "Gentoo Linux"
DrKonqi: 6.3.1 [CoredumpBackend]

-- Information about the crash:
See also https://bugs.kde.org/show_bug.cgi?id=500310.

This happened after running `plasmashell --replace` again after I managed to get a working session.

```
[13:45] <sam_> (gdb) frame 6
[13:45] <sam_> #6  0x00007f561c14f0c8 in QWindow::isTopLevel (this=this@entry=0x55eb1f65cd00) at /usr/src/debug/dev-qt/qtbase-6.8.2-r2/qtbase-everywhere-src-6.8.2/src/gui/kernel/qwindow.cpp:846
[13:45] <sam_> 846         return d->parentWindow == nullptr;
[13:45] <sam_> (gdb) p d->parentWindow
[13:45] <sam_> Cannot access memory at address 0x8e
[13:45] <sam_> (gdb) p d
[13:45] <sam_> $1 = (const QWindowPrivate * const) 0xe
[13:45] <sam_> (gdb)
```

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#6  0x00007f561c14f0c8 in QWindow::isTopLevel (this=this@entry=0x55eb1f65cd00) at /usr/src/debug/dev-qt/qtbase-6.8.2-r2/qtbase-everywhere-src-6.8.2/src/gui/kernel/qwindow.cpp:846
#7  0x00007f561c163184 in QWindowSystemInterface::handleScreenRemoved (platformScreen=0x55eb1f82d070) at /usr/src/debug/dev-qt/qtbase-6.8.2-r2/qtbase-everywhere-src-6.8.2/src/gui/kernel/qwindowsysteminterface.cpp:765
#8  0x00007f5619f3edc8 in QtWaylandClient::QWaylandDisplay::handleScreenInitialized (this=<optimized out>, screen=<optimized out>) at /usr/src/debug/dev-qt/qtwayland-6.8.2/qtwayland-everywhere-src-6.8.2/src/client/qwaylanddisplay.cpp:608
#9  0x00007f5619f0568b in QtWaylandClient::QWaylandScreen::maybeInitialize (this=0x55eb1fff2e00) at /usr/src/debug/dev-qt/qtwayland-6.8.2/qtwayland-everywhere-src-6.8.2/src/client/qwaylandscreen.cpp:81
#10 QtWaylandClient::QWaylandScreen::maybeInitialize (this=0x55eb1fff2e00) at /usr/src/debug/dev-qt/qtwayland-6.8.2/qtwayland-everywhere-src-6.8.2/src/client/qwaylandscreen.cpp:72


Reported using DrKonqi
Comment 1 Sam James 2025-02-18 13:47:30 UTC
Created attachment 178521 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2025-02-18 17:45:02 UTC

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