Bug 363045 - Crash KWin when using dual screen after login in KDE5 and open any window
Summary: Crash KWin when using dual screen after login in KDE5 and open any window
Status: RESOLVED DUPLICATE of bug 361236
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.6.3
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-05-13 21:25 UTC by Mykola
Modified: 2016-05-13 21:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mykola 2016-05-13 21:25:53 UTC
Application: kwin_x11 (5.6.3)
 (Compiled from sources)
Qt Version: 5.6.0
Frameworks Version: 5.21.0
Operating System: Linux 4.4.9-300.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
If after crash KWin starting another copy KWin then system working normal. However, need configure dual screen configuration using xrandr

The crash can be reproduced sometimes.

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

Thread 6 (Thread 0x7f32b8d0a700 (LWP 2016)):
#0  0x00007f32d069ab1d in poll () at /lib64/libc.so.6
#1  0x00007f32d170d272 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f32d170eee7 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f32b9571349 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f32d19d1d48 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f32d340360a in start_thread () at /lib64/libpthread.so.0
#6  0x00007f32d06a659d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f32b332d700 (LWP 2024)):
#0  0x00007f32d069c8a3 in select () at /lib64/libc.so.6
#1  0x00007f32d1bf629f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /lib64/libQt5Core.so.5
#2  0x00007f32d1bf7cde in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /lib64/libQt5Core.so.5
#3  0x00007f32d1bf81f2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f32d1ba34ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f32d19ccf34 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f32d2f034b5 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00007f32d19d1d48 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f32d340360a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f32d06a659d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f32b13a6700 (LWP 2138)):
#0  0x00007f32d069c8a3 in select () at /lib64/libc.so.6
#1  0x00007f32d1bf629f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /lib64/libQt5Core.so.5
#2  0x00007f32d1bf7cde in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /lib64/libQt5Core.so.5
#3  0x00007f32d1bf81f2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f32d1ba34ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f32d19ccf34 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f32d80cb1b5 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#7  0x00007f32d19d1d48 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f32d340360a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f32d06a659d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f32a0aa3700 (LWP 2535)):
#0  0x00007f32d3408b10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f32a20533b3 in radeon_drm_cs_emit_ioctl () at /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f32a2052b07 in impl_thrd_routine () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f32d340360a in start_thread () at /lib64/libpthread.so.0
#4  0x00007f32d06a659d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f32a3fbe700 (LWP 2938)):
#0  0x00007f32d069c8a3 in select () at /lib64/libc.so.6
#1  0x00007f32d1bf629f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /lib64/libQt5Core.so.5
#2  0x00007f32d1bf7cde in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /lib64/libQt5Core.so.5
#3  0x00007f32d1bf81f2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f32d1ba34ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f32d19ccf34 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f32d80cb1b5 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#7  0x00007f32d19d1d48 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f32d340360a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f32d06a659d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f32c0378940 (LWP 1987)):
[KCrash Handler]
#5  0x00007f32d80b7191 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /lib64/libQt5Qml.so.5
#6  0x00007f32d80b7f8a in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /lib64/libQt5Qml.so.5
#7  0x00007f32d80c12b4 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /lib64/libQt5Qml.so.5
#8  0x00007f32d804d6fe in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /lib64/libQt5Qml.so.5
#9  0x00007f32d804d7c7 in QQmlComponentPrivate::completeCreate() () at /lib64/libQt5Qml.so.5
#10 0x00007f32d804d630 in QQmlComponent::create(QQmlContext*) () at /lib64/libQt5Qml.so.5
#11 0x00007f32b13c4f17 in Aurorae::Decoration::init() () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#12 0x00007f32d9ac9faa in KWin::Decoration::DecorationBridge::createDecoration(KWin::AbstractClient*) () at /lib64/libkwin.so.5
#13 0x00007f32d999eef9 in KWin::Client::createDecoration(QRect const&) () at /lib64/libkwin.so.5
#14 0x00007f32d999f936 in KWin::Client::updateDecoration(bool, bool) () at /lib64/libkwin.so.5
#15 0x00007f32d9a02d9f in KWin::Client::manage(unsigned int, bool) () at /lib64/libkwin.so.5
#16 0x00007f32d998147f in KWin::Workspace::createClient(unsigned int, bool) () at /lib64/libkwin.so.5
#17 0x00007f32d99e6892 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /lib64/libkwin.so.5
#18 0x00007f32d1ba261f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /lib64/libQt5Core.so.5
#19 0x00007f32b9575295 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /lib64/libQt5XcbQpa.so.5
#20 0x00007f32b95761c6 in QXcbConnection::processXcbEvents() () at /lib64/libQt5XcbQpa.so.5
#21 0x00007f32d1bd2c29 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#22 0x00007f32d24dac0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#23 0x00007f32d24dfe76 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#24 0x00007f32d1ba5748 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#25 0x00007f32d1ba760a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#26 0x00007f32d1bf80d2 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#27 0x00007f32b95e360d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5XcbQpa.so.5
#28 0x00007f32d1ba34ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#29 0x00007f32d1babb8c in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#30 0x00007f32d9dcdf0d in kdemain () at /lib64/libkdeinit5_kwin_x11.so
#31 0x00007f32d05c4580 in __libc_start_main () at /lib64/libc.so.6
#32 0x00005610c5873d49 in _start ()

Possible duplicates by query: bug 361236.

Reported using DrKonqi
Comment 1 Thomas Lübking 2016-05-13 21:37:58 UTC
Use the breeze decoration.

There's a known bug in QtQuick 5.6.0 (supposingly fixed in 5.6.1) that will make it segfault on randr events, though the traces would look different.

> However, need configure dual screen configuration using xrandr
What does this mean? The dualscreen setup isn't configured on login and you need to call it by hand? Or that calling xrandr will make the next appearing window crash KWin?

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