Bug 346872

Summary: Moving a window to another desktop
Product: [Plasma] kwin Reporter: ferhad
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.2.2   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ferhad 2015-04-28 23:13:38 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:
I was using the desktob cube effect of Kwin. I've been using it since a year.

I have a fresh Kubuntu install with Plasma 5. I did my desktop cube settings, and was running good. I needed to move a window to another virtual desktop. I holded the window and moved it to the left of the screen. Different attempts gave different results. One time, I got a bug report window only. On another I lost all the close, full screen and window icons bar on all windows.

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 0x7f81e6301800 (LWP 1299))]

Thread 3 (Thread 0x7f81bffff700 (LWP 1334)):
#0  0x00007f81e5dc6743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f81e4610101 in qt_safe_select (nfds=16, fdread=fdread@entry=0x7f81b8000a78, fdwrite=fdwrite@entry=0x7f81b8000d08, fdexcept=fdexcept@entry=0x7f81b8000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:75
#2  0x00007f81e4611cd2 in select (timeout=0x0, exceptfds=0x7f81b8000f98, writefds=0x7f81b8000d08, readfds=0x7f81b8000a78, nfds=<optimized out>, this=0x7f81b80008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f81b80008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:196
#4  0x00007f81e4612275 in QEventDispatcherUNIX::processEvents (this=0x7f81b80008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007f81e45b93e2 in QEventLoop::exec (this=this@entry=0x7f81bfffeda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f81e4378b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f81de22bf65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f81e437db0e in QThreadPrivate::start (arg=0x1ccf1a0) at thread/qthread_unix.cpp:337
#9  0x00007f81dd3f86aa in start_thread (arg=0x7f81bffff700) at pthread_create.c:333
#10 0x00007f81e5dcfeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f81bcf75700 (LWP 1350)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f81e3182644 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f81e3182689 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f81dd3f86aa in start_thread (arg=0x7f81bcf75700) at pthread_create.c:333
#4  0x00007f81e5dcfeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f81e6301800 (LWP 1299)):
[KCrash Handler]
#6  0x00007f81e5cfe267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f81e5cffeca in __GI_abort () at abort.c:89
#8  0x00007f81e436aedf in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1415
#9  QMessageLogger::fatal (this=this@entry=0x7ffc459b33d0, msg=msg@entry=0x7f81e3b9f8a8 "Splitting quads is allowed only in pre-paint calls!") at global/qlogging.cpp:636
#10 0x00007f81e3b8cea1 in KWin::WindowQuad::makeSubQuad (this=this@entry=0x2f3b2a0, x1=x1@entry=1780.5987743834485, y1=y1@entry=234.44358192551579, x2=x2@entry=1819, y2=y2@entry=248.7046204541009) at ../../libkwineffects/kwineffects.cpp:907
#11 0x00007f81e5990289 in KWin::SceneOpenGL::Window::beginRenderWindow (this=<optimized out>, mask=<optimized out>, region=..., data=...) at ../scene_opengl.cpp:1249
#12 0x00007f81e5990907 in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x2a77810, mask=mask@entry=118, region=..., data=...) at ../scene_opengl.cpp:1421
#13 0x00007f81e5996642 in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x1c3db80, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../scene_opengl.cpp:1082
#14 0x00007f81e5996818 in KWin::SceneOpenGL2::finalDrawWindow (this=0x1c3db80, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../scene_opengl.cpp:1068
#15 0x00007f81e59af139 in KWin::EffectsHandlerImpl::drawWindow (this=0x29cd0a0, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:473
#16 0x00007f81e3b897c1 in KWin::Effect::drawWindow (this=this@entry=0x2a5c830, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#17 0x00007f81e59af0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x29cd0a0, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#18 0x00007f81e3737385 in KWin::ContrastEffect::drawWindow (this=this@entry=0x1b2a890, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../../effects/backgroundcontrast/contrast.cpp:345
#19 0x00007f81e59af0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x29cd0a0, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#20 0x00007f81e36ad2db in KWin::BlurEffect::drawWindow (this=this@entry=0x29ceb00, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../../effects/blur/blur.cpp:415
#21 0x00007f81e59af0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x29cd0a0, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#22 0x00007f81e3b897c1 in KWin::Effect::drawWindow (this=this@entry=0x2aa2a30, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#23 0x00007f81e59af0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x29cd0a0, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#24 0x00007f81e3b897c1 in KWin::Effect::drawWindow (this=this@entry=0x2aabb80, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#25 0x00007f81e59af0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x29cd0a0, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#26 0x00007f81e3b897c1 in KWin::Effect::drawWindow (this=this@entry=0x2ab3990, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#27 0x00007f81e59af0d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x29cd0a0, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#28 0x00007f81e5978841 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../scene.cpp:605
#29 0x00007f81e59aef7a in KWin::EffectsHandlerImpl::paintWindow (this=0x29cd0a0, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:436
#30 0x00007f81e3b89651 in KWin::Effect::paintWindow (this=this@entry=0x2a5c830, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#31 0x00007f81e59aef21 in KWin::EffectsHandlerImpl::paintWindow (this=0x29cd0a0, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#32 0x00007f81e3b89651 in KWin::Effect::paintWindow (this=this@entry=0x1b2a890, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#33 0x00007f81e59aef21 in KWin::EffectsHandlerImpl::paintWindow (this=0x29cd0a0, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#34 0x00007f81e3b89651 in KWin::Effect::paintWindow (this=this@entry=0x29ceb00, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#35 0x00007f81e59aef21 in KWin::EffectsHandlerImpl::paintWindow (this=0x29cd0a0, w=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#36 0x00007f81e36c27a0 in KWin::CubeSlideEffect::paintWindow (this=this@entry=0x2aa2a30, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../../effects/cube/cubeslide.cpp:347
#37 0x00007f81e59aef21 in KWin::EffectsHandlerImpl::paintWindow (this=0x29cd0a0, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#38 0x00007f81e3b97937 in KWin::AnimationEffect::paintWindow (this=this@entry=0x2aabb80, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwinanimationeffect.cpp:585
#39 0x00007f81e59aef21 in KWin::EffectsHandlerImpl::paintWindow (this=0x29cd0a0, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#40 0x00007f81e370cfbd in KWin::WobblyWindowsEffect::paintWindow (this=this@entry=0x2ab3990, w=w@entry=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../../effects/wobblywindows/wobblywindows.cpp:331
#41 0x00007f81e59aef21 in KWin::EffectsHandlerImpl::paintWindow (this=0x29cd0a0, w=0x1b22680, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#42 0x00007f81e597cee8 in KWin::Scene::paintWindow (this=this@entry=0x1c3db80, w=0x2a77810, mask=118, region=..., quads=...) at ../scene.cpp:477
#43 0x00007f81e5979ed6 in KWin::Scene::paintGenericScreen (this=this@entry=0x1c3db80, orig_mask=orig_mask@entry=112) at ../scene.cpp:241
#44 0x00007f81e598bbd4 in KWin::SceneOpenGL2::paintGenericScreen (this=this@entry=0x1c3db80, mask=mask@entry=112, data=...) at ../scene_opengl.cpp:1020
#45 0x00007f81e597824d in KWin::Scene::finalPaintScreen (this=0x1c3db80, mask=mask@entry=112, region=..., data=...) at ../scene.cpp:197
#46 0x00007f81e59aecff in KWin::EffectsHandlerImpl::paintScreen (this=0x29cd0a0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:393
#47 0x00007f81e3726e27 in KWin::ScreenEdgeEffect::paintScreen (this=this@entry=0x2a5c830, mask=mask@entry=112, region=..., data=...) at ../../effects/screenedge/screenedgeeffect.cpp:81
#48 0x00007f81e59aecad in KWin::EffectsHandlerImpl::paintScreen (this=0x29cd0a0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#49 0x00007f81e3b8957f in KWin::Effect::paintScreen (this=this@entry=0x1b2a890, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#50 0x00007f81e59aecad in KWin::EffectsHandlerImpl::paintScreen (this=0x29cd0a0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#51 0x00007f81e3b8957f in KWin::Effect::paintScreen (this=this@entry=0x29ceb00, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#52 0x00007f81e59aecad in KWin::EffectsHandlerImpl::paintScreen (this=0x29cd0a0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#53 0x00007f81e36c23f7 in KWin::CubeSlideEffect::paintSlideCube (this=this@entry=0x2aa2a30, mask=mask@entry=112, region=..., data=...) at ../../effects/cube/cubeslide.cpp:176
#54 0x00007f81e36c5d6e in KWin::CubeSlideEffect::paintScreen (this=this@entry=0x2aa2a30, mask=mask@entry=112, region=..., data=...) at ../../effects/cube/cubeslide.cpp:87
#55 0x00007f81e59aecad in KWin::EffectsHandlerImpl::paintScreen (this=0x29cd0a0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#56 0x00007f81e3b8957f in KWin::Effect::paintScreen (this=this@entry=0x2aabb80, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#57 0x00007f81e59aecad in KWin::EffectsHandlerImpl::paintScreen (this=0x29cd0a0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#58 0x00007f81e3b8957f in KWin::Effect::paintScreen (this=this@entry=0x2ab3990, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#59 0x00007f81e59aecad in KWin::EffectsHandlerImpl::paintScreen (this=0x29cd0a0, mask=112, region=..., data=...) at ../effects.cpp:390
#60 0x00007f81e5977e6a in KWin::Scene::paintScreen (this=this@entry=0x1c3db80, mask=mask@entry=0x7ffc459b504c, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffc459b5060, validRegion=validRegion@entry=0x7ffc459b5070) at ../scene.cpp:149
#61 0x00007f81e5991da7 in KWin::SceneOpenGL::paint (this=0x1c3db80, damage=..., toplevels=...) at ../scene_opengl.cpp:651
#62 0x00007f81e5971973 in KWin::Compositor::performCompositing (this=0x1baa0b0) at ../composite.cpp:658
#63 0x00007f81e45ed6f3 in QObject::event (this=0x1baa0b0, e=<optimized out>) at kernel/qobject.cpp:1267
#64 0x00007f81e4ec5b2c in QApplicationPrivate::notify_helper (this=0x1ad2e70, receiver=0x1baa0b0, e=0x7ffc459b5480) at kernel/qapplication.cpp:3720
#65 0x00007f81e4ecb000 in QApplication::notify (this=0x7ffc459b56c0, receiver=0x1baa0b0, e=0x7ffc459b5480) at kernel/qapplication.cpp:3503
#66 0x00007f81e45bbc2b in QCoreApplication::notifyInternal (this=0x7ffc459b56c0, receiver=0x1baa0b0, event=event@entry=0x7ffc459b5480) at kernel/qcoreapplication.cpp:935
#67 0x00007f81e4613ae5 in sendEvent (event=0x7ffc459b5480, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#68 QTimerInfoList::activateTimers (this=0x1b034b8) at kernel/qtimerinfo_unix.cpp:635
#69 0x00007f81e46116a0 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x1b0da60) at kernel/qeventdispatcher_unix.cpp:549
#70 0x00007f81e4612243 in QEventDispatcherUNIX::processEvents (this=0x1b0da60, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#71 0x00007f81d109696d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#72 0x00007f81e45b93e2 in QEventLoop::exec (this=this@entry=0x7ffc459b55e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#73 0x00007f81e45c102c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#74 0x00007f81e490031c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#75 0x00007f81e4ec17a5 in QApplication::exec () at kernel/qapplication.cpp:2956
#76 0x00007f81e60978c3 in kdemain (argc=1, argv=0x7ffc459b5818) at ../main_x11.cpp:294
#77 0x00007f81e5ce9a40 in __libc_start_main (main=0x400790 <main(int, char**)>, argc=1, argv=0x7ffc459b5818, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc459b5808) at libc-start.c:289
#78 0x00000000004007c9 in _start ()

Reported using DrKonqi
Comment 1 ferhad 2015-04-28 23:34:42 UTC
The probem happens when wobbly wibdows effect is activated...
Comment 2 Thomas Lübking 2015-04-30 10:06:53 UTC

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