Bug 347144 - Kwin crashes on moving windows to virtual desks with cube animation
Summary: Kwin crashes on moving windows to virtual desks with cube animation
Status: RESOLVED DUPLICATE of bug 338972
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.2.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-04 07:47 UTC by Antonio Sánchez
Modified: 2015-05-06 20:52 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 Antonio Sánchez 2015-05-04 07:47:10 UTC
Application: kwin_x11 (5.2.2)

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

-- Information about the crash:
Moving window between virtual desks by dragging. Cube animation selected. No problem if cube animatio is unselected.

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 0x7fefc0a00800 (LWP 3739))]

Thread 3 (Thread 0x7fef9d32e700 (LWP 3757)):
#0  0x00007fefc04d1743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fefbed1b101 in qt_safe_select (nfds=20, fdread=fdread@entry=0x7fef94000a78, fdwrite=fdwrite@entry=0x7fef94000d08, fdexcept=fdexcept@entry=0x7fef94000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007fefbed1ccd2 in select (timeout=0x0, exceptfds=0x7fef94000f98, writefds=0x7fef94000d08, readfds=0x7fef94000a78, nfds=<optimized out>, this=0x7fef940008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fef940008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007fefbed1d275 in QEventDispatcherUNIX::processEvents (this=0x7fef940008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007fefbecc43e2 in QEventLoop::exec (this=this@entry=0x7fef9d32dda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fefbea83b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fefb8936f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fefbea88b0e in QThreadPrivate::start (arg=0x23535f0) at thread/qthread_unix.cpp:337
#9  0x00007fefb7b036aa in start_thread (arg=0x7fef9d32e700) at pthread_create.c:333
#10 0x00007fefc04daeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fef8b225700 (LWP 3771)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fefbd88d644 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fefbd88d689 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fefb7b036aa in start_thread (arg=0x7fef8b225700) at pthread_create.c:333
#4  0x00007fefc04daeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fefc0a00800 (LWP 3739)):
[KCrash Handler]
#6  0x00007fefc0409267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007fefc040aeca in __GI_abort () at abort.c:89
#8  0x00007fefbea75edf in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1415
#9  QMessageLogger::fatal (this=this@entry=0x7ffc6d6fe100, msg=msg@entry=0x7fefbe2aa8a8 "Splitting quads is allowed only in pre-paint calls!") at global/qlogging.cpp:636
#10 0x00007fefbe297ea1 in KWin::WindowQuad::makeSubQuad (this=this@entry=0x2be1b70, x1=x1@entry=1.5105533992195888, y1=y1@entry=0, x2=x2@entry=38.598704871753057, y2=y2@entry=24.771677841950478) at ../../libkwineffects/kwineffects.cpp:907
#11 0x00007fefc009b289 in KWin::SceneOpenGL::Window::beginRenderWindow (this=<optimized out>, mask=<optimized out>, region=..., data=...) at ../scene_opengl.cpp:1249
#12 0x00007fefc009b907 in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x2a48df0, mask=mask@entry=118, region=..., data=...) at ../scene_opengl.cpp:1421
#13 0x00007fefc00a1642 in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x23408f0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../scene_opengl.cpp:1082
#14 0x00007fefc00a1818 in KWin::SceneOpenGL2::finalDrawWindow (this=0x23408f0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../scene_opengl.cpp:1068
#15 0x00007fefc00ba139 in KWin::EffectsHandlerImpl::drawWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:473
#16 0x00007fefbe2947c1 in KWin::Effect::drawWindow (this=this@entry=0x2909aa0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#17 0x00007fefc00ba0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#18 0x00007fefbde42385 in KWin::ContrastEffect::drawWindow (this=this@entry=0x206cfd0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../effects/backgroundcontrast/contrast.cpp:345
#19 0x00007fefc00ba0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#20 0x00007fefbddb82db in KWin::BlurEffect::drawWindow (this=this@entry=0x2839790, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../effects/blur/blur.cpp:415
#21 0x00007fefc00ba0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#22 0x00007fefbe2947c1 in KWin::Effect::drawWindow (this=this@entry=0x28ece80, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#23 0x00007fefc00ba0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#24 0x00007fefbe2947c1 in KWin::Effect::drawWindow (this=this@entry=0x22bbfc0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#25 0x00007fefc00ba0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#26 0x00007fefbe2947c1 in KWin::Effect::drawWindow (this=this@entry=0x28f4730, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#27 0x00007fefc00ba0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#28 0x00007fefbe2947c1 in KWin::Effect::drawWindow (this=this@entry=0x2057f40, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#29 0x00007fefc00ba0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#30 0x00007fefc0083841 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../scene.cpp:605
#31 0x00007fefc00b9f7a in KWin::EffectsHandlerImpl::paintWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:436
#32 0x00007fefbe294651 in KWin::Effect::paintWindow (this=this@entry=0x2909aa0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#33 0x00007fefc00b9f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#34 0x00007fefbe294651 in KWin::Effect::paintWindow (this=this@entry=0x206cfd0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#35 0x00007fefc00b9f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#36 0x00007fefbe294651 in KWin::Effect::paintWindow (this=this@entry=0x2839790, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#37 0x00007fefc00b9f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#38 0x00007fefbe2a2937 in KWin::AnimationEffect::paintWindow (this=this@entry=0x28ece80, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwinanimationeffect.cpp:585
#39 0x00007fefc00b9f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x27c18e0, w=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#40 0x00007fefbddcd7a0 in KWin::CubeSlideEffect::paintWindow (this=this@entry=0x22bbfc0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../effects/cube/cubeslide.cpp:347
#41 0x00007fefc00b9f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#42 0x00007fefbe2a2937 in KWin::AnimationEffect::paintWindow (this=this@entry=0x28f4730, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwinanimationeffect.cpp:585
#43 0x00007fefc00b9f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x27c18e0, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#44 0x00007fefbde17fbd in KWin::WobblyWindowsEffect::paintWindow (this=this@entry=0x2057f40, w=w@entry=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../../effects/wobblywindows/wobblywindows.cpp:331
#45 0x00007fefc00b9f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x27c18e0, w=0x2949a70, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#46 0x00007fefc0087ee8 in KWin::Scene::paintWindow (this=this@entry=0x23408f0, w=0x2a48df0, mask=118, region=..., quads=...) at ../scene.cpp:477
#47 0x00007fefc0084ed6 in KWin::Scene::paintGenericScreen (this=this@entry=0x23408f0, orig_mask=orig_mask@entry=112) at ../scene.cpp:241
#48 0x00007fefc0096bd4 in KWin::SceneOpenGL2::paintGenericScreen (this=this@entry=0x23408f0, mask=mask@entry=112, data=...) at ../scene_opengl.cpp:1020
#49 0x00007fefc008324d in KWin::Scene::finalPaintScreen (this=0x23408f0, mask=mask@entry=112, region=..., data=...) at ../scene.cpp:197
#50 0x00007fefc00b9cff in KWin::EffectsHandlerImpl::paintScreen (this=0x27c18e0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:393
#51 0x00007fefbde31e27 in KWin::ScreenEdgeEffect::paintScreen (this=this@entry=0x2909aa0, mask=mask@entry=112, region=..., data=...) at ../../effects/screenedge/screenedgeeffect.cpp:81
#52 0x00007fefc00b9cad in KWin::EffectsHandlerImpl::paintScreen (this=0x27c18e0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#53 0x00007fefbe29457f in KWin::Effect::paintScreen (this=this@entry=0x206cfd0, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#54 0x00007fefc00b9cad in KWin::EffectsHandlerImpl::paintScreen (this=0x27c18e0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#55 0x00007fefbe29457f in KWin::Effect::paintScreen (this=this@entry=0x2839790, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#56 0x00007fefc00b9cad in KWin::EffectsHandlerImpl::paintScreen (this=0x27c18e0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#57 0x00007fefbe29457f in KWin::Effect::paintScreen (this=this@entry=0x28ece80, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#58 0x00007fefc00b9cad in KWin::EffectsHandlerImpl::paintScreen (this=0x27c18e0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#59 0x00007fefbddcd3f7 in KWin::CubeSlideEffect::paintSlideCube (this=this@entry=0x22bbfc0, mask=mask@entry=112, region=..., data=...) at ../../effects/cube/cubeslide.cpp:176
#60 0x00007fefbddd0d6e in KWin::CubeSlideEffect::paintScreen (this=this@entry=0x22bbfc0, mask=mask@entry=112, region=..., data=...) at ../../effects/cube/cubeslide.cpp:87
#61 0x00007fefc00b9cad in KWin::EffectsHandlerImpl::paintScreen (this=0x27c18e0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#62 0x00007fefbe29457f in KWin::Effect::paintScreen (this=this@entry=0x28f4730, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#63 0x00007fefc00b9cad in KWin::EffectsHandlerImpl::paintScreen (this=0x27c18e0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#64 0x00007fefbe29457f in KWin::Effect::paintScreen (this=this@entry=0x2057f40, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#65 0x00007fefc00b9cad in KWin::EffectsHandlerImpl::paintScreen (this=0x27c18e0, mask=112, region=..., data=...) at ../effects.cpp:390
#66 0x00007fefc0082e6a in KWin::Scene::paintScreen (this=this@entry=0x23408f0, mask=mask@entry=0x7ffc6d6fffec, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffc6d700000, validRegion=validRegion@entry=0x7ffc6d700010) at ../scene.cpp:149
#67 0x00007fefc009cda7 in KWin::SceneOpenGL::paint (this=0x23408f0, damage=..., toplevels=...) at ../scene_opengl.cpp:651
#68 0x00007fefc007c973 in KWin::Compositor::performCompositing (this=0x2258b90) at ../composite.cpp:658
#69 0x00007fefbecf86f3 in QObject::event (this=0x2258b90, e=<optimized out>) at kernel/qobject.cpp:1267
#70 0x00007fefbf5d0b2c in QApplicationPrivate::notify_helper (this=0x1fe4940, receiver=0x2258b90, e=0x7ffc6d700420) at kernel/qapplication.cpp:3720
#71 0x00007fefbf5d6000 in QApplication::notify (this=0x7ffc6d700660, receiver=0x2258b90, e=0x7ffc6d700420) at kernel/qapplication.cpp:3503
#72 0x00007fefbecc6c2b in QCoreApplication::notifyInternal (this=0x7ffc6d700660, receiver=0x2258b90, event=event@entry=0x7ffc6d700420) at kernel/qcoreapplication.cpp:935
#73 0x00007fefbed1eae5 in sendEvent (event=0x7ffc6d700420, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#74 QTimerInfoList::activateTimers (this=0x20a1938) at kernel/qtimerinfo_unix.cpp:635
#75 0x00007fefbed1c6a0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1fd1b60) at kernel/qeventdispatcher_unix.cpp:549
#76 0x00007fefbed1d243 in QEventDispatcherUNIX::processEvents (this=0x1fd1b60, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#77 0x00007fefab67f96d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#78 0x00007fefbecc43e2 in QEventLoop::exec (this=this@entry=0x7ffc6d700580, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#79 0x00007fefbeccc02c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#80 0x00007fefbf00b31c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#81 0x00007fefbf5cc7a5 in QApplication::exec () at kernel/qapplication.cpp:2956
#82 0x00007fefc07a28c3 in kdemain (argc=1, argv=0x7ffc6d7007b8) at ../main_x11.cpp:294
#83 0x00007fefc03f4a40 in __libc_start_main (main=0x400790 <main(int, char**)>, argc=3, argv=0x7ffc6d7007b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc6d7007a8) at libc-start.c:289
#84 0x00000000004007c9 in _start ()

Reported using DrKonqi
Comment 1 Antonio Sánchez 2015-05-04 21:48:48 UTC
Kwin restart causes lost of effects, but changing the compositor back to OpenGL in Sytemsettings -> Hardware -> Display and Monitor -> Compositor [1] restores them.

Actually, the problem is wobling effect. If it is unchecked there is no bug. 

[1] http://askubuntu.com/a/618286
Comment 2 Thomas Lübking 2015-05-06 20:52:26 UTC

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