<?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>369013</bug_id>
          
          <creation_ts>2016-09-18 21:41:21 +0000</creation_ts>
          <short_desc>New window creation crashes Kwin</short_desc>
          <delta_ts>2016-10-04 07:18:00 +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.7.4</version>
          <rep_platform>Debian unstable</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="Balpo">balpeaux</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>1623113</commentid>
    <comment_count>0</comment_count>
    <who name="Balpo">balpeaux</who>
    <bug_when>2016-09-18 21:41:21 +0000</bug_when>
    <thetext>Application: kwin_x11 (5.7.4)

Qt Version: 5.6.1
Frameworks Version: 5.25.0
Operating System: Linux 4.7.0-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
Sometimes when I open new windows, KWin crashes, and sometimes it fails to restart and windows go borderless.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7fa835a514c0 (LWP 10428))]

Thread 6 (Thread 0x7fa827fff700 (LWP 25475)):
#0  0x00007fa84d391253 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa84b21cd3f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=13, fdread=fdread@entry=0x7fa81c073ab8, fdwrite=fdwrite@entry=0x7fa81c073d48, fdexcept=fdexcept@entry=0x7fa81c073fd8, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fa84b21e7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;, timespec*) (timeout=0x0, exceptfds=0x7fa81c073fd8, writefds=0x7fa81c073d48, readfds=0x7fa81c073ab8, nfds=&lt;optimized out&gt;, this=0x7fa81c06a030) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fa84b21e7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;, timespec*) (this=this@entry=0x7fa81c073920, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fa84b21ecfa in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x7fa81c06a030, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fa84b1c919a in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7fa827ffec60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fa84afeee53 in QThread::exec() (this=this@entry=0x2db2ee0) at thread/qthread.cpp:500
#7  0x00007fa845a84a55 in QQmlThreadPrivate::run() (this=0x2db2ee0) at qml/ftw/qqmlthread.cpp:141
#8  0x00007fa84aff3d78 in QThreadPrivate::start(void*) (arg=0x2db2ee0) at thread/qthread_unix.cpp:341
#9  0x00007fa846926464 in start_thread (arg=0x7fa827fff700) at pthread_create.c:333
#10 0x00007fa84d39897f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7fa818db6700 (LWP 10447)):
#0  0x00007fa84692c18f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa84a38d574 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fa84a38d5b9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fa846926464 in start_thread (arg=0x7fa818db6700) at pthread_create.c:333
#4  0x00007fa84d39897f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7fa81affa700 (LWP 10444)):
#0  0x00007fa84d391253 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa84b21cd3f in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) (nfds=17, fdread=fdread@entry=0x7fa814000a78, fdwrite=fdwrite@entry=0x7fa814000d08, fdexcept=fdexcept@entry=0x7fa814000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fa84b21e7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;, timespec*) (timeout=0x0, exceptfds=0x7fa814000f98, writefds=0x7fa814000d08, readfds=0x7fa814000a78, nfds=&lt;optimized out&gt;, this=0x7fa8140008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  0x00007fa84b21e7e4 in QEventDispatcherUNIXPrivate::doSelect(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;, timespec*) (this=this@entry=0x7fa8140008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fa84b21ecfa in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x7fa8140008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fa84b1c919a in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7fa81aff9c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fa84afeee53 in QThread::exec() (this=this@entry=0x1a5bc00) at thread/qthread.cpp:500
#7  0x00007fa845a84a55 in QQmlThreadPrivate::run() (this=0x1a5bc00) at qml/ftw/qqmlthread.cpp:141
#8  0x00007fa84aff3d78 in QThreadPrivate::start(void*) (arg=0x1a5bc00) at thread/qthread_unix.cpp:341
#9  0x00007fa846926464 in start_thread (arg=0x7fa81affa700) at pthread_create.c:333
#10 0x00007fa84d39897f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7fa82eec1700 (LWP 10435)):
#0  0x00007fa84b21e9bd in QEventDispatcherUNIXPrivate::doSelect(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;, timespec*) (this=this@entry=0x7fa8280008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:186
#1  0x00007fa84b21ecfa in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x7fa8280008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#2  0x00007fa84b1c919a in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7fa82eec0c50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#3  0x00007fa84afeee53 in QThread::exec() (this=this@entry=0x7fa84d9fbd60 &lt;(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder&gt;) at thread/qthread.cpp:500
#4  0x00007fa84d987525 in QDBusConnectionManager::run() (this=0x7fa84d9fbd60 &lt;(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder&gt;) at qdbusconnection.cpp:189
#5  0x00007fa84aff3d78 in QThreadPrivate::start(void*) (arg=0x7fa84d9fbd60 &lt;(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder&gt;) at thread/qthread_unix.cpp:341
#6  0x00007fa846926464 in start_thread (arg=0x7fa82eec1700) at pthread_create.c:333
#7  0x00007fa84d39897f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fa834d1f700 (LWP 10433)):
#0  0x00007fa84d38f50d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa84c51f340 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa84c520f39 in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa8357c4a79 in QXcbEventReader::run() (this=0x11b5890) at qxcbconnection.cpp:1325
#4  0x00007fa84aff3d78 in QThreadPrivate::start(void*) (arg=0x11b5890) at thread/qthread_unix.cpp:341
#5  0x00007fa846926464 in start_thread (arg=0x7fa834d1f700) at pthread_create.c:333
#6  0x00007fa84d39897f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7fa835a514c0 (LWP 10428)):
[KCrash Handler]
#6  0x00007fa845a6fe50 in QQmlBinding::write(QQmlPropertyData const&amp;, QV4::Value const&amp;, bool, QFlags&lt;QQmlPropertyPrivate::WriteFlag&gt;) (this=0x7fa827000320) at ../../include/QtQml/5.6.1/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:354
#7  0x00007fa845a6fe50 in QQmlBinding::write(QQmlPropertyData const&amp;, QV4::Value const&amp;, bool, QFlags&lt;QQmlPropertyPrivate::WriteFlag&gt;) (this=this@entry=0x3f6a8b0, core=..., result=..., isUndefined=&lt;optimized out&gt;, flags=...) at qml/qqmlbinding.cpp:257
#8  0x00007fa845a70ba7 in QQmlBinding::update(QFlags&lt;QQmlPropertyPrivate::WriteFlag&gt;) (this=0x3f6a8b0, flags=...) at qml/qqmlbinding.cpp:191
#9  0x00007fa845a7a705 in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&amp;) (this=0x3dbb2b0, interrupt=...) at qml/qqmlobjectcreator.cpp:1193
#10 0x00007fa845a0452e in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) (enginePriv=0x2fd3c00, state=0x18807d0) at qml/qqmlcomponent.cpp:919
#11 0x00007fa845a045f7 in QQmlComponentPrivate::completeCreate() (this=0x1880730) at qml/qqmlcomponent.cpp:955
#12 0x00007fa845a04460 in QQmlComponent::create(QQmlContext*) (this=0x215db20, context=0x211c690) at qml/qqmlcomponent.cpp:781
#13 0x00007fa82c9d9fd7 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/kwin5_aurorae.so
#14 0x00007fa84cfbdd19 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007fa84cea4339 in KWin::Client::createDecoration(QRect const&amp;) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007fa84cea4cfd in KWin::Client::updateDecoration(bool, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007fa84cf01656 in KWin::Client::manage(unsigned int, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#18 0x00007fa84ce8779f in KWin::Workspace::createClient(unsigned int, bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#19 0x00007fa84ceeea97 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#20 0x00007fa84b1c82df in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&amp;, void*, long*) (this=&lt;optimized out&gt;, eventType=..., message=message@entry=0x7fa83000a380, result=result@entry=0x7fff57fbdc78) at kernel/qabstracteventdispatcher.cpp:460
#21 0x00007fa8357c6455 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x11a9a00, event=event@entry=0x7fa83000a380) at qxcbconnection.cpp:1091
#22 0x00007fa8357c73eb in QXcbConnection::processXcbEvents() (this=0x11a9a00) at qxcbconnection.cpp:1723
#23 0x00007fa84b1f9729 in QObject::event(QEvent*) (this=0x11a9a00, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1256
#24 0x00007fa84bb07bec in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=&lt;optimized out&gt;, receiver=0x11a9a00, e=0x7fa83000d180) at kernel/qapplication.cpp:3804
#25 0x00007fa84bb0d08f in QApplication::notify(QObject*, QEvent*) (this=0x7fff57fbe2c0, receiver=0x11a9a00, e=0x7fa83000d180) at kernel/qapplication.cpp:3561
#26 0x00007fa84b1cb450 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x11a9a00, event=event@entry=0x7fa83000d180) at kernel/qcoreapplication.cpp:1015
#27 0x00007fa84b1cd3cc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7fa83000d180, receiver=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#28 0x00007fa84b1cd3cc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x118e640) at kernel/qcoreapplication.cpp:1650
#29 0x00007fa84b21ebe2 in QEventDispatcherUNIX::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=0x11de480, flags=...) at kernel/qeventdispatcher_unix.cpp:579
#30 0x00007fa8358390ad in QUnixEventDispatcherQPA::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=&lt;optimized out&gt;, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#31 0x00007fa84b1c919a in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) (this=this@entry=0x7fff57fbe1b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#32 0x00007fa84b1d199c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1285
#33 0x00007fa84d657216 in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#34 0x00007fa84d2d02b1 in __libc_start_main (main=0x4006a0, argc=3, argv=0x7fff57fbe448, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7fff57fbe438) at ../csu/libc-start.c:291
#35 0x00000000004006d9 in _start ()

Possible duplicates by query: bug 368993, bug 367951, bug 367862, bug 366761, bug 366443.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1629229</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2016-10-04 07:18:00 +0000</bug_when>
    <thetext>As a workaround use the breeze decoration.

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

    </bug>

</bugzilla>