Bug 400009

Summary: KDE crashes when enabling second monitors
Product: [Plasma] kwin Reporter: `Lex Pendragon <Alexius>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 5.14.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description `Lex Pendragon 2018-10-18 21:09:20 UTC
Application: kwin_x11 (5.14.0)

Qt Version: 5.11.2
Frameworks Version: 5.50.0
Operating System: Linux 4.18.13-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I have a DisplayLink docking station that successfully detects the second and third monitors, both of which had worked with a different Linux Laptop, but with a new one it will consistently crash KDE.

- Custom settings of the application:
The customization is the DisplayLink being run through OpenSUSE.

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7fcdfda34700 (LWP 4983)):
#0  0x00007fce08c284dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fcd67953f5b in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007fcd67953c87 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007fce08c22554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fce0b282ccf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fcdef1ef700 (LWP 3114)):
#0  0x00007fce08c284dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fce098f601a in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007fce098f603b in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007fce08c22554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fce0b282ccf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fcdfcf6a700 (LWP 3109)):
#0  0x00007fce0b2783c6 in ppoll () from /lib64/libc.so.6
#1  0x00007fce09fe1ac1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fce09fe2f39 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3  0x00007fce09f92adb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fce09de1de6 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x00007fce08280485 in ?? () from /usr/lib64/libQt5Qml.so.5
#6  0x00007fce09deb9b7 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fce08c22554 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fce0b282ccf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fcdfe4c0700 (LWP 3040)):
#0  0x00007fce0b2783c6 in ppoll () from /lib64/libc.so.6
#1  0x00007fce09fe1ac1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fce09fe2f39 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#3  0x00007fce09f92adb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fce09de1de6 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x00007fce07d51545 in ?? () from /usr/lib64/libQt5DBus.so.5
#6  0x00007fce09deb9b7 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fce08c22554 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fce0b282ccf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fce01925880 (LWP 2981)):
[KCrash Handler]
#4  0x00007fcdffcac72c in QXcbConnection::internAtom(char const*) () from /usr/lib64/libQt5XcbQpa.so.5
#5  0x00007fcdffcbf0aa in QXcbScreen::getEdid() const () from /usr/lib64/libQt5XcbQpa.so.5
#6  0x00007fcdffcc0d40 in QXcbScreen::QXcbScreen(QXcbConnection*, QXcbVirtualDesktop*, unsigned int, xcb_randr_get_output_info_reply_t*, xcb_xinerama_screen_info_t const*, int) () from /usr/lib64/libQt5XcbQpa.so.5
#7  0x00007fcdffcad623 in QXcbConnection::createScreen(QXcbVirtualDesktop*, xcb_randr_output_change_t const&, xcb_randr_get_output_info_reply_t*) () from /usr/lib64/libQt5XcbQpa.so.5
#8  0x00007fcdffcaf273 in QXcbConnection::updateScreens(xcb_randr_notify_event_t const*) () from /usr/lib64/libQt5XcbQpa.so.5
#9  0x00007fcdffcafe8b in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib64/libQt5XcbQpa.so.5
#10 0x00007fcdffcb0843 in QXcbConnection::processXcbEvents() () from /usr/lib64/libQt5XcbQpa.so.5
#11 0x00007fce09fbd902 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#12 0x00007fce0a9344a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007fce0a93baf0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007fce09f93e09 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#15 0x00007fce09f96dfb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#16 0x00007fce09fe2dab in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#17 0x00007fcdffd41c6d in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#18 0x00007fce09f92adb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#19 0x00007fce09f9ac52 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#20 0x00007fce0b74147b in kdemain () from /usr/lib64/libkdeinit5_kwin_x11.so
#21 0x00007fce0b1aafeb in __libc_start_main () from /lib64/libc.so.6
#22 0x000056262b7b508a in _start ()
[Inferior 1 (process 2981) detached]

Reported using DrKonqi
Comment 1 Martin Flöser 2018-10-19 04:14:48 UTC
Crash happens in the Qt library. Please report to Qt.