<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>372663</bug_id>
          
          <creation_ts>2016-11-19 13:50:24 +0000</creation_ts>
          <short_desc>KWin crashes when using a Qt4 application</short_desc>
          <delta_ts>2016-11-19 17:28:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>general</component>
          <version>5.8.2</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>361236</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Teunizz">teuniz</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1640570</commentid>
    <comment_count>0</comment_count>
    <who name="Teunizz">teuniz</who>
    <bug_when>2016-11-19 13:50:24 +0000</bug_when>
    <thetext>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: &quot;openSUSE Leap 42.2&quot;

-- 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 -&gt; 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 &quot;/lib64/libthread_db.so.1&quot;.
[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&lt;QEventLoop::ProcessEventsFlag&gt;, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbc96e68527 in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fbc96e17fdb in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbc96e68527 in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fbc96e17fdb in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;, timespec*) () at /usr/lib64/libQt5Core.so.5
#3  0x00007fbc96e68527 in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fbc96e17fdb in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&amp;, QV4::Value const&amp;, bool, QFlags&lt;QQmlPropertyPrivate::WriteFlag&gt;) () at /usr/lib64/libQt5Qml.so.5
#7  0x00007fbc9183224a in QQmlBinding::update(QFlags&lt;QQmlPropertyPrivate::WriteFlag&gt;) () 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&amp;) () 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&amp;, 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&lt;QEventLoop::ProcessEventsFlag&gt;) () at /usr/lib64/libQt5Core.so.5
#28 0x00007fbc8149094d in  () at /usr/lib64/libQt5XcbQpa.so.5
#29 0x00007fbc96e17fdb in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640630</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2016-11-19 17:28:14 +0000</bug_when>
    <thetext>As a workaround use the default breeze window decoration.

*** This bug has been marked as a duplicate of bug 361236 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>