Bug 346531 - KWin compositing crashes when drag moving windows
Summary: KWin compositing crashes when drag moving windows
Status: RESOLVED DUPLICATE of bug 338972
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.2.0.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-04-24 07:02 UTC by Matthew Brooks
Modified: 2015-04-24 09:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Brooks 2015-04-24 07:02:36 UTC
Application: kwin_x11 (5.2.0)

Qt Version: 5.3.2
Operating System: Linux 3.18.0-12-generic x86_64
Distribution: Ubuntu Vivid Vervet (development branch)

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

Drag moving an application window from one desktop to another

The crash can be reproduced every time.

-- 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 0x7fbabe8fb800 (LWP 3717))]

Thread 4 (Thread 0x7fba9d434700 (LWP 3736)):
#0  0x00007fbabe266283 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbabc3107c1 in qt_safe_select (nfds=14, fdread=fdread@entry=0x7fba94000a98, fdwrite=fdwrite@entry=0x7fba94000d28, fdexcept=fdexcept@entry=0x7fba94000fb8, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007fbabc310fb3 in QEventDispatcherUNIX::select (this=this@entry=0x7fba940008e0, nfds=<optimized out>, readfds=readfds@entry=0x7fba94000a98, writefds=writefds@entry=0x7fba94000d28, exceptfds=exceptfds@entry=0x7fba94000fb8, timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:328
#3  0x00007fbabc312432 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fba94000900, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:204
#4  0x00007fbabc3129a5 in QEventDispatcherUNIX::processEvents (this=0x7fba940008e0, flags=...) at kernel/qeventdispatcher_unix.cpp:615
#5  0x00007fbabc2ba6e2 in QEventLoop::exec (this=this@entry=0x7fba9d433dc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fbabc07acb4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:511
#7  0x00007fbabc07fd2e in QThreadPrivate::start (arg=0x12938c0) at thread/qthread_unix.cpp:345
#8  0x00007fbab44a20a5 in start_thread (arg=0x7fba9d434700) at pthread_create.c:309
#9  0x00007fbabe26e90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fba8ffff700 (LWP 3749)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbaba83ad34 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fbaba83ad79 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fbab44a20a5 in start_thread (arg=0x7fba8ffff700) at pthread_create.c:309
#4  0x00007fbabe26e90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fb9f5fb6700 (LWP 5509)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbabc080eab in wait (time=18446744073709551615, this=0x1d59f30) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1d59ca8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007fbabacb46eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007fbabacb4809 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007fbabc07fd2e in QThreadPrivate::start (arg=0x1d59c20) at thread/qthread_unix.cpp:345
#6  0x00007fbab44a20a5 in start_thread (arg=0x7fb9f5fb6700) at pthread_create.c:309
#7  0x00007fbabe26e90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fbabe8fb800 (LWP 3717)):
[KCrash Handler]
#6  0x00007fbabe1aae37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fbabe1ac528 in __GI_abort () at abort.c:89
#8  0x00007fbabc06e4d8 in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1364
#9  QMessageLogger::fatal (this=this@entry=0x7fff6b43fb30, msg=msg@entry=0x7fbabb8a8f40 "Splitting quads is allowed only in pre-paint calls!") at global/qlogging.cpp:669
#10 0x00007fbabb895fd7 in KWin::WindowQuad::makeSubQuad (this=this@entry=0x1ee9340, x1=x1@entry=39.521217394128371, y1=y1@entry=28.876657704058744, x2=x2@entry=89.02345523800534, y2=y2@entry=29) at ../../libkwineffects/kwineffects.cpp:907
#11 0x00007fbabde323c0 in KWin::SceneOpenGL::Window::beginRenderWindow (this=<optimized out>, mask=<optimized out>, region=..., data=...) at ../scene_opengl.cpp:1249
#12 0x00007fbabde327b6 in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x1a072a0, mask=mask@entry=118, region=..., data=...) at ../scene_opengl.cpp:1421
#13 0x00007fbabde383d2 in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x12d8500, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../scene_opengl.cpp:1082
#14 0x00007fbabde385a8 in KWin::SceneOpenGL2::finalDrawWindow (this=0x12d8500, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../scene_opengl.cpp:1068
#15 0x00007fbabde51a89 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a09f00, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:473
#16 0x00007fbabb43dfb5 in KWin::ContrastEffect::drawWindow (this=this@entry=0x1a1e300, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../../effects/backgroundcontrast/contrast.cpp:345
#17 0x00007fbabde51a21 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a09f00, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#18 0x00007fbabb3b4260 in KWin::BlurEffect::drawWindow (this=this@entry=0x12f6da0, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../../effects/blur/blur.cpp:415
#19 0x00007fbabde51a21 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a09f00, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#20 0x00007fbabb8928f1 in KWin::Effect::drawWindow (this=this@entry=0x1a1e290, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#21 0x00007fbabde51a21 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a09f00, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#22 0x00007fbabb8928f1 in KWin::Effect::drawWindow (this=this@entry=0x1b0c650, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#23 0x00007fbabde51a21 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a09f00, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#24 0x00007fbabb8928f1 in KWin::Effect::drawWindow (this=this@entry=0x1b23730, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#25 0x00007fbabde51a21 in KWin::EffectsHandlerImpl::drawWindow (this=0x1a09f00, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#26 0x00007fbabde1a5d1 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../scene.cpp:605
#27 0x00007fbabde518ca in KWin::EffectsHandlerImpl::paintWindow (this=0x1a09f00, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:436
#28 0x00007fbabb892781 in KWin::Effect::paintWindow (this=this@entry=0x1a1e300, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#29 0x00007fbabde51871 in KWin::EffectsHandlerImpl::paintWindow (this=0x1a09f00, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#30 0x00007fbabb892781 in KWin::Effect::paintWindow (this=this@entry=0x12f6da0, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#31 0x00007fbabde51871 in KWin::EffectsHandlerImpl::paintWindow (this=0x1a09f00, w=0x1993160, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#32 0x00007fbabb3c9341 in KWin::CubeSlideEffect::paintWindow (this=this@entry=0x1a1e290, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../../effects/cube/cubeslide.cpp:347
#33 0x00007fbabde51871 in KWin::EffectsHandlerImpl::paintWindow (this=0x1a09f00, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#34 0x00007fbabb8a0f77 in KWin::AnimationEffect::paintWindow (this=this@entry=0x1b0c650, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwinanimationeffect.cpp:585
#35 0x00007fbabde51871 in KWin::EffectsHandlerImpl::paintWindow (this=0x1a09f00, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#36 0x00007fbabb41224d in KWin::WobblyWindowsEffect::paintWindow (this=this@entry=0x1b23730, w=w@entry=0x1993160, mask=mask@entry=118, region=..., data=...) at ../../effects/wobblywindows/wobblywindows.cpp:331
#37 0x00007fbabde51871 in KWin::EffectsHandlerImpl::paintWindow (this=0x1a09f00, w=0x1993160, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#38 0x00007fbabde1e418 in KWin::Scene::paintWindow (this=this@entry=0x12d8500, w=0x1a072a0, mask=118, region=..., quads=...) at ../scene.cpp:477
#39 0x00007fbabde1b46c in KWin::Scene::paintGenericScreen (this=this@entry=0x12d8500, orig_mask=orig_mask@entry=112) at ../scene.cpp:241
#40 0x00007fbabde2d1d4 in KWin::SceneOpenGL2::paintGenericScreen (this=this@entry=0x12d8500, mask=mask@entry=112, data=...) at ../scene_opengl.cpp:1020
#41 0x00007fbabde19fdd in KWin::Scene::finalPaintScreen (this=0x12d8500, mask=mask@entry=112, region=..., data=...) at ../scene.cpp:197
#42 0x00007fbabde5164f in KWin::EffectsHandlerImpl::paintScreen (this=0x1a09f00, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:393
#43 0x00007fbabb8926af in KWin::Effect::paintScreen (this=this@entry=0x1a1e300, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#44 0x00007fbabde515fd in KWin::EffectsHandlerImpl::paintScreen (this=0x1a09f00, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#45 0x00007fbabb8926af in KWin::Effect::paintScreen (this=this@entry=0x12f6da0, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#46 0x00007fbabde515fd in KWin::EffectsHandlerImpl::paintScreen (this=0x1a09f00, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#47 0x00007fbabb3c8f29 in KWin::CubeSlideEffect::paintSlideCube (this=this@entry=0x1a1e290, mask=mask@entry=112, region=..., data=...) at ../../effects/cube/cubeslide.cpp:170
#48 0x00007fbabb3cc7c4 in KWin::CubeSlideEffect::paintScreen (this=this@entry=0x1a1e290, mask=mask@entry=112, region=..., data=...) at ../../effects/cube/cubeslide.cpp:89
#49 0x00007fbabde515fd in KWin::EffectsHandlerImpl::paintScreen (this=0x1a09f00, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#50 0x00007fbabb8926af in KWin::Effect::paintScreen (this=this@entry=0x1b0c650, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#51 0x00007fbabde515fd in KWin::EffectsHandlerImpl::paintScreen (this=0x1a09f00, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#52 0x00007fbabb8926af in KWin::Effect::paintScreen (this=this@entry=0x1b23730, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#53 0x00007fbabde515fd in KWin::EffectsHandlerImpl::paintScreen (this=0x1a09f00, mask=112, region=..., data=...) at ../effects.cpp:390
#54 0x00007fbabde19c0a in KWin::Scene::paintScreen (this=this@entry=0x12d8500, mask=mask@entry=0x7fff6b44152c, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7fff6b441540, validRegion=validRegion@entry=0x7fff6b441550) at ../scene.cpp:149
#55 0x00007fbabde33f47 in KWin::SceneOpenGL::paint (this=0x12d8500, damage=..., toplevels=...) at ../scene_opengl.cpp:651
#56 0x00007fbabde11faa in KWin::Compositor::performCompositing (this=0x123a690) at ../composite.cpp:658
#57 0x00007fbabc2ed063 in QObject::event (this=0x123a690, e=<optimized out>) at kernel/qobject.cpp:1263
#58 0x00007fbabcf951ec in QApplicationPrivate::notify_helper (this=0x113f3a0, receiver=0x123a690, e=0x7fff6b441970) at kernel/qapplication.cpp:3499
#59 0x00007fbabcf9a6c0 in QApplication::notify (this=0x7fff6b441bb0, receiver=0x123a690, e=0x7fff6b441970) at kernel/qapplication.cpp:3282
#60 0x00007fbabc2bcf9b in QCoreApplication::notifyInternal (this=0x7fff6b441bb0, receiver=0x123a690, event=event@entry=0x7fff6b441970) at kernel/qcoreapplication.cpp:935
#61 0x00007fbabc314215 in sendEvent (event=0x7fff6b441970, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#62 QTimerInfoList::activateTimers (this=0x11841f8) at kernel/qtimerinfo_unix.cpp:643
#63 0x00007fbabc311e20 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1177170) at kernel/qeventdispatcher_unix.cpp:557
#64 0x00007fbabc312973 in QEventDispatcherUNIX::processEvents (this=0x1177170, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:619
#65 0x00007fbaa61e1c1d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:70
#66 0x00007fbabc2ba6e2 in QEventLoop::exec (this=this@entry=0x7fff6b441ad0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#67 0x00007fbabc2c232c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#68 0x00007fbabc7fc74c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1486
#69 0x00007fbabcf937f5 in QApplication::exec () at kernel/qapplication.cpp:2744
#70 0x00007fbabe53d8e3 in kdemain (argc=1, argv=0x7fff6b441d08) at ../main_x11.cpp:294
#71 0x00007fbabe195ec5 in __libc_start_main (main=0x400790 <main(int, char**)>, argc=1, argv=0x7fff6b441d08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6b441cf8) at libc-start.c:287
#72 0x00000000004007be in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2015-04-24 09:23:14 UTC

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