Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.5.0
-
None
-
Qt 5.5 with (applied commits b0b08c and ae51e3), KF 5.14, KDE Plasma 5.4.2, KScreen installed & configured, X11, Gentoo Linux.
Laptop in a docking station with lid closed and two external monitors connected.
Description
When starting KDE Plasma on a laptop in a docking station with two monitors attached the krunner process crashes with the attached backtrace. In my case the problem appears every time I start KDE with the laptop docked. When the laptop starts undocked with just the internal screen no crash happens.
The system has KScreen installed and configured.
According to https://bugs.kde.org/show_bug.cgi?id=353129 the crash seems to be reported by other users in similar environment.
A brief analysis would indicate that QQuickScreenAttached::screenChanged() is trying to disconnect all signals from the old screen. Unfortunately the old screen instance seems to have been destroyed already. This causes QObject::disconnect() to die while calling a virtual method on it (see bottom of backtrace).