Bug 345582

Summary: Virtual Desktops crash when using Wobbly Windows and Switch desktop on edge
Product: [Plasma] kwin Reporter: David <ugotsta>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.2.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description David 2015-03-27 18:37:28 UTC
Application: kwin_x11 (5.2.2)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-10-generic x86_64
Distribution: Ubuntu Vivid Vervet (development branch)

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

With Wobbly Windows and "Switch desktop on edge" enabled, dragging a window to a new virtual desktop crashes plasma.

To replicate:

1. System Settings > Desktop Behavior > Screen Edges:
for "Switch desktop on edge", select "Always Enabled " or "Only When Moving Windows".

2. System Settings > Desktop Behavior > Desktop Effects:
enable Wobbly Windows.

3. Drag a window to the screen edge.

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 0x7fabe6001800 (LWP 1363))]

Thread 4 (Thread 0x7fabbfdbc700 (LWP 1406)):
#0  0x00007fabe4325dd7 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7fabb80008e0, flags=..., flags@entry=..., timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:176
#1  0x00007fabe4326205 in QEventDispatcherUNIX::processEvents (this=0x7fabb80008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#2  0x00007fabe42cd3b2 in QEventLoop::exec (this=this@entry=0x7fabbfdbbda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#3  0x00007fabe408cb44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#4  0x00007fabddf41f45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#5  0x00007fabe4091b0e in QThreadPrivate::start (arg=0x2376f00) at thread/qthread_unix.cpp:337
#6  0x00007fabdd10e6aa in start_thread (arg=0x7fabbfdbc700) at pthread_create.c:333
#7  0x00007fabe5ae1eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fabbd6b9700 (LWP 1426)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fabbe7518bb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007fabbe751047 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007fabdd10e6aa in start_thread (arg=0x7fabbd6b9700) at pthread_create.c:333
#4  0x00007fabe5ae1eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fabb581c700 (LWP 1435)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fabe2e96644 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fabe2e96689 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fabdd10e6aa in start_thread (arg=0x7fabb581c700) at pthread_create.c:333
#4  0x00007fabe5ae1eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fabe6001800 (LWP 1363)):
[KCrash Handler]
#6  0x00007fabe5a10267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007fabe5a11eca in __GI_abort () at abort.c:89
#8  0x00007fabe407eedf in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1415
#9  QMessageLogger::fatal (this=this@entry=0x7ffc29173b80, msg=msg@entry=0x7fabe38b38a8 "Splitting quads is allowed only in pre-paint calls!") at global/qlogging.cpp:636
#10 0x00007fabe38a0ea1 in KWin::WindowQuad::makeSubQuad (this=this@entry=0x2d80620, x1=x1@entry=472, y1=y1@entry=28.979573924831129, x2=x2@entry=472.48047144787927, y2=y2@entry=46.579961454005314) at ../../libkwineffects/kwineffects.cpp:907
#11 0x00007fabe56a2289 in KWin::SceneOpenGL::Window::beginRenderWindow (this=<optimized out>, mask=<optimized out>, region=..., data=...) at ../scene_opengl.cpp:1249
#12 0x00007fabe56a2907 in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x2be0cd0, mask=mask@entry=118, region=..., data=...) at ../scene_opengl.cpp:1421
#13 0x00007fabe56a8642 in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x22ab750, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../scene_opengl.cpp:1082
#14 0x00007fabe56a8818 in KWin::SceneOpenGL2::finalDrawWindow (this=0x22ab750, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../scene_opengl.cpp:1068
#15 0x00007fabe56c1139 in KWin::EffectsHandlerImpl::drawWindow (this=0x2a2b0a0, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:473
#16 0x00007fabe389d7c1 in KWin::Effect::drawWindow (this=this@entry=0x2ab9f40, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#17 0x00007fabe56c10d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x2a2b0a0, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#18 0x00007fabe344b385 in KWin::ContrastEffect::drawWindow (this=this@entry=0x21e2c90, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../../effects/backgroundcontrast/contrast.cpp:345
#19 0x00007fabe56c10d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x2a2b0a0, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#20 0x00007fabe33c12db in KWin::BlurEffect::drawWindow (this=this@entry=0x29c6350, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../../effects/blur/blur.cpp:415
#21 0x00007fabe56c10d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x2a2b0a0, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#22 0x00007fabe389d7c1 in KWin::Effect::drawWindow (this=this@entry=0x239cd30, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#23 0x00007fabe56c10d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x2a2b0a0, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#24 0x00007fabe389d7c1 in KWin::Effect::drawWindow (this=this@entry=0x2aae210, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#25 0x00007fabe56c10d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x2a2b0a0, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#26 0x00007fabe389d7c1 in KWin::Effect::drawWindow (this=this@entry=0x2c4be10, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:580
#27 0x00007fabe56c10d1 in KWin::EffectsHandlerImpl::drawWindow (this=0x2a2b0a0, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:470
#28 0x00007fabe568a841 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../scene.cpp:605
#29 0x00007fabe56c0f7a in KWin::EffectsHandlerImpl::paintWindow (this=0x2a2b0a0, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:436
#30 0x00007fabe389d651 in KWin::Effect::paintWindow (this=this@entry=0x2ab9f40, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#31 0x00007fabe56c0f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x2a2b0a0, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#32 0x00007fabe389d651 in KWin::Effect::paintWindow (this=this@entry=0x21e2c90, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#33 0x00007fabe56c0f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x2a2b0a0, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#34 0x00007fabe389d651 in KWin::Effect::paintWindow (this=this@entry=0x29c6350, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:550
#35 0x00007fabe56c0f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x2a2b0a0, w=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#36 0x00007fabe33d67a0 in KWin::CubeSlideEffect::paintWindow (this=this@entry=0x239cd30, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../../effects/cube/cubeslide.cpp:347
#37 0x00007fabe56c0f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x2a2b0a0, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#38 0x00007fabe38ab937 in KWin::AnimationEffect::paintWindow (this=this@entry=0x2aae210, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../../libkwineffects/kwinanimationeffect.cpp:585
#39 0x00007fabe56c0f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x2a2b0a0, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#40 0x00007fabe3420fbd in KWin::WobblyWindowsEffect::paintWindow (this=this@entry=0x2c4be10, w=w@entry=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../../effects/wobblywindows/wobblywindows.cpp:331
#41 0x00007fabe56c0f21 in KWin::EffectsHandlerImpl::paintWindow (this=0x2a2b0a0, w=0x2bc86c0, mask=mask@entry=118, region=..., data=...) at ../effects.cpp:433
#42 0x00007fabe568eee8 in KWin::Scene::paintWindow (this=this@entry=0x22ab750, w=0x2be0cd0, mask=118, region=..., quads=...) at ../scene.cpp:477
#43 0x00007fabe568bed6 in KWin::Scene::paintGenericScreen (this=this@entry=0x22ab750, orig_mask=orig_mask@entry=112) at ../scene.cpp:241
#44 0x00007fabe569dbd4 in KWin::SceneOpenGL2::paintGenericScreen (this=this@entry=0x22ab750, mask=mask@entry=112, data=...) at ../scene_opengl.cpp:1020
#45 0x00007fabe568a24d in KWin::Scene::finalPaintScreen (this=0x22ab750, mask=mask@entry=112, region=..., data=...) at ../scene.cpp:197
#46 0x00007fabe56c0cff in KWin::EffectsHandlerImpl::paintScreen (this=0x2a2b0a0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:393
#47 0x00007fabe343ae27 in KWin::ScreenEdgeEffect::paintScreen (this=this@entry=0x2ab9f40, mask=mask@entry=112, region=..., data=...) at ../../effects/screenedge/screenedgeeffect.cpp:81
#48 0x00007fabe56c0cad in KWin::EffectsHandlerImpl::paintScreen (this=0x2a2b0a0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#49 0x00007fabe389d57f in KWin::Effect::paintScreen (this=this@entry=0x21e2c90, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#50 0x00007fabe56c0cad in KWin::EffectsHandlerImpl::paintScreen (this=0x2a2b0a0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#51 0x00007fabe389d57f in KWin::Effect::paintScreen (this=this@entry=0x29c6350, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#52 0x00007fabe56c0cad in KWin::EffectsHandlerImpl::paintScreen (this=0x2a2b0a0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#53 0x00007fabe33d63f7 in KWin::CubeSlideEffect::paintSlideCube (this=this@entry=0x239cd30, mask=mask@entry=112, region=..., data=...) at ../../effects/cube/cubeslide.cpp:176
#54 0x00007fabe33d9d6e in KWin::CubeSlideEffect::paintScreen (this=this@entry=0x239cd30, mask=mask@entry=112, region=..., data=...) at ../../effects/cube/cubeslide.cpp:87
#55 0x00007fabe56c0cad in KWin::EffectsHandlerImpl::paintScreen (this=0x2a2b0a0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#56 0x00007fabe389d57f in KWin::Effect::paintScreen (this=this@entry=0x2aae210, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#57 0x00007fabe56c0cad in KWin::EffectsHandlerImpl::paintScreen (this=0x2a2b0a0, mask=mask@entry=112, region=..., data=...) at ../effects.cpp:390
#58 0x00007fabe389d57f in KWin::Effect::paintScreen (this=this@entry=0x2c4be10, mask=mask@entry=112, region=..., data=...) at ../../libkwineffects/kwineffects.cpp:535
#59 0x00007fabe56c0cad in KWin::EffectsHandlerImpl::paintScreen (this=0x2a2b0a0, mask=112, region=..., data=...) at ../effects.cpp:390
#60 0x00007fabe5689e6a in KWin::Scene::paintScreen (this=this@entry=0x22ab750, mask=mask@entry=0x7ffc291757fc, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffc29175810, validRegion=validRegion@entry=0x7ffc29175820) at ../scene.cpp:149
#61 0x00007fabe56a3da7 in KWin::SceneOpenGL::paint (this=0x22ab750, damage=..., toplevels=...) at ../scene_opengl.cpp:651
#62 0x00007fabe5683973 in KWin::Compositor::performCompositing (this=0x21f94d0) at ../composite.cpp:658
#63 0x00007fabe43016c3 in QObject::event (this=0x21f94d0, e=<optimized out>) at kernel/qobject.cpp:1267
#64 0x00007fabe4bd9b2c in QApplicationPrivate::notify_helper (this=0x20fd870, receiver=0x21f94d0, e=0x7ffc29175c30) at kernel/qapplication.cpp:3720
#65 0x00007fabe4bdf000 in QApplication::notify (this=0x7ffc29175e70, receiver=0x21f94d0, e=0x7ffc29175c30) at kernel/qapplication.cpp:3503
#66 0x00007fabe42cfbfb in QCoreApplication::notifyInternal (this=0x7ffc29175e70, receiver=0x21f94d0, event=event@entry=0x7ffc29175c30) at kernel/qcoreapplication.cpp:935
#67 0x00007fabe4327a75 in sendEvent (event=0x7ffc29175c30, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#68 QTimerInfoList::activateTimers (this=0x214d368) at kernel/qtimerinfo_unix.cpp:635
#69 0x00007fabe4325660 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x2139f90) at kernel/qeventdispatcher_unix.cpp:549
#70 0x00007fabe43261d3 in QEventDispatcherUNIX::processEvents (this=0x2139f90, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:611
#71 0x00007fabd0f008cd in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:62
#72 0x00007fabe42cd3b2 in QEventLoop::exec (this=this@entry=0x7ffc29175d90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#73 0x00007fabe42d4ffc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#74 0x00007fabe461431c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#75 0x00007fabe4bd57a5 in QApplication::exec () at kernel/qapplication.cpp:2956
#76 0x00007fabe5da98c3 in kdemain (argc=1, argv=0x7ffc29175fc8) at ../main_x11.cpp:294
#77 0x00007fabe59fba40 in __libc_start_main (main=0x400790 <main(int, char**)>, argc=1, argv=0x7ffc29175fc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc29175fb8) at libc-start.c:289
#78 0x00000000004007c9 in _start ()

Reported using DrKonqi
Comment 1 Thomas L├╝bking 2015-03-28 08:03:30 UTC

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