Bug 396297

Summary: Kwin crashes
Product: [Plasma] kwin Reporter: Arivan Amin <arivanamin>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: vlad.zahorodnii
Priority: NOR Keywords: drkonqi
Version: 5.13.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arivan Amin 2018-07-08 00:36:13 UTC
Application: kwin_x11 (5.13.2)

Qt Version: 5.11.0
Frameworks Version: 5.47.0
Operating System: Linux 4.13.0-45-generic x86_64
Distribution: KDE neon User Edition 5.13

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

Kwin sometimes crashes when switching virtual desktops

no other applications where opened 

It doesn't matter what app is open or being used it crashes sometimes
 
the crash is not so frequent it happens about once in 15 virtual desktop switching

kwin closes unexpectly then recovers and restarts

The crash can be reproduced sometimes.

-- 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 0x7fbcce754940 (LWP 9856))]

Thread 6 (Thread 0x7fbc90ed6700 (LWP 9870)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbcca3f7e04 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fbcca3f7e49 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fbcc710a6ba in start_thread (arg=0x7fbc90ed6700) at pthread_create.c:333
#4  0x00007fbcce15a41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fbc91fd9700 (LWP 9868)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbc9743170b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007fbc97431427 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007fbcc710a6ba in start_thread (arg=0x7fbc91fd9700) at pthread_create.c:333
#4  0x00007fbcce15a41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fbc927da700 (LWP 9867)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbc9743170b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007fbc97431427 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007fbcc710a6ba in start_thread (arg=0x7fbc927da700) at pthread_create.c:333
#4  0x00007fbcce15a41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fbcaa142700 (LWP 9865)):
#0  0x00007fff425f6974 in ?? ()
#1  0x00007fff425f6cb8 in clock_gettime ()
#2  0x00007fbcce168876 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7fbcaa141a90) at ../sysdeps/unix/clock_gettime.c:115
#3  0x00007fbccb4e1501 in qt_clock_gettime (ts=0x7fbcaa141a90, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#4  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#5  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#6  0x00007fbccb4dfcf9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fbc98000980) at kernel/qtimerinfo_unix.cpp:91
#7  0x00007fbccb4e0265 in QTimerInfoList::timerWait (this=this@entry=0x7fbc98000980, tm=...) at kernel/qtimerinfo_unix.cpp:388
#8  0x00007fbccb4defd4 in QEventDispatcherUNIX::processEvents (this=0x7fbc980008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:485
#9  0x00007fbccb4891ca in QEventLoop::exec (this=this@entry=0x7fbcaa141c50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#10 0x00007fbccb2be5e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#11 0x00007fbcc5d8bcf5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007fbccb2c9727 in QThreadPrivate::start (arg=0xf7ac80) at thread/qthread_unix.cpp:367
#13 0x00007fbcc710a6ba in start_thread (arg=0x7fbcaa142700) at pthread_create.c:333
#14 0x00007fbcce15a41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fbcb0bca700 (LWP 9861)):
#0  0x00007fbcce14e811 in __GI_ppoll (fds=fds@entry=0x7fbca400f468, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007fbccb4dd651 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fbca400f468) at kernel/qcore_unix.cpp:112
#3  qt_safe_poll (fds=0x7fbca400f468, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#4  0x00007fbccb4dece2 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007fbccb4891ca in QEventLoop::exec (this=this@entry=0x7fbcb0bc9c40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fbccb2be5e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#7  0x00007fbcc4c90f35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fbccb2c9727 in QThreadPrivate::start (arg=0x7fbcc4f09d60) at thread/qthread_unix.cpp:367
#9  0x00007fbcc710a6ba in start_thread (arg=0x7fbcb0bca700) at pthread_create.c:333
#10 0x00007fbcce15a41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fbcce754940 (LWP 9856)):
[KCrash Handler]
#6  0x00007fbcce088428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fbcce08a02a in __GI_abort () at abort.c:89
#8  0x00007fbccb29b90d in qt_message_fatal (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1839
#9  QMessageLogger::fatal (this=this@entry=0x7fff42575560, msg=msg@entry=0x7fbccac7fe00 "Splitting quads is allowed only in pre-paint calls!") at global/qlogging.cpp:877
#10 0x00007fbccac6e109 in KWin::WindowQuad::makeSubQuad (this=this@entry=0x153ba20, x1=x1@entry=35.583774622779764, y1=y1@entry=0, x2=x2@entry=76.64432025276777, y2=y2@entry=14.834922661147381) at /workspace/build/libkwineffects/kwineffects.cpp:983
#11 0x00007fbca8c2e130 in KWin::SceneOpenGL::Window::beginRenderWindow (this=0x15818a0, mask=117, region=..., data=...) at /workspace/build/plugins/scenes/opengl/scene_opengl.cpp:1193
#12 0x00007fbca8c2e666 in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x15818a0, mask=mask@entry=117, region=..., data=...) at /workspace/build/plugins/scenes/opengl/scene_opengl.cpp:1393
#13 0x00007fbca8c367a2 in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x11c7120, w=w@entry=0x1466600, mask=<optimized out>, mask@entry=117, region=..., data=...) at /workspace/build/plugins/scenes/opengl/scene_opengl.cpp:1108
#14 0x00007fbca8c368c4 in KWin::SceneOpenGL2::finalDrawWindow (this=0x11c7120, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/plugins/scenes/opengl/scene_opengl.cpp:1090
#15 0x00007fbccdcda1d9 in KWin::EffectsHandlerImpl::drawWindow (this=0x11cdae0, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects.cpp:459
#16 0x00007fbccaa087da in KWin::ContrastEffect::drawWindow (this=this@entry=0x120ba40, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects/backgroundcontrast/contrast.cpp:424
#17 0x00007fbccdcda16e in KWin::EffectsHandlerImpl::drawWindow (this=0x11cdae0, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects.cpp:456
#18 0x00007fbcca976c8e in KWin::BlurEffect::drawWindow (this=this@entry=0xeb4180, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects/blur/blur.cpp:568
#19 0x00007fbccdcda16e in KWin::EffectsHandlerImpl::drawWindow (this=0x11cdae0, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects.cpp:456
#20 0x00007fbccac6a891 in KWin::Effect::drawWindow (this=this@entry=0x1289000, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:628
#21 0x00007fbccdcda16e in KWin::EffectsHandlerImpl::drawWindow (this=0x11cdae0, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects.cpp:456
#22 0x00007fbccac6a891 in KWin::Effect::drawWindow (this=this@entry=0x12b3130, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:628
#23 0x00007fbccdcda16e in KWin::EffectsHandlerImpl::drawWindow (this=0x11cdae0, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects.cpp:456
#24 0x00007fbccac6a891 in KWin::Effect::drawWindow (this=this@entry=0x126a810, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:628
#25 0x00007fbccdcda16e in KWin::EffectsHandlerImpl::drawWindow (this=0x11cdae0, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects.cpp:456
#26 0x00007fbccdcc7481 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/scene.cpp:606
#27 0x00007fbccdcda01a in KWin::EffectsHandlerImpl::paintWindow (this=0x11cdae0, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects.cpp:422
#28 0x00007fbccac6a731 in KWin::Effect::paintWindow (this=this@entry=0x120ba40, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:598
#29 0x00007fbccdcd9fbe in KWin::EffectsHandlerImpl::paintWindow (this=0x11cdae0, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects.cpp:419
#30 0x00007fbccac6a731 in KWin::Effect::paintWindow (this=this@entry=0xeb4180, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:598
#31 0x00007fbccdcd9fbe in KWin::EffectsHandlerImpl::paintWindow (this=0x11cdae0, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects.cpp:419
#32 0x00007fbcca9f4d52 in KWin::FallApartEffect::paintWindow (this=this@entry=0x1289000, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects/fallapart/fallapart.cpp:122
#33 0x00007fbccdcd9fbe in KWin::EffectsHandlerImpl::paintWindow (this=0x11cdae0, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects.cpp:419
#34 0x00007fbcca9c975a in KWin::SlideEffect::paintWindow (this=this@entry=0x12b3130, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects/slide/slide.cpp:278
#35 0x00007fbccdcd9fbe in KWin::EffectsHandlerImpl::paintWindow (this=0x11cdae0, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects.cpp:419
#36 0x00007fbccac76f09 in KWin::AnimationEffect::paintWindow (this=this@entry=0x126a810, w=w@entry=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/libkwineffects/kwinanimationeffect.cpp:644
#37 0x00007fbccdcd9fbe in KWin::EffectsHandlerImpl::paintWindow (this=0x11cdae0, w=0x1466600, mask=mask@entry=117, region=..., data=...) at /workspace/build/effects.cpp:419
#38 0x00007fbccdccddf7 in KWin::Scene::paintWindow (this=this@entry=0x11c7120, w=0x15818a0, mask=117, region=..., quads=...) at /workspace/build/scene.cpp:478
#39 0x00007fbccdcc94be in KWin::Scene::paintGenericScreen (this=this@entry=0x11c7120, orig_mask=orig_mask@entry=112) at /workspace/build/scene.cpp:240
#40 0x00007fbca8c36697 in KWin::SceneOpenGL2::paintGenericScreen (this=this@entry=0x11c7120, mask=mask@entry=112, data=...) at /workspace/build/plugins/scenes/opengl/scene_opengl.cpp:1062
#41 0x00007fbccdccd37d in KWin::Scene::finalPaintScreen (this=0x11c7120, mask=mask@entry=112, region=..., data=...) at /workspace/build/scene.cpp:199
#42 0x00007fbccdcd9d9f in KWin::EffectsHandlerImpl::paintScreen (this=0x11cdae0, mask=mask@entry=112, region=..., data=...) at /workspace/build/effects.cpp:379
#43 0x00007fbccac6a67f in KWin::Effect::paintScreen (this=this@entry=0x120ba40, mask=mask@entry=112, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:583
#44 0x00007fbccdcd9d4a in KWin::EffectsHandlerImpl::paintScreen (this=0x11cdae0, mask=mask@entry=112, region=..., data=...) at /workspace/build/effects.cpp:376
#45 0x00007fbccac6a67f in KWin::Effect::paintScreen (this=this@entry=0xeb4180, mask=mask@entry=112, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:583
#46 0x00007fbccdcd9d4a in KWin::EffectsHandlerImpl::paintScreen (this=0x11cdae0, mask=mask@entry=112, region=..., data=...) at /workspace/build/effects.cpp:376
#47 0x00007fbccac6a67f in KWin::Effect::paintScreen (this=this@entry=0x1289000, mask=mask@entry=112, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:583
#48 0x00007fbccdcd9d4a in KWin::EffectsHandlerImpl::paintScreen (this=0x11cdae0, mask=mask@entry=112, region=..., data=...) at /workspace/build/effects.cpp:376
#49 0x00007fbcca9ca8a7 in KWin::SlideEffect::paintScreen (this=this@entry=0x12b3130, mask=mask@entry=112, region=..., data=...) at /workspace/build/effects/slide/slide.cpp:200
#50 0x00007fbccdcd9d4a in KWin::EffectsHandlerImpl::paintScreen (this=0x11cdae0, mask=mask@entry=112, region=..., data=...) at /workspace/build/effects.cpp:376
#51 0x00007fbccac6a67f in KWin::Effect::paintScreen (this=this@entry=0x126a810, mask=mask@entry=112, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:583
#52 0x00007fbccdcd9d4a in KWin::EffectsHandlerImpl::paintScreen (this=0x11cdae0, mask=112, region=..., data=...) at /workspace/build/effects.cpp:376
#53 0x00007fbccdcccfbe in KWin::Scene::paintScreen (this=this@entry=0x11c7120, mask=mask@entry=0x7fff425770f0, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7fff425770c0, validRegion=validRegion@entry=0x7fff425770d0, projection=..., outputGeometry=...) at /workspace/build/scene.cpp:151
#54 0x00007fbca8c304af in KWin::SceneOpenGL::paint (this=0x11c7120, damage=..., toplevels=...) at /workspace/build/plugins/scenes/opengl/scene_opengl.cpp:702
#55 0x00007fbccdcbe8ee in KWin::Compositor::performCompositing (this=0xe93e80) at /workspace/build/composite.cpp:745
#56 0x00007fbccb4b8b83 in QObject::event (this=0xe93e80, e=<optimized out>) at kernel/qobject.cpp:1273
#57 0x00007fbccc25529c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xe93e80, e=0x7fff42577530) at kernel/qapplication.cpp:3713
#58 0x00007fbccc25c917 in QApplication::notify (this=0x7fff42577820, receiver=0xe93e80, e=0x7fff42577530) at kernel/qapplication.cpp:3472
#59 0x00007fbccb48ae38 in QCoreApplication::notifyInternal2 (receiver=0xe93e80, event=event@entry=0x7fff42577530) at kernel/qcoreapplication.cpp:1048
#60 0x00007fbccb4e0fae in QCoreApplication::sendEvent (event=0x7fff42577530, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#61 QTimerInfoList::activateTimers (this=this@entry=0xe87db0) at kernel/qtimerinfo_unix.cpp:643
#62 0x00007fbccb4de1ec in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0xe87d10) at kernel/qeventdispatcher_unix.cpp:249
#63 0x00007fbccb4def52 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=..., flags@entry=...) at kernel/qeventdispatcher_unix.cpp:514
#64 0x00007fbcb3e87f1d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#65 0x00007fbccb4891ca in QEventLoop::exec (this=this@entry=0x7fff42577700, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#66 0x00007fbccb4922d4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#67 0x00007fbccba4581c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1751
#68 0x00007fbccc2551f5 in QApplication::exec () at kernel/qapplication.cpp:2898
#69 0x00007fbcce42c1f9 in kdemain (argc=3, argv=0x7fff425779b8) at /workspace/build/main_x11.cpp:468
#70 0x00007fbcce073830 in __libc_start_main (main=0x4006b0 <main(int, char**)>, argc=3, argv=0x7fff425779b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff425779a8) at ../csu/libc-start.c:291
#71 0x00000000004006e9 in _start ()

Possible duplicates by query: bug 395712, bug 392092.

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2018-07-08 07:23:49 UTC

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