Bug 358605

Summary: KWin and Plasma both crashed when xrandr switching display to external monitor from laptop one (Suggested Duplicate 355882)
Product: [Plasma] kwin Reporter: Grzegorz Wierzowiecki <gwpublic>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.5.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Grzegorz Wierzowiecki 2016-01-26 20:45:10 UTC
Application: kwin_x11 (5.5.3)

Qt Version: 5.5.1
Operating System: Linux 4.3.3-2-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
Suggested Duplicate 355882 (sorry but from GUI I couldn't send data without filing this one , some UX problem)

- What I was doing when the application crashed:
After plugging Lenovo X230 into Docking station, I issued :

$ xrandr --output DP3 --off --output DP2 --off --output DP1 --off --output HDMI3 --mode 1920x1200 --pos 0x0 --rotate left --output HDMI2 --off --output HDMI1 --off --output LVDS1 --off --output VGA1 --off

command , as usuall and then : KWin and Plasma , both crashed.

- Unusual behavior I noticed:

Normally it was turning on external monitor and turning off laptop one. Now I have both.

- Custom settings of the application:

Above command.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff8750bf840 (LWP 729))]

Thread 5 (Thread 0x7ff87145f700 (LWP 826)):
#0  0x00007ff88bb82e23 in select () from /usr/lib/libc.so.6
#1  0x00007ff88a362c1f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /usr/lib/libQt5Core.so.5
#2  0x00007ff88a3646f7 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /usr/lib/libQt5Core.so.5
#3  0x00007ff88a364bfe in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ff88a30e57a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ff88a12abe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ff884de9055 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007ff88a12fb8e in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007ff88be4c4a4 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff88bb8a13d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7ff860d8e700 (LWP 837)):
#0  0x00007ff88be5207f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007ff889293934 in ?? () from /usr/lib/libQt5Script.so.5
#2  0x00007ff889293979 in ?? () from /usr/lib/libQt5Script.so.5
#3  0x00007ff88be4c4a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007ff88bb8a13d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7ff86158f700 (LWP 8652)):
#0  0x00007ff88bb82e23 in select () from /usr/lib/libc.so.6
#1  0x00007ff88a362c1f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /usr/lib/libQt5Core.so.5
#2  0x00007ff88a3646f7 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /usr/lib/libQt5Core.so.5
#3  0x00007ff88a364bfe in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ff88a30e57a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ff88a12abe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ff884de9055 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007ff88a12fb8e in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007ff88be4c4a4 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff88bb8a13d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7ff7d1b60700 (LWP 15147)):
#0  0x00007ff88bb82e23 in select () from /usr/lib/libc.so.6
#1  0x00007ff88a362c1f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () from /usr/lib/libQt5Core.so.5
#2  0x00007ff88a3646f7 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () from /usr/lib/libQt5Core.so.5
#3  0x00007ff88a364bfe in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007ff88a30e57a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ff88a12abe4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ff884de9055 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007ff88a12fb8e in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007ff88be4c4a4 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ff88bb8a13d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ff8750bf840 (LWP 729)):
[KCrash Handler]
#5  0x00007ff88a6767b0 in QScreen::handle() const () from /usr/lib/libQt5Gui.so.5
#6  0x00007ff874fbde19 in QXcbIntegration::createPlatformWindow(QWindow*) const () from /usr/lib/libQt5XcbQpa.so.5
#7  0x00007ff88a658714 in QWindowPrivate::create(bool) () from /usr/lib/libQt5Gui.so.5
#8  0x00007ff88a658e50 in QWindow::setVisible(bool) () from /usr/lib/libQt5Gui.so.5
#9  0x00007ff88544ca6b in QQuickWindowQmlImpl::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQt5Quick.so.5
#10 0x00007ff884d64fb0 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyPrivate::WriteFlag>) () from /usr/lib/libQt5Qml.so.5
#11 0x00007ff884d66acb in QQmlPropertyPrivate::writeValueProperty(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyPrivate::WriteFlag>) () from /usr/lib/libQt5Qml.so.5
#12 0x00007ff884d6751c in QQmlPropertyPrivate::writeBinding(QObject*, QQmlPropertyData const&, QQmlContextData*, QQmlJavaScriptExpression*, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () from /usr/lib/libQt5Qml.so.5
#13 0x00007ff884dd547f in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () from /usr/lib/libQt5Qml.so.5
#14 0x00007ff884dd58ae in QQmlBinding::expressionChanged(QQmlJavaScriptExpression*) () from /usr/lib/libQt5Qml.so.5
#15 0x00007ff884db17ee in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /usr/lib/libQt5Qml.so.5
#16 0x00007ff884d5424c in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /usr/lib/libQt5Qml.so.5
#17 0x00007ff88a33ec20 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#18 0x00007ff88b6b5cfe in ?? () from /usr/lib/libkwin.so.5
#19 0x00007ff88b6fc86a in KWin::AbstractClient::setElectricBorderMaximizing(bool) () from /usr/lib/libkwin.so.5
#20 0x00007ff88b670d78 in KWin::AbstractClient::checkQuickTilingMaximizationZones(int, int) () from /usr/lib/libkwin.so.5
#21 0x00007ff88b6b9216 in ?? () from /usr/lib/libkwin.so.5
#22 0x00007ff88b6ba641 in ?? () from /usr/lib/libkwin.so.5
#23 0x00007ff88b6bbfd9 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () from /usr/lib/libkwin.so.5
#24 0x00007ff88a30d70f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /usr/lib/libQt5Core.so.5
#25 0x00007ff874fb9dc4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib/libQt5XcbQpa.so.5
#26 0x00007ff874fbab73 in QXcbConnection::processXcbEvents() () from /usr/lib/libQt5XcbQpa.so.5
#27 0x00007ff88a3401e1 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007ff88ac039ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#29 0x00007ff88ac08e86 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#30 0x00007ff88a310bab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#31 0x00007ff88a312fa6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#32 0x00007ff88a364ac2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#33 0x00007ff87501d21d in ?? () from /usr/lib/libQt5XcbQpa.so.5
#34 0x00007ff88a30e57a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#35 0x00007ff88a31653c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#36 0x00007ff88c0677cb in kdemain () from /usr/lib/libkdeinit5_kwin_x11.so
#37 0x00007ff88bac1610 in __libc_start_main () from /usr/lib/libc.so.6
#38 0x00000000004007c9 in _start ()

Possible duplicates by query: bug 356144, bug 356107, bug 355882, bug 355118, bug 354387.

Reported using DrKonqi
Comment 1 Thomas Lübking 2016-01-26 20:56:35 UTC

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