Bug 403863 - kwin crashed after resume from standby
Summary: kwin crashed after resume from standby
Status: RESOLVED DUPLICATE of bug 372305
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.14.5
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-02-02 15:02 UTC by Andreas Schneider
Modified: 2019-02-02 15:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2019-02-02 15:02:05 UTC
Application: kwin_x11 (5.14.5)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.19.0-2-amd64 x86_64
Distribution: Debian GNU/Linux buster/sid

-- Information about the crash:
- What I was doing when the application crashed:
resumed from suspend to RAM; normally at this point I get a pop-up "desktop effects were restarted due to a graphics reset"; when it crashes I believe this pop-up isn't shown but the crash notification instead

- Custom settings of the application:
I'm using the proprietary nVidia driver; currently version 390.87-6 but I suspect this has happened with previous versions as well

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 0x7fb92374d940 (LWP 1393))]

Thread 7 (Thread 0x7fb92086f700 (LWP 2743)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7fb91c038180) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fb91c038130, cond=0x7fb91c038158) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7fb91c038158, mutex=0x7fb91c038130) at pthread_cond_wait.c:655
#3  0x00007fb92c0cb48b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x7fb91c038130) at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x7fb91c02d388, mutex=mutex@entry=0x7fb91c02d380, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007fb92ac16359 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x7fb91c02d378) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x7fb91c02d300) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007fb92ac165ba in QSGRenderThread::run (this=0x7fb91c02d300) at scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007fb92c0cacd7 in QThreadPrivate::start (arg=0x7fb91c02d300) at thread/qthread_unix.cpp:367
#9  0x00007fb92b0b6fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#10 0x00007fb92d6c27ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fb9112f5700 (LWP 2742)):
#0  0x00007fb92d6b7c36 in __GI_ppoll (fds=fds@entry=0x7fb900001ac8, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fb92c2c1151 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=0x7fb900001ac8) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fb900001ac8) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7fb900001ac8, nfds=nfds@entry=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007fb92c2c25c9 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#6  0x00007fb92c27214b in QEventLoop::exec (this=this@entry=0x7fb9112f4c40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007fb92c0c1106 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007fb92a8de375 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fb92c0cacd7 in QThreadPrivate::start (arg=0x7fb91c036810) at thread/qthread_unix.cpp:367
#10 0x00007fb92b0b6fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#11 0x00007fb92d6c27ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fb90a1f7700 (LWP 1522)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7fb92bcb6fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7fb92bcb6f68, cond=0x7fb92bcb6f90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7fb92bcb6f90, mutex=0x7fb92bcb6f68) at pthread_cond_wait.c:655
#3  0x00007fb92bbbfe4a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007fb92bbbfe69 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007fb92b0b6fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fb92d6c27ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fb913c31700 (LWP 1486)):
#0  0x00007fb92d6b7c36 in __GI_ppoll (fds=fds@entry=0x7fb90c000d28, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fb92c2c1151 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=0x7fb90c000d28) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fb90c000d28) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7fb90c000d28, nfds=nfds@entry=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007fb92c2c25c9 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#6  0x00007fb92c27214b in QEventLoop::exec (this=this@entry=0x7fb913c30c40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007fb92c0c1106 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007fb92a8de375 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007fb92c0cacd7 in QThreadPrivate::start (arg=0x5557e4e827e0) at thread/qthread_unix.cpp:367
#10 0x00007fb92b0b6fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#11 0x00007fb92d6c27ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fb921d03700 (LWP 1419)):
#0  0x00007fb92d6b7c36 in __GI_ppoll (fds=fds@entry=0x7fb91400b358, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fb92c2c1151 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=0x7fb91400b358) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fb91400b358) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7fb91400b358, nfds=nfds@entry=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007fb92c2c25c9 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#6  0x00007fb92c27214b in QEventLoop::exec (this=this@entry=0x7fb921d02c30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007fb92c0c1106 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007fb92a3a7545 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fb92c0cacd7 in QThreadPrivate::start (arg=0x7fb92a421d60) at thread/qthread_unix.cpp:367
#10 0x00007fb92b0b6fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#11 0x00007fb92d6c27ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fb922dce700 (LWP 1404)):
#0  0x00007fb92d6b7b39 in __GI___poll (fds=0x7fb922dcdb78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb92bfeacf7 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb92bfec91a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb9232a7519 in QXcbEventReader::run (this=0x5557e4af5e20) at qxcbconnection.h:409
#4  0x00007fb92c0cacd7 in QThreadPrivate::start (arg=0x5557e4af5e20) at thread/qthread_unix.cpp:367
#5  0x00007fb92b0b6fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fb92d6c27ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb92374d940 (LWP 1393)):
[KCrash Handler]
#6  0x00007fb92bdcdf41 in KWin::ContrastEffect::uploadRegion (this=this@entry=0x5557e4e05940, map=@0x7ffe0ff884f8: 0x7fb9114be5e0, region=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrect.h:269
#7  0x00007fb92bdce004 in KWin::ContrastEffect::uploadGeometry (this=this@entry=0x5557e4e05940, vbo=vbo@entry=0x5557e4c82a50, region=...) at ./effects/backgroundcontrast/contrast.cpp:299
#8  0x00007fb92bdcf565 in KWin::ContrastEffect::doContrast (this=this@entry=0x5557e4e05940, w=w@entry=0x5557e4f728d0, shape=..., screen=..., opacity=0, screenProjection=...) at ./effects/backgroundcontrast/contrast.cpp:442
#9  0x00007fb92bdcff43 in KWin::ContrastEffect::drawWindow (this=this@entry=0x5557e4e05940, w=w@entry=0x5557e4f728d0, mask=mask@entry=10, region=..., data=...) at ./effects/backgroundcontrast/contrast.cpp:419
#10 0x00007fb92d448563 in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x5557e4db52c0, w=w@entry=0x5557e4f728d0, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:456
#11 0x00007fb92bd3f379 in KWin::BlurEffect::drawWindow (this=this@entry=0x5557e4c18840, w=w@entry=0x5557e4f728d0, mask=mask@entry=10, region=..., data=...) at ./effects/blur/blur.cpp:567
#12 0x00007fb92d448563 in KWin::EffectsHandlerImpl::drawWindow (this=this@entry=0x5557e4db52c0, w=w@entry=0x5557e4f728d0, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:456
#13 0x00007fb92d434bfc in KWin::Scene::finalPaintWindow (this=this@entry=0x5557e4d21ca0, w=w@entry=0x5557e4f728d0, mask=mask@entry=10, region=..., data=...) at ./scene.cpp:604
#14 0x00007fb92d4483fb in KWin::EffectsHandlerImpl::paintWindow (data=..., region=..., mask=10, w=0x5557e4f728d0, this=0x5557e4d21ca0) at ./effects.cpp:422
#15 KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x5557e4db52c0, w=w@entry=0x5557e4f728d0, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:416
#16 0x00007fb92bdc097a in KWin::KscreenEffect::paintWindow (this=this@entry=0x5557e4f657d0, w=w@entry=0x5557e4f728d0, mask=mask@entry=10, region=..., data=...) at ./effects/kscreen/kscreen.cpp:127
#17 0x00007fb92d4483a3 in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x5557e4db52c0, w=w@entry=0x5557e4f728d0, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:419
#18 0x00007fb92be367fc in KWin::Effect::paintWindow (this=this@entry=0x5557e4e05940, w=w@entry=0x5557e4f728d0, mask=mask@entry=10, region=..., data=...) at ./libkwineffects/kwineffects.cpp:599
#19 0x00007fb92d4483a3 in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x5557e4db52c0, w=w@entry=0x5557e4f728d0, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:419
#20 0x00007fb92be367fc in KWin::Effect::paintWindow (this=this@entry=0x5557e4c18840, w=w@entry=0x5557e4f728d0, mask=mask@entry=10, region=..., data=...) at ./libkwineffects/kwineffects.cpp:599
#21 0x00007fb92d4483a3 in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x5557e4db52c0, w=0x5557e4f728d0, mask=mask@entry=10, region=..., data=...) at ./effects.cpp:419
#22 0x00007fb92d43af8e in KWin::Scene::paintWindow (this=this@entry=0x5557e4d21ca0, w=0x5557e4eb9d20, mask=10, region=..., quads=...) at ./scene.cpp:476
#23 0x00007fb92d43773c in KWin::Scene::paintSimpleScreen (this=this@entry=0x5557e4d21ca0, orig_mask=orig_mask@entry=8, region=...) at ./libkwineffects/kwineffects.h:2351
#24 0x00007fb9129d49d2 in KWin::SceneOpenGL2::paintSimpleScreen (this=this@entry=0x5557e4d21ca0, mask=mask@entry=8, region=...) at ./plugins/scenes/opengl/scene_opengl.cpp:1053
#25 0x00007fb92d43a560 in KWin::Scene::finalPaintScreen (this=this@entry=0x5557e4d21ca0, mask=mask@entry=8, region=..., data=...) at ./scene.cpp:199
#26 0x00007fb92d448155 in KWin::EffectsHandlerImpl::paintScreen (data=..., region=..., mask=8, this=0x8) at ./effects.cpp:379
#27 KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x5557e4db52c0, mask=mask@entry=8, region=..., data=...) at ./effects.cpp:373
#28 0x00007fb92be36751 in KWin::Effect::paintScreen (this=this@entry=0x5557e4f657d0, mask=mask@entry=8, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#29 0x00007fb92d4480fd in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x5557e4db52c0, mask=mask@entry=8, region=..., data=...) at ./effects.cpp:376
#30 0x00007fb92be36751 in KWin::Effect::paintScreen (this=this@entry=0x5557e4e05940, mask=mask@entry=8, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#31 0x00007fb92d4480fd in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x5557e4db52c0, mask=mask@entry=8, region=..., data=...) at ./effects.cpp:376
#32 0x00007fb92be36751 in KWin::Effect::paintScreen (this=this@entry=0x5557e4c18840, mask=mask@entry=8, region=..., data=...) at ./libkwineffects/kwineffects.cpp:584
#33 0x00007fb92d4480fd in KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x5557e4db52c0, mask=8, region=..., data=...) at ./effects.cpp:376
#34 0x00007fb92d43a20e in KWin::Scene::paintScreen (this=this@entry=0x5557e4d21ca0, mask=mask@entry=0x7ffe0ff89328, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffe0ff89310, validRegion=validRegion@entry=0x7ffe0ff89318, projection=..., outputGeometry=...) at ./scene.cpp:149
#35 0x00007fb9129dc879 in KWin::SceneOpenGL::paint (this=this@entry=0x5557e4d21ca0, damage=..., toplevels=...) at ./plugins/scenes/opengl/scene_opengl.h:122
#36 0x00007fb92d42c2aa in KWin::Compositor::performCompositing (this=0x5557e4be8d20) at ./composite.cpp:745
#37 0x00007fb92c29cf3b in QObject::event (this=0x5557e4be8d20, e=<optimized out>) at kernel/qobject.cpp:1232
#38 0x00007fb92cbeb491 in QApplicationPrivate::notify_helper (this=this@entry=0x5557e4aaf680, receiver=receiver@entry=0x5557e4be8d20, e=e@entry=0x7ffe0ff89750) at kernel/qapplication.cpp:3726
#39 0x00007fb92cbf2ad0 in QApplication::notify (this=0x7ffe0ff899f0, receiver=0x5557e4be8d20, e=0x7ffe0ff89750) at kernel/qapplication.cpp:3485
#40 0x00007fb92c273479 in QCoreApplication::notifyInternal2 (receiver=0x5557e4be8d20, event=event@entry=0x7ffe0ff89750) at ../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#41 0x00007fb92c2c4568 in QCoreApplication::sendEvent (event=0x7ffe0ff89750, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#42 QTimerInfoList::activateTimers (this=this@entry=0x5557e4b89220) at kernel/qtimerinfo_unix.cpp:643
#43 0x00007fb92c2c1b5c in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x5557e4b89180) at kernel/qeventdispatcher_unix.cpp:249
#44 0x00007fb92c2c271c in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514
#45 0x00007fb92333aafd in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#46 0x00007fb92c27214b in QEventLoop::exec (this=this@entry=0x7ffe0ff89900, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#47 0x00007fb92c27a2c2 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#48 0x00007fb92d79447b in kdemain (argc=<optimized out>, argv=0x7ffe0ff89b88) at ./main_x11.cpp:468
#49 0x00007fb92d5ed09b in __libc_start_main (main=0x5557e3e8b050 <main>, argc=3, argv=0x7ffe0ff89b88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe0ff89b78) at ../csu/libc-start.c:308
#50 0x00005557e3e8b08a in _start ()
[Inferior 1 (process 1393) detached]

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

Possible duplicates by query: bug 402976, bug 399876, bug 399800, bug 396273, bug 396264.

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-02-02 15:04:52 UTC

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