https://bugs.kde.org/show_bug.cgi?id=423295

            Bug ID: 423295
           Summary: Kwin crashed after suspend
           Product: kwin
           Version: 5.14.5
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: laur...@imbert-pro.fr
  Target Milestone: ---

Application: kwin_x11 (5.14.5)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.19.0-9-amd64 x86_64
Distribution: Debian GNU/Linux 10 (buster)

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

Waking up after suspend.

- Unusual behavior I noticed:

Login screen displays a broken picture, and kwin restarts properly after login.

The crash does not seem to be reproducible.

-- 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 0x7f1448f70940 (LWP 819))]

Thread 5 (Thread 0x7f1434d0c700 (LWP 4083)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55da87ea4da0) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55da87ea4d50,
cond=0x55da87ea4d78) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55da87ea4d78, mutex=0x55da87ea4d50) at
pthread_cond_wait.c:655
#3  0x00007f14506ff21b in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x55da87ea4d50) at
thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x55da87f4bf08,
mutex=mutex@entry=0x55da87f4bf00, time=time@entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#5  0x00007f144f448009 in QSGRenderThreadEventQueue::takeEvent (wait=true,
this=0x55da87f4bef8) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore
(this=this@entry=0x55da87f4be80) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007f144f44826a in QSGRenderThread::run (this=0x55da87f4be80) at
scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007f14506fea67 in QThreadPrivate::start (arg=0x55da87f4be80) at
thread/qthread_unix.cpp:367
#9  0x00007f144f8e7fa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#10 0x00007f1451cf84cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f142b815700 (LWP 956)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x7f14502e9fb8
<QTWTF::pageheap_memory+57592>) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f14502e9f68
<QTWTF::pageheap_memory+57512>, cond=0x7f14502e9f90
<QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f14502e9f90 <QTWTF::pageheap_memory+57552>,
mutex=0x7f14502e9f68 <QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:655
#3  0x00007f14501f3e6a in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f14502dbec0 <QTWTF::pageheap_memory>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x00007f14501f3e89 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00007f144f8e7fa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#6  0x00007f1451cf84cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f144538a700 (LWP 939)):
#0  0x00007f14508cf614 in QMetaObject::activate (sender=0x7f1430000b20,
signalOffset=<optimized out>, local_signal_index=<optimized out>,
argv=<optimized out>) at kernel/qobject.cpp:3807
#1  0x00007f14508f49fe in QEventDispatcherUNIX::processEvents
(this=0x7f1430000b20, flags=...) at kernel/qeventdispatcher_unix.cpp:465
#2  0x00007f14508a515b in QEventLoop::exec (this=this@entry=0x7f1445389c40,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#3  0x00007f14506f4e76 in QThread::exec (this=this@entry=0x55da875ef580) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#4  0x00007f144f112c65 in QQmlThreadPrivate::run (this=0x55da875ef580) at
qml/ftw/qqmlthread.cpp:148
#5  0x00007f14506fea67 in QThreadPrivate::start (arg=0x55da875ef580) at
thread/qthread_unix.cpp:367
#6  0x00007f144f8e7fa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#7  0x00007f1451cf84cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f14474f6700 (LWP 874)):
#0  0x00007f1451ced916 in __GI_ppoll (fds=fds@entry=0x7f143800e8a8,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f14508f3721 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=0x7f143800e8a8) at
kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f143800e8a8) at
kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7f143800e8a8, nfds=nfds@entry=1,
timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007f14508f4b99 in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at
../../include/QtCore/../../src/corelib/tools/qarraydata.h:209
#6  0x00007f14508a515b in QEventLoop::exec (this=this@entry=0x7f14474f5c30,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f14506f4e76 in QThread::exec (this=this@entry=0x7f144ec59d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f144ebda545 in QDBusConnectionManager::run (this=0x7f144ec59d60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#9  0x00007f14506fea67 in QThreadPrivate::start (arg=0x7f144ec59d60 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:367
#10 0x00007f144f8e7fa3 in start_thread (arg=<optimized out>) at
pthread_create.c:486
#11 0x00007f1451cf84cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f1448f70940 (LWP 819)):
[KCrash Handler]
#6  0x00007f1450400f41 in KWin::ContrastEffect::uploadRegion
(this=this@entry=0x55da878120a0, map=@0x7ffca6971bc8: 0x7f1434f04170,
region=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrect.h:269
#7  0x00007f1450401004 in KWin::ContrastEffect::uploadGeometry
(this=this@entry=0x55da878120a0, vbo=vbo@entry=0x55da878ca600, region=...) at
./effects/backgroundcontrast/contrast.cpp:299
#8  0x00007f1450402565 in KWin::ContrastEffect::doContrast
(this=this@entry=0x55da878120a0, w=w@entry=0x55da87894bd0, shape=...,
screen=..., opacity=0, screenProjection=...) at
./effects/backgroundcontrast/contrast.cpp:442
#9  0x00007f1450402f43 in KWin::ContrastEffect::drawWindow
(this=this@entry=0x55da878120a0, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./effects/backgroundcontrast/contrast.cpp:419
#10 0x00007f1451a7e563 in KWin::EffectsHandlerImpl::drawWindow
(this=this@entry=0x55da878bc1c0, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:456
#11 0x00007f1450372379 in KWin::BlurEffect::drawWindow
(this=this@entry=0x7f1438006010, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./effects/blur/blur.cpp:567
#12 0x00007f1451a7e563 in KWin::EffectsHandlerImpl::drawWindow
(this=this@entry=0x55da878bc1c0, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:456
#13 0x00007f145046996c in KWin::Effect::drawWindow
(this=this@entry=0x7f144000a8e0, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./libkwineffects/kwineffects.cpp:629
#14 0x00007f1451a7e563 in KWin::EffectsHandlerImpl::drawWindow
(this=this@entry=0x55da878bc1c0, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:456
#15 0x00007f1451a6abfc in KWin::Scene::finalPaintWindow
(this=this@entry=0x55da878b5660, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./scene.cpp:604
#16 0x00007f1451a7e3fb in KWin::EffectsHandlerImpl::paintWindow (data=...,
region=..., mask=2, w=0x55da87894bd0, this=0x55da878b5660) at ./effects.cpp:422
#17 KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55da878bc1c0,
w=w@entry=0x55da87894bd0, mask=mask@entry=2, region=..., data=...) at
./effects.cpp:416
#18 0x00007f14503f397a in KWin::KscreenEffect::paintWindow
(this=this@entry=0x7f144000acd0, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./effects/kscreen/kscreen.cpp:127
#19 0x00007f1451a7e3a3 in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x55da878bc1c0, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:419
#20 0x00007f14504697fc in KWin::Effect::paintWindow
(this=this@entry=0x55da878120a0, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./libkwineffects/kwineffects.cpp:599
#21 0x00007f1451a7e3a3 in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x55da878bc1c0, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:419
#22 0x00007f14504697fc in KWin::Effect::paintWindow
(this=this@entry=0x7f1438006010, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./libkwineffects/kwineffects.cpp:599
#23 0x00007f1451a7e3a3 in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x55da878bc1c0, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:419
#24 0x00007f1450476d2b in KWin::AnimationEffect::paintWindow
(this=this@entry=0x7f144000a8e0, w=w@entry=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./libkwineffects/kwinanimationeffect.cpp:644
#25 0x00007f1451a7e3a3 in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x55da878bc1c0, w=0x55da87894bd0, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:419
#26 0x00007f1451a70f8e in KWin::Scene::paintWindow
(this=this@entry=0x55da878b5660, w=0x55da8775f190, mask=2, region=...,
quads=...) at ./scene.cpp:476
#27 0x00007f1451a6d73c in KWin::Scene::paintSimpleScreen
(this=this@entry=0x55da878b5660, orig_mask=orig_mask@entry=0, region=...) at
./libkwineffects/kwineffects.h:2351
#28 0x00007f144412d9d2 in KWin::SceneOpenGL2::paintSimpleScreen
(this=this@entry=0x55da878b5660, mask=mask@entry=0, region=...) at
./plugins/scenes/opengl/scene_opengl.cpp:1053
#29 0x00007f1451a70560 in KWin::Scene::finalPaintScreen
(this=this@entry=0x55da878b5660, mask=mask@entry=0, region=..., data=...) at
./scene.cpp:199
#30 0x00007f1451a7e155 in KWin::EffectsHandlerImpl::paintScreen (data=...,
region=..., mask=0, this=0x0) at ./effects.cpp:379
#31 KWin::EffectsHandlerImpl::paintScreen (this=this@entry=0x55da878bc1c0,
mask=mask@entry=0, region=..., data=...) at ./effects.cpp:373
#32 0x00007f1450469751 in KWin::Effect::paintScreen
(this=this@entry=0x7f144000acd0, mask=mask@entry=0, region=..., data=...) at
./libkwineffects/kwineffects.cpp:584
#33 0x00007f1451a7e0fd in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x55da878bc1c0, mask=mask@entry=0, region=..., data=...) at
./effects.cpp:376
#34 0x00007f1450469751 in KWin::Effect::paintScreen
(this=this@entry=0x55da878120a0, mask=mask@entry=0, region=..., data=...) at
./libkwineffects/kwineffects.cpp:584
#35 0x00007f1451a7e0fd in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x55da878bc1c0, mask=mask@entry=0, region=..., data=...) at
./effects.cpp:376
#36 0x00007f1450469751 in KWin::Effect::paintScreen
(this=this@entry=0x7f1438006010, mask=mask@entry=0, region=..., data=...) at
./libkwineffects/kwineffects.cpp:584
#37 0x00007f1451a7e0fd in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x55da878bc1c0, mask=mask@entry=0, region=..., data=...) at
./effects.cpp:376
#38 0x00007f1450469751 in KWin::Effect::paintScreen
(this=this@entry=0x7f144000a8e0, mask=mask@entry=0, region=..., data=...) at
./libkwineffects/kwineffects.cpp:584
#39 0x00007f1451a7e0fd in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x55da878bc1c0, mask=0, region=..., data=...) at
./effects.cpp:376
#40 0x00007f1451a7020e in KWin::Scene::paintScreen
(this=this@entry=0x55da878b5660, mask=mask@entry=0x7ffca6972c68, damage=...,
repaint=..., updateRegion=updateRegion@entry=0x7ffca6972c50,
validRegion=validRegion@entry=0x7ffca6972c58, projection=...,
outputGeometry=...) at ./scene.cpp:149
#41 0x00007f1444135879 in KWin::SceneOpenGL::paint
(this=this@entry=0x55da878b5660, damage=..., toplevels=...) at
./plugins/scenes/opengl/scene_opengl.h:122
#42 0x00007f1451a622aa in KWin::Compositor::performCompositing
(this=0x55da8754a5a0) at ./composite.cpp:745
#43 0x00007f14508d002b in QObject::event (this=0x55da8754a5a0, e=<optimized
out>) at kernel/qobject.cpp:1232
#44 0x00007f14512234c1 in QApplicationPrivate::notify_helper
(this=this@entry=0x55da87477680, receiver=receiver@entry=0x55da8754a5a0,
e=e@entry=0x7ffca6973090) at kernel/qapplication.cpp:3727
#45 0x00007f145122a970 in QApplication::notify (this=0x7ffca6973330,
receiver=0x55da8754a5a0, e=0x7ffca6973090) at kernel/qapplication.cpp:3486
#46 0x00007f14508a6489 in QCoreApplication::notifyInternal2
(receiver=0x55da8754a5a0, event=event@entry=0x7ffca6973090) at
../../include/QtCore/5.11.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:307
#47 0x00007f14508f6b38 in QCoreApplication::sendEvent (event=0x7ffca6973090,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#48 QTimerInfoList::activateTimers (this=this@entry=0x55da874eb910) at
kernel/qtimerinfo_unix.cpp:643
#49 0x00007f14508f412c in QEventDispatcherUNIXPrivate::activateTimers
(this=this@entry=0x55da874eb870) at kernel/qeventdispatcher_unix.cpp:249
#50 0x00007f14508f4cec in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514
#51 0x00007f1448bc469d in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#52 0x00007f14508a515b in QEventLoop::exec (this=this@entry=0x7ffca6973240,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#53 0x00007f14508ad132 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#54 0x00007f1451dca47b in kdemain (argc=<optimized out>, argv=0x7ffca69734c8)
at ./main_x11.cpp:468
#55 0x00007f1451c2309b in __libc_start_main (main=0x55da873b0050 <main>,
argc=1, argv=0x7ffca69734c8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffca69734b8) at ../csu/libc-start.c:308
#56 0x000055da873b008a in _start ()
[Inferior 1 (process 819) detached]

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

Possible duplicates by query: bug 419177, bug 418068, bug 416886, bug 416498,
bug 416472.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to