Bug 399876

Summary: Kwin crash on resume from standby
Product: [Plasma] kwin Reporter: ascaris
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.14.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ascaris 2018-10-16 12:59:20 UTC
Application: kwin_x11 (5.14.0)

Qt Version: 5.11.1
Frameworks Version: 5.51.0
Operating System: Linux 4.15.0-38-generic x86_64
Distribution: KDE neon User Edition 5.14

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

- Unusual behavior I noticed:
nVidia proprietary drivers in use.  The well-known issue with the desktop (folder view) icon captions being corrupted and illegible after resume is present.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa8193f3840 (LWP 1630))]

Thread 7 (Thread 0x7fa7f7fff700 (LWP 5873)):
#0  __libc_disable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:96
#1  0x00007fa818d4ed0a in __GI_ppoll (fds=fds@entry=0x7fa7ec0455d8, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#2  0x00007fa81612f7a1 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
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fa7ec0455d8) at kernel/qcore_unix.cpp:112
#4  qt_safe_poll (fds=0x7fa7ec0455d8, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#5  0x00007fa816130eae in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#6  0x00007fa8160d7dea in QEventLoop::exec (this=this@entry=0x7fa7f7ffed60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007fa815f02b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#8  0x00007fa815f0daab in QThreadPrivate::start (arg=0x55ba4c4e5180) at thread/qthread_unix.cpp:367
#9  0x00007fa811d946db in start_thread (arg=0x7fa7f7fff700) at pthread_create.c:463
#10 0x00007fa818d5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fa7f4902700 (LWP 2050)):
#0  0x00007fa818d4ecf6 in __GI_ppoll (fds=fds@entry=0x7fa7dc001ac8, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fa81612f7a1 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=0x7fa7dc001ac8) at kernel/qcore_unix.cpp:112
#3  qt_safe_poll (fds=0x7fa7dc001ac8, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#4  0x00007fa816130eae in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007fa8160d7dea in QEventLoop::exec (this=this@entry=0x7fa7f4901d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fa815f02b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007fa8108208b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fa815f0daab in QThreadPrivate::start (arg=0x55ba4c2d5680) at thread/qthread_unix.cpp:367
#9  0x00007fa811d946db in start_thread (arg=0x7fa7f4902700) at pthread_create.c:463
#10 0x00007fa818d5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fa7e21f7700 (LWP 1764)):
#0  0x00007fa811d9a9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fa81533afb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fa81533af68, cond=0x7fa81533af90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7fa81533af90, mutex=0x7fa81533af68) at pthread_cond_wait.c:655
#3  0x00007fa815045954 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007fa815045999 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007fa811d946db in start_thread (arg=0x7fa7e21f7700) at pthread_create.c:463
#6  0x00007fa818d5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fa7f7344700 (LWP 1748)):
#0  __libc_disable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:96
#1  0x00007fa818d4ed0a in __GI_ppoll (fds=fds@entry=0x7fa7e4000d28, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#2  0x00007fa81612f7a1 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
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fa7e4000d28) at kernel/qcore_unix.cpp:112
#4  qt_safe_poll (fds=0x7fa7e4000d28, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#5  0x00007fa816130eae in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#6  0x00007fa8160d7dea in QEventLoop::exec (this=this@entry=0x7fa7f7343d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007fa815f02b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#8  0x00007fa8108208b5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fa815f0daab in QThreadPrivate::start (arg=0x55ba4c025bc0) at thread/qthread_unix.cpp:367
#10 0x00007fa811d946db in start_thread (arg=0x7fa7f7344700) at pthread_create.c:463
#11 0x00007fa818d5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa7fdee1700 (LWP 1652)):
#0  0x00007fa818d4ecf6 in __GI_ppoll (fds=fds@entry=0x7fa7f000eff8, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fa81612f7a1 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=0x7fa7f000eff8) at kernel/qcore_unix.cpp:112
#3  qt_safe_poll (fds=0x7fa7f000eff8, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#4  0x00007fa816130eae in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007fa8160d7dea in QEventLoop::exec (this=this@entry=0x7fa7fdee0d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fa815f02b8a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007fa80f712e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fa815f0daab in QThreadPrivate::start (arg=0x7fa80f98ad60) at thread/qthread_unix.cpp:367
#9  0x00007fa811d946db in start_thread (arg=0x7fa7fdee1700) at pthread_create.c:463
#10 0x00007fa818d5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa8005fc700 (LWP 1631)):
#0  0x00007fa818d4ebf9 in __GI___poll (fds=0x7fa8005fbc68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa817c4f747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa817c5136a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa8016ef129 in QXcbEventReader::run (this=0x55ba4be14d00) at qxcbconnection.cpp:1388
#4  0x00007fa815f0daab in QThreadPrivate::start (arg=0x55ba4be14d00) at thread/qthread_unix.cpp:367
#5  0x00007fa811d946db in start_thread (arg=0x7fa8005fc700) at pthread_create.c:463
#6  0x00007fa818d5b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa8193f3840 (LWP 1630)):
[KCrash Handler]
#6  KWin::ContrastEffect::uploadRegion (this=this@entry=0x55ba4c50a090, map=@0x7ffc17daccf8: 0x7fa7f4a9f1e0, region=...) at ./effects/backgroundcontrast/contrast.cpp:281
#7  0x00007fa81564eeb4 in KWin::ContrastEffect::uploadGeometry (this=this@entry=0x55ba4c50a090, vbo=vbo@entry=0x55ba4c62f080, region=...) at ./effects/backgroundcontrast/contrast.cpp:299
#8  0x00007fa815650415 in KWin::ContrastEffect::doContrast (this=this@entry=0x55ba4c50a090, w=w@entry=0x55ba4c7eac10, shape=..., screen=..., opacity=0, screenProjection=...) at ./effects/backgroundcontrast/contrast.cpp:442
#9  0x00007fa815650e0b in KWin::ContrastEffect::drawWindow (this=this@entry=0x55ba4c50a090, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./effects/backgroundcontrast/contrast.cpp:419
#10 0x00007fa8188b91fe in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x55ba4c776b10, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:456
#11 0x00007fa8155bec75 in KWin::BlurEffect::drawWindow (this=this@entry=0x55ba4c522030, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./effects/blur/blur.cpp:567
#12 0x00007fa8188b91fe in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x55ba4c776b10, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:456
#13 0x00007fa8158afff0 in KWin::Effect::drawWindow (this=this@entry=0x7fa7f800bab0, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./libkwineffects/kwineffects.cpp:629
#14 0x00007fa8188b91fe in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x55ba4c776b10, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:456
#15 0x00007fa8188a61a0 in KWin::Scene::finalPaintWindow (this=this@entry=0x55ba4c50dfe0, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./scene.cpp:604
#16 0x00007fa8188b908d in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55ba4c776b10, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:422
#17 0x00007fa815642cea in KWin::KscreenEffect::paintWindow (this=this@entry=0x55ba4c702580, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./effects/kscreen/kscreen.cpp:127
#18 0x00007fa8188b902e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55ba4c776b10, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:419
#19 0x00007fa8158afe80 in KWin::Effect::paintWindow (this=this@entry=0x55ba4c50a090, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./libkwineffects/kwineffects.cpp:599
#20 0x00007fa8188b902e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55ba4c776b10, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:419
#21 0x00007fa8158afe80 in KWin::Effect::paintWindow (this=this@entry=0x55ba4c522030, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./libkwineffects/kwineffects.cpp:599
#22 0x00007fa8188b902e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55ba4c776b10, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:419
#23 0x00007fa8158bd3f7 in KWin::AnimationEffect::paintWindow (this=this@entry=0x7fa7f800bab0, w=w@entry=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./libkwineffects/kwinanimationeffect.cpp:644
#24 0x00007fa8188b902e in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55ba4c776b10, w=0x55ba4c7eac10, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:419
#25 0x00007fa8188ac272 in KWin::Scene::paintWindow (this=this@entry=0x55ba4c50dfe0, w=0x55ba4c535670, mask=10, region=..., quads=...) at ./scene.cpp:476
#26 0x00007fa8188aafec in KWin::Scene::paintSimpleScreen (this=this@entry=0x55ba4c50dfe0, orig_mask=orig_mask@entry=8, region=...) at ./scene.cpp:374
#27 0x00007fa7f5eecc82 in KWin::SceneOpenGL2::paintSimpleScreen (this=this@entry=0x55ba4c50dfe0, mask=mask@entry=8, region=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1053
#28 0x00007fa8188ab807 in KWin::Scene::finalPaintScreen (this=this@entry=0x55ba4c50dfe0, mask=mask@entry=8, region=..., data=...) at ./scene.cpp:199
#29 0x00007fa8188b8de5 in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55ba4c776b10, mask=mask@entry=8, region=..., data=...) at ./effects.cpp:379
#30 0x00007fa8158afdd1 in KWin::Effect::paintScreen (this=this@entry=0x55ba4c702580, mask=mask@entry=8, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#31 0x00007fa8188b8d8d in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55ba4c776b10, mask=mask@entry=8, region=..., data=...) at ./effects.cpp:376
#32 0x00007fa8158afdd1 in KWin::Effect::paintScreen (this=this@entry=0x55ba4c50a090, mask=mask@entry=8, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#33 0x00007fa8188b8d8d in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55ba4c776b10, mask=mask@entry=8, region=..., data=...) at ./effects.cpp:376
#34 0x00007fa8158afdd1 in KWin::Effect::paintScreen (this=this@entry=0x55ba4c522030, mask=mask@entry=8, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#35 0x00007fa8188b8d8d in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55ba4c776b10, mask=mask@entry=8, region=..., data=...) at ./effects.cpp:376
#36 0x00007fa8158afdd1 in KWin::Effect::paintScreen (this=this@entry=0x7fa7f800bab0, mask=mask@entry=8, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#37 0x00007fa8188b8d8d in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55ba4c776b10, mask=8, region=..., data=...) at ./effects.cpp:376
#38 0x00007fa8188ab4fe in KWin::Scene::paintScreen (this=this@entry=0x55ba4c50dfe0, mask=mask@entry=0x7ffc17dadd80, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffc17dadd68, validRegion=validRegion@entry=0x7ffc17dadd70, projection=..., outputGeometry=...) at ./scene.cpp:149
#39 0x00007fa7f5ef2df1 in KWin::SceneOpenGL::paint (this=this@entry=0x55ba4c50dfe0, damage=..., toplevels=...) at ./plugins/scenes/opengl/scene_opengl.cpp:702
#40 0x00007fa81889dbf2 in KWin::Compositor::performCompositing (this=0x55ba4bf2bc10) at ./composite.cpp:745
#41 0x00007fa8161095fb in QObject::event (this=0x55ba4bf2bc10, e=<optimized out>) at kernel/qobject.cpp:1273
#42 0x00007fa816e66e8c in QApplicationPrivate::notify_helper (this=this@entry=0x55ba4be0a820, receiver=receiver@entry=0x55ba4bf2bc10, e=e@entry=0x7ffc17dae1c0) at kernel/qapplication.cpp:3727
#43 0x00007fa816e6e45f in QApplication::notify (this=0x7ffc17dae470, receiver=0x55ba4bf2bc10, e=0x7ffc17dae1c0) at kernel/qapplication.cpp:3486
#44 0x00007fa8160d9ab8 in QCoreApplication::notifyInternal2 (receiver=0x55ba4bf2bc10, event=event@entry=0x7ffc17dae1c0) at kernel/qcoreapplication.cpp:1048
#45 0x00007fa816132f0e in QCoreApplication::sendEvent (event=0x7ffc17dae1c0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#46 QTimerInfoList::activateTimers (this=this@entry=0x55ba4be69420) at kernel/qtimerinfo_unix.cpp:643
#47 0x00007fa81613033c in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x55ba4be69380) at kernel/qeventdispatcher_unix.cpp:249
#48 0x00007fa816131112 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514
#49 0x00007fa80177a16d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#50 0x00007fa8160d7dea in QEventLoop::exec (this=this@entry=0x7ffc17dae380, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#51 0x00007fa8160e0fa0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#52 0x00007fa819033dab in kdemain (argc=<optimized out>, argv=0x7ffc17dae608) at ./main_x11.cpp:468
#53 0x00007fa818c5bb97 in __libc_start_main (main=0x55ba4b2a6720 <main>, argc=1, argv=0x7ffc17dae608, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc17dae5f8) at ../csu/libc-start.c:310
#54 0x000055ba4b2a675a in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 396264.

Possible duplicates by query: bug 399800, bug 396273, bug 396264, bug 396227.

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2018-10-16 13:01:17 UTC

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