Bug 346959

Summary: Kwin Crash
Product: [Plasma] kwin Reporter: Zachary Layne <z.buildrocks>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.3.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Zachary Layne 2015-04-30 14:31:46 UTC
Application: kwin_x11 (5.3.0)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-15-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
Changing location and orientation of 2 different monitors.
- Unusual behavior I noticed:
When setting new positition for my second monitor, if I move the monitor and rotate it, then it will rotate itself back when I apply. To make the monitor stay in the proper orientation, I must move the monitor to the side I want, apply, rotate, apply, then move it again to be next to my main monitor.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7faab2b54840 (LWP 2372))]

Thread 8 (Thread 0x7faa925f3700 (LWP 2397)):
#0  0x00007faab2625743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007faab0c17101 in qt_safe_select (nfds=15, fdread=fdread@entry=0x7faa84000a98, fdwrite=fdwrite@entry=0x7faa84000d28, fdexcept=fdexcept@entry=0x7faa84000fb8, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007faab0c18cd2 in select (timeout=0x0, exceptfds=0x7faa84000fb8, writefds=0x7faa84000d28, readfds=0x7faa84000a98, nfds=<optimized out>, this=0x7faa840008e0) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7faa84000900, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007faab0c19275 in QEventDispatcherUNIX::processEvents (this=0x7faa840008e0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007faab0bc03e2 in QEventLoop::exec (this=this@entry=0x7faa925f2d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007faab097fb44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007faaaa7e2f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007faab0984b0e in QThreadPrivate::start (arg=0x1c4bb80) at thread/qthread_unix.cpp:337
#9  0x00007faab1ea46aa in start_thread (arg=0x7faa925f3700) at pthread_create.c:333
#10 0x00007faab262eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7faa914c0700 (LWP 2398)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007faaaf788644 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007faaaf788689 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007faab1ea46aa in start_thread (arg=0x7faa914c0700) at pthread_create.c:333
#4  0x00007faab262eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7faa03fff700 (LWP 4856)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007faab0985c6b in wait (time=18446744073709551615, this=0x1b2bc80) at thread/qwaitcondition_unix.cpp:128
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b657e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:200
#3  0x00007faaafa0ffab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007faaafa103a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007faab0984b0e in QThreadPrivate::start (arg=0x1b65760) at thread/qthread_unix.cpp:337
#6  0x00007faab1ea46aa in start_thread (arg=0x7faa03fff700) at pthread_create.c:333
#7  0x00007faab262eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fa9f9d66700 (LWP 4877)):
#0  0x00007faab2625743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007faab0c17101 in qt_safe_select (nfds=28, fdread=fdread@entry=0x7fa9f410e738, fdwrite=fdwrite@entry=0x7fa9f410e9c8, fdexcept=fdexcept@entry=0x7fa9f410ec58, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007faab0c18cd2 in select (timeout=0x0, exceptfds=0x7fa9f410ec58, writefds=0x7fa9f410e9c8, readfds=0x7fa9f410e738, nfds=<optimized out>, this=0x7fa9f4065a50) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fa9f410e5a0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007faab0c19275 in QEventDispatcherUNIX::processEvents (this=0x7fa9f4065a50, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007faab0bc03e2 in QEventLoop::exec (this=this@entry=0x7fa9f9d65d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007faab097fb44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007faaaa7e2f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007faab0984b0e in QThreadPrivate::start (arg=0x37dfcc0) at thread/qthread_unix.cpp:337
#9  0x00007faab1ea46aa in start_thread (arg=0x7fa9f9d66700) at pthread_create.c:333
#10 0x00007faab262eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7faa931d6700 (LWP 4878)):
#0  __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x00007faab2625735 in select () at ../sysdeps/unix/syscall-template.S:81
#2  0x00007faab0c17101 in qt_safe_select (nfds=29, fdread=fdread@entry=0x7faa8c000a58, fdwrite=fdwrite@entry=0x7faa8c000ce8, fdexcept=fdexcept@entry=0x7faa8c000f78, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#3  0x00007faab0c18cd2 in select (timeout=0x0, exceptfds=0x7faa8c000f78, writefds=0x7faa8c000ce8, readfds=0x7faa8c000a58, nfds=<optimized out>, this=0x7faa8c02d9c0) at kernel/qeventdispatcher_unix.cpp:320
#4  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7faa8c0008c0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#5  0x00007faab0c19275 in QEventDispatcherUNIX::processEvents (this=0x7faa8c02d9c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#6  0x00007faab0bc03e2 in QEventLoop::exec (this=this@entry=0x7faa931d5d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007faab097fb44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#8  0x00007faaaa7e2f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007faab0984b0e in QThreadPrivate::start (arg=0x2d64140) at thread/qthread_unix.cpp:337
#10 0x00007faab1ea46aa in start_thread (arg=0x7faa931d6700) at pthread_create.c:333
#11 0x00007faab262eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fa9e8ef2700 (LWP 4879)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007faab0985c6b in wait (time=18446744073709551615, this=0x240db30) at thread/qwaitcondition_unix.cpp:128
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x23f8680, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:200
#3  0x00007faaafa0ffab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007faaafa103a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007faab0984b0e in QThreadPrivate::start (arg=0x23f8600) at thread/qthread_unix.cpp:337
#6  0x00007faab1ea46aa in start_thread (arg=0x7fa9e8ef2700) at pthread_create.c:333
#7  0x00007faab262eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fa9f2ffe700 (LWP 4880)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007faab0985c6b in wait (time=18446744073709551615, this=0x3362ec0) at thread/qwaitcondition_unix.cpp:128
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x27b4c60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:200
#3  0x00007faaafa0ffab in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007faaafa103a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007faab0984b0e in QThreadPrivate::start (arg=0x27b4be0) at thread/qthread_unix.cpp:337
#6  0x00007faab1ea46aa in start_thread (arg=0x7fa9f2ffe700) at pthread_create.c:333
#7  0x00007faab262eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7faab2b54840 (LWP 2372)):
[KCrash Handler]
#6  0x00007faab255d267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007faab255eeca in __GI_abort () at abort.c:89
#8  0x00007faab0971edf in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1415
#9  QMessageLogger::fatal (this=this@entry=0x7fff03831380, msg=msg@entry=0x7faab01a6c28 "Splitting quads is allowed only in pre-paint calls!") at global/qlogging.cpp:636
#10 0x00007faab0194031 in KWin::WindowQuad::makeSubQuad (this=this@entry=0x31932b0, x1=x1@entry=1828.4542353596821, y1=y1@entry=0.8294863846061844, x2=x2@entry=1920, y2=y2@entry=53.413302164317912) at ../../libkwineffects/kwineffects.cpp:908
#11 0x00007faab21d7519 in KWin::SceneOpenGL::Window::beginRenderWindow (this=<optimized out>, mask=<optimized out>, region=..., data=...) at ../scene_opengl.cpp:1270
#12 0x00007faab21d7b97 in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x23c8bf0, mask=mask@entry=85, region=..., data=...) at ../scene_opengl.cpp:1442
#13 0x00007faab21dd7a2 in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x2309b10, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../scene_opengl.cpp:1092
#14 0x00007faab21dd978 in KWin::SceneOpenGL2::finalDrawWindow (this=0x2309b10, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../scene_opengl.cpp:1078
#15 0x00007faab21f7359 in KWin::EffectsHandlerImpl::drawWindow (this=0x23cc320, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../effects.cpp:477
#16 0x00007faaafd3d0b5 in KWin::ContrastEffect::drawWindow (this=this@entry=0x23c2f90, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../../effects/backgroundcontrast/contrast.cpp:345
#17 0x00007faab21f72f1 in KWin::EffectsHandlerImpl::drawWindow (this=0x23cc320, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../effects.cpp:474
#18 0x00007faaafcb32fb in KWin::BlurEffect::drawWindow (this=this@entry=0x19d9170, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../../effects/blur/blur.cpp:415
#19 0x00007faab21f72f1 in KWin::EffectsHandlerImpl::drawWindow (this=0x23cc320, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../effects.cpp:474
#20 0x00007faab01908b1 in KWin::Effect::drawWindow (this=this@entry=0x23cd270, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#21 0x00007faab21f72f1 in KWin::EffectsHandlerImpl::drawWindow (this=0x23cc320, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../effects.cpp:474
#22 0x00007faab01908b1 in KWin::Effect::drawWindow (this=this@entry=0x26306e0, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#23 0x00007faab21f72f1 in KWin::EffectsHandlerImpl::drawWindow (this=0x23cc320, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../effects.cpp:474
#24 0x00007faab21bc451 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../scene.cpp:607
#25 0x00007faab21f719a in KWin::EffectsHandlerImpl::paintWindow (this=0x23cc320, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../effects.cpp:440
#26 0x00007faab0190741 in KWin::Effect::paintWindow (this=this@entry=0x23c2f90, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#27 0x00007faab21f7141 in KWin::EffectsHandlerImpl::paintWindow (this=0x23cc320, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../effects.cpp:437
#28 0x00007faab0190741 in KWin::Effect::paintWindow (this=this@entry=0x19d9170, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#29 0x00007faab21f7141 in KWin::EffectsHandlerImpl::paintWindow (this=0x23cc320, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../effects.cpp:437
#30 0x00007faaafcdc41e in KWin::DesktopGridEffect::paintWindow (this=this@entry=0x23cd270, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../../effects/desktopgrid/desktopgrid.cpp:361
#31 0x00007faab21f7141 in KWin::EffectsHandlerImpl::paintWindow (this=0x23cc320, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../effects.cpp:437
#32 0x00007faaafd12aad in KWin::WobblyWindowsEffect::paintWindow (this=this@entry=0x26306e0, w=w@entry=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../../effects/wobblywindows/wobblywindows.cpp:331
#33 0x00007faab21f7141 in KWin::EffectsHandlerImpl::paintWindow (this=0x23cc320, w=0x1c063a0, mask=mask@entry=85, region=..., data=...) at ../effects.cpp:437
#34 0x00007faab21c1328 in KWin::Scene::paintWindow (this=this@entry=0x2309b10, w=0x23c8bf0, mask=85, region=..., quads=...) at ../scene.cpp:479
#35 0x00007faab21be316 in KWin::Scene::paintGenericScreen (this=this@entry=0x2309b10, orig_mask=orig_mask@entry=80) at ../scene.cpp:243
#36 0x00007faab21d2e04 in KWin::SceneOpenGL2::paintGenericScreen (this=this@entry=0x2309b10, mask=mask@entry=80, data=...) at ../scene_opengl.cpp:1030
#37 0x00007faab21bbe5d in KWin::Scene::finalPaintScreen (this=0x2309b10, mask=mask@entry=80, region=..., data=...) at ../scene.cpp:199
#38 0x00007faab21f6f1f in KWin::EffectsHandlerImpl::paintScreen (this=0x23cc320, mask=mask@entry=80, region=..., data=...) at ../effects.cpp:397
#39 0x00007faab019066f in KWin::Effect::paintScreen (this=this@entry=0x23c2f90, mask=mask@entry=80, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#40 0x00007faab21f6ecd in KWin::EffectsHandlerImpl::paintScreen (this=0x23cc320, mask=mask@entry=80, region=..., data=...) at ../effects.cpp:394
#41 0x00007faab019066f in KWin::Effect::paintScreen (this=this@entry=0x19d9170, mask=mask@entry=80, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#42 0x00007faab21f6ecd in KWin::EffectsHandlerImpl::paintScreen (this=0x23cc320, mask=mask@entry=80, region=..., data=...) at ../effects.cpp:394
#43 0x00007faaafcdb0ae in KWin::DesktopGridEffect::paintScreen (this=this@entry=0x23cd270, mask=mask@entry=80, region=..., data=...) at ../../effects/desktopgrid/desktopgrid.cpp:163
#44 0x00007faab21f6ecd in KWin::EffectsHandlerImpl::paintScreen (this=0x23cc320, mask=mask@entry=80, region=..., data=...) at ../effects.cpp:394
#45 0x00007faab019066f in KWin::Effect::paintScreen (this=this@entry=0x26306e0, mask=mask@entry=80, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#46 0x00007faab21f6ecd in KWin::EffectsHandlerImpl::paintScreen (this=0x23cc320, mask=80, region=..., data=...) at ../effects.cpp:394
#47 0x00007faab21bba7a in KWin::Scene::paintScreen (this=this@entry=0x2309b10, mask=mask@entry=0x7fff03832b0c, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7fff03832b20, validRegion=validRegion@entry=0x7fff03832b30) at ../scene.cpp:151
#48 0x00007faab21d9037 in KWin::SceneOpenGL::paint (this=0x2309b10, damage=..., toplevels=...) at ../scene_opengl.cpp:661
#49 0x00007faab21b3f33 in KWin::Compositor::performCompositing (this=0x1acbcc0) at ../composite.cpp:700
#50 0x00007faab0bf46f3 in QObject::event (this=0x1acbcc0, e=<optimized out>) at kernel/qobject.cpp:1267
#51 0x00007faab14ccb2c in QApplicationPrivate::notify_helper (this=0x1967580, receiver=0x1acbcc0, e=0x7fff03832f40) at kernel/qapplication.cpp:3720
#52 0x00007faab14d2000 in QApplication::notify (this=0x7fff03833180, receiver=0x1acbcc0, e=0x7fff03832f40) at kernel/qapplication.cpp:3503
#53 0x00007faab0bc2c2b in QCoreApplication::notifyInternal (this=0x7fff03833180, receiver=0x1acbcc0, event=event@entry=0x7fff03832f40) at kernel/qcoreapplication.cpp:935
#54 0x00007faab0c1aae5 in sendEvent (event=0x7fff03832f40, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#55 QTimerInfoList::activateTimers (this=0x19c5718) at kernel/qtimerinfo_unix.cpp:635
#56 0x00007faab0c186a0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x19af010) at kernel/qeventdispatcher_unix.cpp:549
#57 0x00007faab0c19243 in QEventDispatcherUNIX::processEvents (this=0x19af010, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#58 0x00007faa9a7d796d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#59 0x00007faab0bc03e2 in QEventLoop::exec (this=this@entry=0x7fff038330a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#60 0x00007faab0bc802c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#61 0x00007faab0f0731c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#62 0x00007faab14c87a5 in QApplication::exec () at kernel/qapplication.cpp:2956
#63 0x00007faab28f7310 in kdemain (argc=1, argv=0x7fff038332e8) at ../main_x11.cpp:300
#64 0x00007faab2548a40 in __libc_start_main (main=0x400790 <main(int, char**)>, argc=3, argv=0x7fff038332e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff038332d8) at libc-start.c:289
#65 0x00000000004007c9 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2015-05-01 13:18:30 UTC

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