Application: plasmashell (5.5.5) Qt Version: 5.5.1 Operating System: Linux 4.4.0-45-generic x86_64 Distribution: Ubuntu 16.04.1 LTS -- Information about the crash: My laptop screen is always black unless my external monitor is plugged in. If I restart the computer without the monitor plugged in, it works fine untill I login, and then the laptop screen goes black. The screen works again as soon as I plug the monitor in. It doesn't matter if the monitor is turned on or not. The laptop was working fine untill I started using it with an external monitor then I started having this problem. About half of the time when I plug the monitor back in again I see this crash. Output of xrandr with monitor: Screen 0: minimum 8 x 8, current 1920 x 2160, maximum 32767 x 32767 eDP1 connected 1920x1080+0+1080 (normal left inverted right x axis y axis) 344mm x 193mm 1920x1080 60.06*+ 59.93 1680x1050 59.95 59.88 1600x1024 60.17 1400x1050 59.98 1600x900 60.00 1280x1024 60.02 1440x900 59.89 1280x960 60.00 1368x768 60.00 1360x768 59.80 59.96 1152x864 60.00 1280x720 60.00 1024x768 60.00 1024x576 60.00 960x540 60.00 800x600 60.32 56.25 864x486 60.00 640x480 59.94 720x405 60.00 640x360 60.00 HDMI1 disconnected (normal left inverted right x axis y axis) HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm 1920x1080 60.00*+ 50.00 59.94 1680x1050 59.88 1280x1024 60.02 1440x900 59.90 1280x800 59.91 1152x864 75.00 1280x720 60.00 50.00 59.94 1024x768 70.07 60.00 800x600 60.32 56.25 720x576 50.00 720x480 60.00 59.94 640x480 66.67 60.00 59.94 720x400 70.08 VIRTUAL1 disconnected (normal left inverted right x axis y axis) xrandr without monitor: Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 eDP1 connected (normal left inverted right x axis y axis) 1920x1080 60.06 + 59.93 1680x1050 59.95 59.88 1600x1024 60.17 1400x1050 59.98 1600x900 60.00 1280x1024 60.02 1440x900 59.89 1280x960 60.00 1368x768 60.00 1360x768 59.80 59.96 1152x864 60.00 1280x720 60.00 1024x768 60.00 1024x576 60.00 960x540 60.00 800x600 60.32 56.25 864x486 60.00 640x480 59.94 720x405 60.00 640x360 60.00 HDMI1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) The crash can be reproduced every time. -- Backtrace: Application: Plasma (plasmashell), signal: Segmentation fault [KCrash Handler] #6 0x00007f113745b420 in Plasma::Applet::actions() const () from /usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5 #7 0x00000000004559b2 in ShellCorona::addOutput (this=this@entry=0x1214660, output=...) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/shell/shellcorona.cpp:905 #8 0x0000000000455b4f in ShellCorona::outputEnabledChanged (this=0x1214660) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/shell/shellcorona.cpp:799 #9 0x00007f1133f23baf in QtPrivate::QSlotObjectBase::call (a=0x7ffd26088d20, r=0x1214660, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #10 QMetaObject::activate (sender=0x11ef9e0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3698 #11 0x00007f11380dcc59 in KScreen::Output::apply(QSharedPointer<KScreen::Output> const&) () from /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6 #12 0x00007f11380cc5d5 in KScreen::Config::apply(QSharedPointer<KScreen::Config> const&) () from /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6 #13 0x00007f11380d1cc9 in KScreen::ConfigMonitor::Private::updateConfigs(QSharedPointer<KScreen::Config> const&) () from /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6 #14 0x00007f11380d38ad in KScreen::ConfigMonitor::Private::edidReady(QDBusPendingCallWatcher*) () from /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6 #15 0x00007f1133f23baf in QtPrivate::QSlotObjectBase::call (a=0x7ffd26089110, r=0x1812e10, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #16 QMetaObject::activate (sender=0x3b1b290, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd26089110) at kernel/qobject.cpp:3698 #17 0x00007f1133f24537 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f11390a86a0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd26089110) at kernel/qobject.cpp:3578 #18 0x00007f113908df6f in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=0x3b1b290) at .moc/moc_qdbuspendingcall.cpp:148 #19 0x00007f113908f645 in QDBusPendingCallWatcherPrivate::_q_finished (this=<optimized out>) at qdbuspendingcall.cpp:488 #20 QDBusPendingCallWatcher::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:80 #21 0x00007f1133f24c01 in QObject::event (this=0x3b1b290, e=<optimized out>) at kernel/qobject.cpp:1239 #22 0x00007f11349f805c in QApplicationPrivate::notify_helper (this=this@entry=0x114e6d0, receiver=receiver@entry=0x3b1b290, e=e@entry=0x40beaa0) at kernel/qapplication.cpp:3716 #23 0x00007f11349fd516 in QApplication::notify (this=0x7ffd26089800, receiver=0x3b1b290, e=0x40beaa0) at kernel/qapplication.cpp:3499 #24 0x00007f1133ef538b in QCoreApplication::notifyInternal (this=0x7ffd26089800, receiver=0x3b1b290, event=event@entry=0x40beaa0) at kernel/qcoreapplication.cpp:965 #25 0x00007f1133ef7786 in QCoreApplication::sendEvent (event=0x40beaa0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224 #26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1144600) at kernel/qcoreapplication.cpp:1593 #27 0x00007f1133ef7c68 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451 #28 0x00007f1133f4b3c3 in postEventSourceDispatch (s=0x1190e00) at kernel/qeventdispatcher_glib.cpp:271 #29 0x00007f11303b41a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #30 0x00007f11303b4400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #31 0x00007f11303b44ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #32 0x00007f1133f4b7cf in QEventDispatcherGlib::processEvents (this=0x11858b0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #33 0x00007f1133ef2b4a in QEventLoop::exec (this=this@entry=0x7ffd260896a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #34 0x00007f1133efabec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229 #35 0x00007f113422ebfc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1542 #36 0x00007f11349f4495 in QApplication::exec () at kernel/qapplication.cpp:2976 #37 0x0000000000432d4a in main (argc=4, argv=<optimized out>) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/shell/main.cpp:181 Possible duplicates by query: bug 372749, bug 364814, bug 364613, bug 363731, bug 363591. Reported using DrKonqi
Update: If I use a guest session, I don't have this issue.
Update: I disabled and then re enabled the external monitor in the Display Configuration settings and now I don't have this issue.
*** This bug has been marked as a duplicate of bug 372749 ***
*** Bug 380181 has been marked as a duplicate of this bug. ***