Bug 351836

Summary: crash when disconnecting screen
Product: [Plasma] plasmashell Reporter: Bernd Steinhauser <linux>
Component: generic-multiscreenAssignee: Aleix Pol <aleixpol>
Status: RESOLVED DUPLICATE    
Severity: crash CC: james.ellis, kde, notmart, plasma-bugs
Priority: NOR    
Version: 5.4.0   
Target Milestone: 1.0   
Platform: Exherbo   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Output of xrandr --verbose
Backtrace of the crash

Description Bernd Steinhauser 2015-08-27 05:48:30 UTC
I've got three screens, each of a size of 1920x1200. The one in the middle is a screen from Eizo and has some weird behaviour: It cuts the DisplayPort connection when it is switched off.
The result is that Plasma fiddles around with the desktop setup and in the process, it crashes.
When I turn it on again, it switches everything back, normally in the correct way.
Note, that I've only ever observed the crash on the disconnect even. On that one, reliably, though.

I'll attach a backtrace, even though drkonqi tells me, that it's useless. But maybe you can give me advice how to provide better information, since I'm completely lost here tracing this problem. Also, the crash isn't visible in coredumpctl for some reason, which is a shame. :(

Reproducible: Always

Steps to Reproduce:
1. Use a multiscreen setup (not sure if you need 2 or 3 monitors and if the layout matters, could test that, though if necessary)
2. Cut the connection for one of the monitors
3. Observe Plasma crashing
Comment 1 Bernd Steinhauser 2015-08-27 05:50:32 UTC
Created attachment 94241 [details]
Output of xrandr --verbose
Comment 2 Bernd Steinhauser 2015-08-27 05:51:23 UTC
Created attachment 94242 [details]
Backtrace of the crash
Comment 3 David Edmundson 2015-08-27 12:39:57 UTC
Thread 1 (Thread 0x7f77eed18840 (LWP 1065)):
[KCrash Handler]
#5  0x0000000000000009 in ?? ()
#6  0x00007f77ebbe9245 in QQmlPropertyData* qQmlPropertyCacheProperty<QV4::String const*>(QJSEngine*, QObject*, QV4::String const*, QQmlContextData*, QQmlPropertyData&) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Qml.so.5
#7  0x00007f77ebb61575 in QV4::QObjectWrapper::findProperty(QV4::ExecutionEngine*, QQmlContextData*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QQmlPropertyData*) const () from /usr/x86_64-pc-linux-gnu/lib/libQt5Qml.so.5
#8  0x00007f77ebb64916 in QV4::QObjectWrapper::getQmlProperty(QQmlContextData*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*, bool) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Qml.so.5
#9  0x00007f77ebb79b7b in QV4::Runtime::getProperty(QV4::ExecutionEngine*, QV4::Value const&, int) () from /usr/x86_64-pc-linux-gnu/lib/libQt5Qml.so.5
#10 0x00007f77ea852847 in ?? ()
#11 0x0000000000000000 in ?? ()
Comment 4 jamese 2015-10-26 23:36:42 UTC
Don't know if it's related but I get plasmashell and krunner crashes as well  using Displayport with an Intel driver , backtraces in this bug:
https://bugs.kde.org/show_bug.cgi?id=349482

I also get an empty black screen on the non-primary display after resuming from suspend as described in that bug.
Comment 5 Marco Martin 2015-11-25 09:46:09 UTC

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