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

            Bug ID: 416472
           Summary: KWIN crashed when resuming from sleep; Sending back to
                    sleep and awakening again it started but displays odd
                    behavior.
           Product: kwin
           Version: 5.17.5
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: michaelsbarr...@gmail.com
  Target Milestone: ---

Application: kwin_x11 (5.17.5)

Qt Version: 5.13.2
Frameworks Version: 5.66.0
Operating System: Linux 5.3.0-26-generic x86_64
Distribution: KDE neon User Edition 5.17

-- Information about the crash:
- What I was doing when the application crashed: Waking from sleep mode.

- Unusual behavior I noticed: Initially I had one monitor showing only black,
second monitor was mostly black, with a couple of display artifacts showing
parts of two application windows. I put the machine back to slep by pressing
the power button and re-awakened it, also using the power button. Now the
display is mostly there, the application launcher displays only a blank window,
and any windows that were already open will only take up half of the vertical
monitor space when maximized. I have not yet rebooted, will do so next. Using
KDE Neon with the NVIDIA 430.64 drivers from the repository.

-- 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 0x7f56bcb2fd00 (LWP 5515))]

Thread 7 (Thread 0x7f56860e5700 (LWP 6833)):
#0  0x00007f56b53d79f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55b4df73ba80) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55b4df73ba30,
cond=0x55b4df73ba58) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55b4df73ba58, mutex=0x55b4df73ba30) at
pthread_cond_wait.c:655
#3  0x00007f56b9788aeb in QWaitConditionPrivate::wait (deadline=...,
this=0x55b4df73ba30) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55b4df76cac0,
deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f56b9788df9 in QWaitCondition::wait (this=0x55b4df76cac8,
mutex=0x55b4df76cac0, time=<optimized out>) at
thread/qwaitcondition_unix.cpp:208
#6  0x00007f56b4561ec8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f56b45622fa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f56b9781b52 in QThreadPrivate::start (arg=0x55b4df76ca40) at
thread/qthread_unix.cpp:360
#9  0x00007f56b53d16db in start_thread (arg=0x7f56860e5700) at
pthread_create.c:463
#10 0x00007f56bc48f88f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f569b5ef700 (LWP 6311)):
#0  0x00007ffe6f4d099a in clock_gettime ()
#1  0x00007f56bc49eea6 in __GI___clock_gettime (clock_id=clock_id@entry=1,
tp=tp@entry=0x7f569b5eeb70) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f56b99c44a1 in qt_clock_gettime (ts=0x7f569b5eeb70, clock=<optimized
out>) at kernel/qelapsedtimer_unix.cpp:111
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f56b99c2cd9 in QTimerInfoList::updateCurrentTime
(this=this@entry=0x7f5690050c30) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f56b99c32b5 in QTimerInfoList::timerWait
(this=this@entry=0x7f5690050c30, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f56b99c23c4 in QEventDispatcherUNIX::processEvents
(this=0x7f569000e0d0, flags=...) at kernel/qeventdispatcher_unix.cpp:485
#8  0x00007f56b996506a in QEventLoop::exec (this=this@entry=0x7f569b5eed20,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#9  0x00007f56b97803aa in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:531
#10 0x00007f56b9781b52 in QThreadPrivate::start (arg=0x55b4df33e7d0) at
thread/qthread_unix.cpp:360
#11 0x00007f56b53d16db in start_thread (arg=0x7f569b5ef700) at
pthread_create.c:463
#12 0x00007f56bc48f88f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f55f0aad700 (LWP 6085)):
#0  0x00007f56b53d79f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x55b4df61c7d0) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55b4df61c780,
cond=0x55b4df61c7a8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55b4df61c7a8, mutex=0x55b4df61c780) at
pthread_cond_wait.c:655
#3  0x00007f56b9788aeb in QWaitConditionPrivate::wait (deadline=...,
this=0x55b4df61c780) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55b4df617580,
deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f56b9788df9 in QWaitCondition::wait (this=0x55b4df617588,
mutex=0x55b4df617580, time=<optimized out>) at
thread/qwaitcondition_unix.cpp:208
#6  0x00007f56b4561ec8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f56b45622fa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f56b9781b52 in QThreadPrivate::start (arg=0x55b4df617500) at
thread/qthread_unix.cpp:360
#9  0x00007f56b53d16db in start_thread (arg=0x7f55f0aad700) at
pthread_create.c:463
#10 0x00007f56bc48f88f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f5699b84700 (LWP 5802)):
#0  0x00007f56b53d79f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x7f56b8bd1fb8) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f56b8bd1f68,
cond=0x7f56b8bd1f90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f56b8bd1f90, mutex=0x7f56b8bd1f68) at
pthread_cond_wait.c:655
#3  0x00007f56b88dc874 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f56b88dc8b9 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f56b53d16db in start_thread (arg=0x7f5699b84700) at
pthread_create.c:463
#6  0x00007f56bc48f88f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f569adee700 (LWP 5595)):
#0  0x00007ffe6f4d099a in clock_gettime ()
#1  0x00007f56bc49eea6 in __GI___clock_gettime (clock_id=clock_id@entry=1,
tp=tp@entry=0x7f569adedb50) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f56b99c44a1 in qt_clock_gettime (ts=0x7f569adedb50, clock=<optimized
out>) at kernel/qelapsedtimer_unix.cpp:111
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at
kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f56b99c2cd9 in QTimerInfoList::updateCurrentTime
(this=this@entry=0x7f5688000be0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f56b99c32b5 in QTimerInfoList::timerWait
(this=this@entry=0x7f5688000be0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f56b99c23c4 in QEventDispatcherUNIX::processEvents
(this=0x7f5688000b20, flags=...) at kernel/qeventdispatcher_unix.cpp:485
#8  0x00007f56b996506a in QEventLoop::exec (this=this@entry=0x7f569adedd00,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#9  0x00007f56b97803aa in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:531
#10 0x00007f56b3ddd815 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007f56b9781b52 in QThreadPrivate::start (arg=0x55b4df1321d0) at
thread/qthread_unix.cpp:360
#12 0x00007f56b53d16db in start_thread (arg=0x7f569adee700) at
pthread_create.c:463
#13 0x00007f56bc48f88f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f56a1aa5700 (LWP 5555)):
#0  0x00007f56bc482cf6 in __GI_ppoll (fds=fds@entry=0x7f569400b9e8,
nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f56b99c08a1 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=0x7f569400b9e8) at
kernel/qcore_unix.cpp:132
#3  qt_safe_poll (fds=0x7f569400b9e8, nfds=1, timeout_ts=timeout_ts@entry=0x0)
at kernel/qcore_unix.cpp:153
#4  0x00007f56b99c2038 in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f56b996506a in QEventLoop::exec (this=this@entry=0x7f56a1aa4cf0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f56b97803aa in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:531
#7  0x00007f56b29a80e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f56b9781b52 in QThreadPrivate::start (arg=0x7f56b2c1fd80) at
thread/qthread_unix.cpp:360
#9  0x00007f56b53d16db in start_thread (arg=0x7f56a1aa5700) at
pthread_create.c:463
#10 0x00007f56bc48f88f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f56bcb2fd00 (LWP 5515)):
[KCrash Handler]
#6  KWin::ContrastEffect::uploadRegion (this=this@entry=0x55b4df5cdba0,
map=@0x7ffe6f484cb8: 0x7f569845ffa0, region=...) at
./effects/backgroundcontrast/contrast.cpp:325
#7  0x00007f56b8ca5844 in KWin::ContrastEffect::uploadGeometry
(this=this@entry=0x55b4df5cdba0, vbo=vbo@entry=0x55b4df3d5ce0, region=...) at
./effects/backgroundcontrast/contrast.cpp:343
#8  0x00007f56b8ca75fd in KWin::ContrastEffect::doContrast
(this=this@entry=0x55b4df5cdba0, w=w@entry=0x55b4df0fa280, shape=...,
screen=..., opacity=0, screenProjection=...) at
./effects/backgroundcontrast/contrast.cpp:486
#9  0x00007f56b8ca7f4e in KWin::ContrastEffect::drawWindow
(this=this@entry=0x55b4df5cdba0, w=w@entry=0x55b4df0fa280, mask=mask@entry=2,
region=..., data=...) at ./effects/backgroundcontrast/contrast.cpp:462
#10 0x00007f56bbf4b9de in KWin::EffectsHandlerImpl::drawWindow
(this=this@entry=0x55b4df657390, w=w@entry=0x55b4df0fa280, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:473
#11 0x00007f56b8c0ef0a in KWin::BlurEffect::drawWindow
(this=this@entry=0x55b4df3f53f0, w=w@entry=0x55b4df0fa280, mask=mask@entry=2,
region=..., data=...) at ./effects/blur/blur.cpp:616
#12 0x00007f56bbf4b9de in KWin::EffectsHandlerImpl::drawWindow
(this=this@entry=0x55b4df657390, w=w@entry=0x55b4df0fa280, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:473
#13 0x00007f56bbfe9750 in KWin::Scene::finalPaintWindow
(this=this@entry=0x55b4df6b2240, w=w@entry=0x55b4df0fa280, mask=mask@entry=2,
region=..., data=...) at ./scene.cpp:612
#14 0x00007f56bbf4b86d in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x55b4df657390, w=w@entry=0x55b4df0fa280, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:439
#15 0x00007f56b8c998ea in KWin::KscreenEffect::paintWindow
(this=this@entry=0x55b4df43fd90, w=w@entry=0x55b4df0fa280, mask=mask@entry=2,
region=..., data=...) at ./effects/kscreen/kscreen.cpp:127
#16 0x00007f56bbf4b80e in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x55b4df657390, w=w@entry=0x55b4df0fa280, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:436
#17 0x00007f56b8f0f0b0 in KWin::Effect::paintWindow
(this=this@entry=0x55b4df5cdba0, w=w@entry=0x55b4df0fa280, mask=mask@entry=2,
region=..., data=...) at ./libkwineffects/kwineffects.cpp:585
#18 0x00007f56bbf4b80e in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x55b4df657390, w=w@entry=0x55b4df0fa280, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:436
#19 0x00007f56b8f0f0b0 in KWin::Effect::paintWindow
(this=this@entry=0x55b4df3f53f0, w=w@entry=0x55b4df0fa280, mask=mask@entry=2,
region=..., data=...) at ./libkwineffects/kwineffects.cpp:585
#20 0x00007f56bbf4b80e in KWin::EffectsHandlerImpl::paintWindow
(this=this@entry=0x55b4df657390, w=0x55b4df0fa280, mask=mask@entry=2,
region=..., data=...) at ./effects.cpp:436
#21 0x00007f56bbfefb25 in KWin::Scene::paintWindow
(this=this@entry=0x55b4df6b2240, w=0x55b4df0fa2d0, mask=2, region=...,
quads=...) at ./scene.cpp:484
#22 0x00007f56bbfebd34 in KWin::Scene::paintSimpleScreen
(this=this@entry=0x55b4df6b2240, orig_mask=orig_mask@entry=0, region=...) at
./scene.cpp:374
#23 0x00007f5699b988a2 in KWin::SceneOpenGL2::paintSimpleScreen
(this=this@entry=0x55b4df6b2240, mask=mask@entry=0, region=...) at
./plugins/scenes/opengl/scene_opengl.cpp:1015
#24 0x00007f56bbfef007 in KWin::Scene::finalPaintScreen
(this=this@entry=0x55b4df6b2240, mask=mask@entry=0, region=..., data=...) at
./scene.cpp:199
#25 0x00007f56bbf4b5c5 in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x55b4df657390, mask=mask@entry=0, region=..., data=...) at
./effects.cpp:396
#26 0x00007f56b8f0f001 in KWin::Effect::paintScreen
(this=this@entry=0x55b4df43fd90, mask=mask@entry=0, region=..., data=...) at
./libkwineffects/kwineffects.cpp:570
#27 0x00007f56bbf4b56d in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x55b4df657390, mask=mask@entry=0, region=..., data=...) at
./effects.cpp:393
#28 0x00007f56b8f0f001 in KWin::Effect::paintScreen
(this=this@entry=0x55b4df5cdba0, mask=mask@entry=0, region=..., data=...) at
./libkwineffects/kwineffects.cpp:570
#29 0x00007f56bbf4b56d in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x55b4df657390, mask=mask@entry=0, region=..., data=...) at
./effects.cpp:393
#30 0x00007f56b8f0f001 in KWin::Effect::paintScreen
(this=this@entry=0x55b4df3f53f0, mask=mask@entry=0, region=..., data=...) at
./libkwineffects/kwineffects.cpp:570
#31 0x00007f56bbf4b56d in KWin::EffectsHandlerImpl::paintScreen
(this=this@entry=0x55b4df657390, mask=0, region=..., data=...) at
./effects.cpp:393
#32 0x00007f56bbfeecfe in KWin::Scene::paintScreen
(this=this@entry=0x55b4df6b2240, mask=mask@entry=0x7ffe6f485a70, damage=...,
repaint=..., updateRegion=updateRegion@entry=0x7ffe6f485a58,
validRegion=validRegion@entry=0x7ffe6f485a60, projection=...,
outputGeometry=...) at ./scene.cpp:149
#33 0x00007f5699b9fa71 in KWin::SceneOpenGL::paint
(this=this@entry=0x55b4df6b2240, damage=..., toplevels=...) at
./plugins/scenes/opengl/scene_opengl.cpp:707
#34 0x00007f56bbf18466 in KWin::Compositor::performCompositing
(this=0x55b4df050ee0) at ./composite.cpp:692
#35 0x00007f56b99983eb in QObject::event (this=0x55b4df050ee0, e=<optimized
out>) at kernel/qobject.cpp:1282
#36 0x00007f56ba76beac in QApplicationPrivate::notify_helper
(this=this@entry=0x55b4def6b550, receiver=receiver@entry=0x55b4df050ee0,
e=e@entry=0x7ffe6f485f10) at kernel/qapplication.cpp:3703
#37 0x00007f56ba7734b0 in QApplication::notify (this=0x7ffe6f4861c0,
receiver=0x55b4df050ee0, e=0x7ffe6f485f10) at kernel/qapplication.cpp:3449
#38 0x00007f56b9966f08 in QCoreApplication::notifyInternal2
(receiver=0x55b4df050ee0, event=0x7ffe6f485f10) at
kernel/qcoreapplication.cpp:1095
#39 0x00007f56b99c4009 in QTimerInfoList::activateTimers
(this=this@entry=0x55b4defbb090) at kernel/qtimerinfo_unix.cpp:643
#40 0x00007f56b99c143c in QEventDispatcherUNIXPrivate::activateTimers
(this=this@entry=0x55b4defbaff0) at kernel/qeventdispatcher_unix.cpp:249
#41 0x00007f56b99c233a in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514
#42 0x00007f56a52b415e in QXcbUnixEventDispatcher::processEvents
(this=0x55b4defbb450, flags=...) at qxcbeventdispatcher.cpp:60
#43 0x00007f56b996506a in QEventLoop::exec (this=this@entry=0x7ffe6f4860d0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#44 0x00007f56b996e3e0 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1403
#45 0x00007f56bc767d05 in kdemain (argc=<optimized out>, argv=0x7ffe6f486368)
at ./main_x11.cpp:474
#46 0x00007f56bc38fb97 in __libc_start_main (main=0x55b4dd43e720 <main>,
argc=3, argv=0x7ffe6f486368, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffe6f486358) at ../csu/libc-start.c:310
#47 0x000055b4dd43e75a in _start ()

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

Possible duplicates by query: bug 412911, bug 411409, bug 409900, bug 409733,
bug 403863.

Reported using DrKonqi

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

Reply via email to