Bug 372663 - KWin crashes when using a Qt4 application
Summary: KWin crashes when using a Qt4 application
Status: RESOLVED DUPLICATE of bug 361236
Alias: None
Product: kwin
Classification: Unclassified
Component: general (show other bugs)
Version: 5.8.2
Platform: openSUSE RPMs Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-11-19 13:50 UTC by Teunizz
Modified: 2016-11-19 17:28 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 Teunizz 2016-11-19 13:50:24 UTC
Application: kwin_x11 (5.8.2)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.27-2-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:

1. Compile Qt 4.8.7 from source

2. Compile DSRemote from source using Qt 4.8.7

3. Run DSRemote and connect it to the oscilloscope

4. In DSRemote, click on Math -> Decode

5. A modal popup window from DSRemote will appear. At the same time Kwin crashes.
   DSRemote works fine.

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 0x7fbc9a02b940 (LWP 2336))]

Thread 7 (Thread 0x7fbc6e7fd700 (LWP 2513)):
#0  0x00007fbc99792b03 in select () at /lib64/libc.so.6
#1  0x00007fbc96e66849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbc96e680c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbc96e68527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fbc96e17fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fbc96c52f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbc918449b8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fbc96c579e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fbc99a5b734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fbc99799d3d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fbbdd0f9700 (LWP 2482)):
#0  0x00007fbc99a600af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbbe798e533 in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007fbbe798dd57 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007fbc99a5b734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fbc99799d3d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fbc6effe700 (LWP 2409)):
#0  0x00007fbc99a600af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fbc95ded93b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007fbc95ded969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007fbc99a5b734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fbc99799d3d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fbc6ffff700 (LWP 2408)):
#0  0x00007fbc99792b03 in select () at /lib64/libc.so.6
#1  0x00007fbc96e66849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbc96e680c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbc96e68527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fbc96e17fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fbc96c52f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbc918449b8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fbc96c579e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fbc99a5b734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fbc99799d3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fbc7e8b7700 (LWP 2350)):
#0  0x00007fbc99792b03 in select () at /lib64/libc.so.6
#1  0x00007fbc96e66849 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fbc96e680c3 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbc96e68527 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fbc96e17fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fbc96c52f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007fbc90a251d5 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007fbc96c579e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007fbc99a5b734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007fbc99799d3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fbc8077e700 (LWP 2346)):
#0  0x00007fbc9979149d in poll () at /lib64/libc.so.6
#1  0x00007fbc989193e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fbc9891afcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fbc8142e839 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fbc96c579e9 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fbc99a5b734 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fbc99799d3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fbc9a02b940 (LWP 2336)):
[KCrash Handler]
#6  0x00007fbc91830dd0 in QQmlBinding::write(QQmlPropertyData const&, QV4::Value const&, bool, QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fbc9183224a in QQmlBinding::update(QFlags<QQmlPropertyPrivate::WriteFlag>) () at /usr/lib64/libQt5Qml.so.5
#8  0x00007fbc9183b2f6 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007fbc917c993b in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007fbc917c99f7 in QQmlComponentPrivate::completeCreate() () at /usr/lib64/libQt5Qml.so.5
#11 0x00007fbc917c9880 in QQmlComponent::create(QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007fbc7c9f47cf in  () at /usr/lib64/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#13 0x00007fbc993bcec7 in  () at /usr/lib64/libkwin.so.5
#14 0x00007fbc992a2511 in KWin::Client::createDecoration(QRect const&) () at /usr/lib64/libkwin.so.5
#15 0x00007fbc992a2fcb in KWin::Client::updateDecoration(bool, bool) () at /usr/lib64/libkwin.so.5
#16 0x00007fbc99304266 in KWin::Client::manage(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#17 0x00007fbc99286704 in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib64/libkwin.so.5
#18 0x00007fbc992f2470 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib64/libkwin.so.5
#19 0x00007fbc96e17270 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007fbc8142cbe4 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#21 0x00007fbc8142ec3b in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#22 0x00007fbc96e45166 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#23 0x00007fbc97b20e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007fbc97b2549a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007fbc96e19fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#26 0x00007fbc96e1bdaa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#27 0x00007fbc96e684b4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007fbc8149094d in  () at /usr/lib64/libQt5XcbQpa.so.5
#29 0x00007fbc96e17fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#30 0x00007fbc96e1fec6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#31 0x00007fbc99c799cc in kdemain () at /usr/lib64/libkdeinit5_kwin_x11.so
#32 0x00007fbc996d06e5 in __libc_start_main () at /lib64/libc.so.6
#33 0x0000000000400809 in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2016-11-19 17:28:14 UTC
As a workaround use the default breeze window decoration.

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