Application: kwin_x11 (5.6.5) Qt Version: 5.5.1 Frameworks Version: 5.23.0 Operating System: Linux 4.4.0-28-generic x86_64 Distribution: Ubuntu 16.04 LTS -- Information about the crash: - What I was doing when the application crashed: Logged in with one display enabled (laptop display). Then plugged in secondary display. KWin instantly crashed (and restarted with two displays enabled). The crash can be reproduced sometimes. -- Backtrace: Application: KWin (kwin_x11), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f286723d900 (LWP 2912))] Thread 5 (Thread 0x7f283bfff700 (LWP 4545)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f28652e5aeb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1e42cc0) at thread/qwaitcondition_unix.cpp:136 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x1e42bf0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208 #3 0x00007f286008892e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #4 0x00007f28600891b3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #5 0x00007f28652e484e in QThreadPrivate::start (arg=0x1e42b70) at thread/qthread_unix.cpp:331 #6 0x00007f2860a436fa in start_thread (arg=0x7f283bfff700) at pthread_create.c:333 #7 0x00007f2866d34b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 4 (Thread 0x7f283b014700 (LWP 2966)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f2864468bd4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5 #2 0x00007f2864468c19 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5 #3 0x00007f2860a436fa in start_thread (arg=0x7f283b014700) at pthread_create.c:333 #4 0x00007f2866d34b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7f2847fff700 (LWP 2939)): #0 0x00007f2866d2ad13 in select () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f286551710f in qt_safe_select (nfds=12, fdread=fdread@entry=0x7f283c000a78, fdwrite=fdwrite@entry=0x7f283c000d08, fdexcept=fdexcept@entry=0x7f283c000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75 #2 0x00007f2865518c0e in QEventDispatcherUNIX::select (timeout=0x0, exceptfds=0x7f283c000f98, writefds=0x7f283c000d08, readfds=0x7f283c000a78, nfds=<optimized out>, this=0x7f283c0008c0) at kernel/qeventdispatcher_unix.cpp:320 #3 QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f283c0008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196 #4 0x00007f286551913e in QEventDispatcherUNIX::processEvents (this=0x7f283c0008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607 #5 0x00007f28654c2dea in QEventLoop::exec (this=this@entry=0x7f2847ffeca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #6 0x00007f28652df8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503 #7 0x00007f285fb9f3c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #8 0x00007f28652e484e in QThreadPrivate::start (arg=0x1957da0) at thread/qthread_unix.cpp:331 #9 0x00007f2860a436fa in start_thread (arg=0x7f2847fff700) at pthread_create.c:333 #10 0x00007f2866d34b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7f284fe48700 (LWP 2916)): #0 0x00007f2866d28e8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f2865026c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007f28650288d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007f2850d28629 in QXcbEventReader::run (this=0x175fe60) at qxcbconnection.cpp:1253 #4 0x00007f28652e484e in QThreadPrivate::start (arg=0x175fe60) at thread/qthread_unix.cpp:331 #5 0x00007f2860a436fa in start_thread (arg=0x7f284fe48700) at pthread_create.c:333 #6 0x00007f2866d34b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f286723d900 (LWP 2912)): [KCrash Handler] #6 __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:69 #7 0x00007f28605f07b6 in KWin::GLVertexBuffer::setData (this=this@entry=0x18da480, vertexCount=24, dim=dim@entry=2, vertices=0x1c00ce8, texcoords=texcoords@entry=0x0) at /build/kwin-5IHWGx/kwin-5.6.5/libkwineffects/kwinglutils.cpp:2056 #8 0x00007f28668daa2e in KWin::SceneOpenGL2::doPaintBackground (this=0x18e6ce0, vertices=...) at /build/kwin-5IHWGx/kwin-5.6.5/scene_opengl.cpp:1115 #9 0x00007f28668df1a5 in KWin::SceneOpenGL::paintBackground (this=this@entry=0x18e6ce0, region=...) at /build/kwin-5IHWGx/kwin-5.6.5/scene_opengl.cpp:833 #10 0x00007f28668c8685 in KWin::Scene::paintSimpleScreen (this=this@entry=0x18e6ce0, orig_mask=orig_mask@entry=8, region=...) at /build/kwin-5IHWGx/kwin-5.6.5/scene.cpp:370 #11 0x00007f28668da9b3 in KWin::SceneOpenGL2::paintSimpleScreen (this=this@entry=0x18e6ce0, mask=mask@entry=8, region=...) at /build/kwin-5IHWGx/kwin-5.6.5/scene_opengl.cpp:1098 #12 0x00007f28668c8c74 in KWin::Scene::finalPaintScreen (this=0x18e6ce0, mask=mask@entry=8, region=..., data=...) at /build/kwin-5IHWGx/kwin-5.6.5/scene.cpp:200 #13 0x00007f28668f19df in KWin::EffectsHandlerImpl::paintScreen (this=0x18bcbe0, mask=mask@entry=8, region=..., data=...) at /build/kwin-5IHWGx/kwin-5.6.5/effects.cpp:423 #14 0x00007f2864a7a09f in KWin::Effect::paintScreen (this=this@entry=0x181c3c0, mask=mask@entry=8, region=..., data=...) at /build/kwin-5IHWGx/kwin-5.6.5/libkwineffects/kwineffects.cpp:574 #15 0x00007f28668f198a in KWin::EffectsHandlerImpl::paintScreen (this=0x18bcbe0, mask=mask@entry=8, region=..., data=...) at /build/kwin-5IHWGx/kwin-5.6.5/effects.cpp:420 #16 0x00007f2864a7a09f in KWin::Effect::paintScreen (this=this@entry=0x1835740, mask=mask@entry=8, region=..., data=...) at /build/kwin-5IHWGx/kwin-5.6.5/libkwineffects/kwineffects.cpp:574 #17 0x00007f28668f198a in KWin::EffectsHandlerImpl::paintScreen (this=0x18bcbe0, mask=8, region=..., data=...) at /build/kwin-5IHWGx/kwin-5.6.5/effects.cpp:420 #18 0x00007f28668c8919 in KWin::Scene::paintScreen (this=this@entry=0x18e6ce0, mask=mask@entry=0x7ffce2b3cb40, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffce2b3cb10, validRegion=validRegion@entry=0x7ffce2b3cb20, projection=...) at /build/kwin-5IHWGx/kwin-5.6.5/scene.cpp:150 #19 0x00007f28668dfd09 in KWin::SceneOpenGL::paint (this=0x18e6ce0, damage=..., toplevels=...) at /build/kwin-5IHWGx/kwin-5.6.5/scene_opengl.cpp:751 #20 0x00007f28668bbc89 in KWin::Compositor::performCompositing (this=0x1823ca0) at /build/kwin-5IHWGx/kwin-5.6.5/composite.cpp:727 #21 0x00007f28654f4e53 in QObject::event (this=0x1823ca0, e=<optimized out>) at kernel/qobject.cpp:1261 #22 0x00007f2865db805c in QApplicationPrivate::notify_helper (this=this@entry=0x17492b0, receiver=receiver@entry=0x1823ca0, e=e@entry=0x7ffce2b3cfa0) at kernel/qapplication.cpp:3716 #23 0x00007f2865dbd516 in QApplication::notify (this=0x7ffce2b3d200, receiver=0x1823ca0, e=0x7ffce2b3cfa0) at kernel/qapplication.cpp:3499 #24 0x00007f28654c562b in QCoreApplication::notifyInternal (this=0x7ffce2b3d200, receiver=0x1823ca0, event=event@entry=0x7ffce2b3cfa0) at kernel/qcoreapplication.cpp:965 #25 0x00007f286551a89d in QCoreApplication::sendEvent (event=0x7ffce2b3cfa0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224 #26 QTimerInfoList::activateTimers (this=0x17858c8) at kernel/qtimerinfo_unix.cpp:637 #27 0x00007f2865518640 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1780860) at kernel/qeventdispatcher_unix.cpp:549 #28 0x00007f28655190b6 in QEventDispatcherUNIX::processEvents (this=0x1780860, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611 #29 0x00007f2850d8f4ed in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62 #30 0x00007f28654c2dea in QEventLoop::exec (this=this@entry=0x7ffce2b3d0f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #31 0x00007f28654cae8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229 #32 0x00007f28657fec3c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1542 #33 0x00007f2865db4495 in QApplication::exec () at kernel/qapplication.cpp:2976 #34 0x00007f2866ffc8df in kdemain (argc=1, argv=0x7ffce2b3d388) at /build/kwin-5IHWGx/kwin-5.6.5/main_x11.cpp:327 #35 0x00007f2866c4e830 in __libc_start_main (main=0x400730 <main(int, char**)>, argc=3, argv=0x7ffce2b3d388, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffce2b3d378) at ../csu/libc-start.c:291 #36 0x0000000000400769 in _start () Possible duplicates by query: bug 346639. Reported using DrKonqi
*** This bug has been marked as a duplicate of bug 346024 ***