Bug 396227

Summary: KWin Seg Fault on Resume from Suspend
Product: [Plasma] kwin Reporter: Wesley Graba <wesley.graba>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR Keywords: drkonqi
Version: 5.13.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Wesley Graba 2018-07-05 22:19:53 UTC
Application: kwin_x11 (5.13.2)

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

-- Information about the crash:
- What I was doing when the application crashed:
I resumed from a suspended state. After logging into my existing session, KWin reported it had crashed. Besides the report of a crash, I did not notice any other odd behavior.

-- 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 0x7f7715ecf940 (LWP 1838))]

Thread 4 (Thread 0x7f76e0e22700 (LWP 1915)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7711bc5e04 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f7711bc5e49 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f770e9316ba in start_thread (arg=0x7f76e0e22700) at pthread_create.c:333
#4  0x00007f77158e441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f76f258e700 (LWP 1906)):
#0  0x00007f77158d8811 in __GI_ppoll (fds=fds@entry=0x7f76e8000ae8, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007f7712c93651 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=0x7f76e8000ae8) at kernel/qcore_unix.cpp:112
#3  qt_safe_poll (fds=0x7f76e8000ae8, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#4  0x00007f7712c94ce2 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f7712c3f1ca in QEventLoop::exec (this=this@entry=0x7f76f258dc50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f7712a745e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#7  0x00007f770d5cfcf5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f7712a7f727 in QThreadPrivate::start (arg=0x24fa2f0) at thread/qthread_unix.cpp:367
#9  0x00007f770e9316ba in start_thread (arg=0x7f76f258e700) at pthread_create.c:333
#10 0x00007f77158e441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f76f3fff700 (LWP 1887)):
#0  0x00007f77158d8811 in __GI_ppoll (fds=fds@entry=0x7f76ec00f408, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:50
#1  0x00007f7712c93651 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=0x7f76ec00f408) at kernel/qcore_unix.cpp:112
#3  qt_safe_poll (fds=0x7f76ec00f408, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#4  0x00007f7712c94ce2 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007f7712c3f1ca in QEventLoop::exec (this=this@entry=0x7f76f3ffec40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f7712a745e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#7  0x00007f770c4ddf35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f7712a7f727 in QThreadPrivate::start (arg=0x7f770c756d60) at thread/qthread_unix.cpp:367
#9  0x00007f770e9316ba in start_thread (arg=0x7f76f3fff700) at pthread_create.c:333
#10 0x00007f77158e441d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f7715ecf940 (LWP 1838)):
[KCrash Handler]
#6  KWin::ContrastEffect::uploadRegion (this=this@entry=0x2421030, map=@0x7ffef82e02b8: 0x7f76f0288700, region=...) at /workspace/build/effects/backgroundcontrast/contrast.cpp:281
#7  0x00007f77121cb9a4 in KWin::ContrastEffect::uploadGeometry (this=this@entry=0x2421030, vbo=vbo@entry=0x2a16ea0, region=...) at /workspace/build/effects/backgroundcontrast/contrast.cpp:299
#8  0x00007f77121ccea4 in KWin::ContrastEffect::doContrast (this=this@entry=0x2421030, w=w@entry=0x2e50b30, shape=..., screen=..., opacity=0, screenProjection=...) at /workspace/build/effects/backgroundcontrast/contrast.cpp:442
#9  0x00007f77121cd929 in KWin::ContrastEffect::drawWindow (this=this@entry=0x2421030, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects/backgroundcontrast/contrast.cpp:419
#10 0x00007f771546516e in KWin::EffectsHandlerImpl::drawWindow (this=0x2a4ef80, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects.cpp:456
#11 0x00007f771213bc8e in KWin::BlurEffect::drawWindow (this=this@entry=0x2b33370, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects/blur/blur.cpp:568
#12 0x00007f771546516e in KWin::EffectsHandlerImpl::drawWindow (this=0x2a4ef80, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects.cpp:456
#13 0x00007f771242d891 in KWin::Effect::drawWindow (this=this@entry=0x2e0c6a0, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:628
#14 0x00007f771546516e in KWin::EffectsHandlerImpl::drawWindow (this=0x2a4ef80, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects.cpp:456
#15 0x00007f7715452481 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/scene.cpp:606
#16 0x00007f771546501a in KWin::EffectsHandlerImpl::paintWindow (this=0x2a4ef80, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects.cpp:422
#17 0x00007f77121bd14a in KWin::KscreenEffect::paintWindow (this=this@entry=0x2e0c840, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects/kscreen/kscreen.cpp:126
#18 0x00007f7715464fbe in KWin::EffectsHandlerImpl::paintWindow (this=0x2a4ef80, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects.cpp:419
#19 0x00007f771242d731 in KWin::Effect::paintWindow (this=this@entry=0x2421030, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:598
#20 0x00007f7715464fbe in KWin::EffectsHandlerImpl::paintWindow (this=0x2a4ef80, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects.cpp:419
#21 0x00007f771242d731 in KWin::Effect::paintWindow (this=this@entry=0x2b33370, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:598
#22 0x00007f7715464fbe in KWin::EffectsHandlerImpl::paintWindow (this=0x2a4ef80, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects.cpp:419
#23 0x00007f7712439f09 in KWin::AnimationEffect::paintWindow (this=this@entry=0x2e0c6a0, w=w@entry=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/libkwineffects/kwinanimationeffect.cpp:644
#24 0x00007f7715464fbe in KWin::EffectsHandlerImpl::paintWindow (this=0x2a4ef80, w=0x2e50b30, mask=mask@entry=2, region=..., data=...) at /workspace/build/effects.cpp:419
#25 0x00007f7715458df7 in KWin::Scene::paintWindow (this=this@entry=0x2a229d0, w=0x2e4b770, mask=2, region=..., quads=...) at /workspace/build/scene.cpp:478
#26 0x00007f7715457b1b in KWin::Scene::paintSimpleScreen (this=this@entry=0x2a229d0, orig_mask=orig_mask@entry=0, region=...) at /workspace/build/scene.cpp:376
#27 0x00007f76f0727393 in KWin::SceneOpenGL2::paintSimpleScreen (this=this@entry=0x2a229d0, mask=mask@entry=0, region=...) at /workspace/build/plugins/scenes/opengl/scene_opengl.cpp:1053
#28 0x00007f7715458334 in KWin::Scene::finalPaintScreen (this=0x2a229d0, mask=mask@entry=0, region=..., data=...) at /workspace/build/scene.cpp:201
#29 0x00007f7715464d9f in KWin::EffectsHandlerImpl::paintScreen (this=0x2a4ef80, mask=mask@entry=0, region=..., data=...) at /workspace/build/effects.cpp:379
#30 0x00007f771242d67f in KWin::Effect::paintScreen (this=this@entry=0x2e0c840, mask=mask@entry=0, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:583
#31 0x00007f7715464d4a in KWin::EffectsHandlerImpl::paintScreen (this=0x2a4ef80, mask=mask@entry=0, region=..., data=...) at /workspace/build/effects.cpp:376
#32 0x00007f771242d67f in KWin::Effect::paintScreen (this=this@entry=0x2421030, mask=mask@entry=0, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:583
#33 0x00007f7715464d4a in KWin::EffectsHandlerImpl::paintScreen (this=0x2a4ef80, mask=mask@entry=0, region=..., data=...) at /workspace/build/effects.cpp:376
#34 0x00007f771242d67f in KWin::Effect::paintScreen (this=this@entry=0x2b33370, mask=mask@entry=0, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:583
#35 0x00007f7715464d4a in KWin::EffectsHandlerImpl::paintScreen (this=0x2a4ef80, mask=mask@entry=0, region=..., data=...) at /workspace/build/effects.cpp:376
#36 0x00007f771242d67f in KWin::Effect::paintScreen (this=this@entry=0x2e0c6a0, mask=mask@entry=0, region=..., data=...) at /workspace/build/libkwineffects/kwineffects.cpp:583
#37 0x00007f7715464d4a in KWin::EffectsHandlerImpl::paintScreen (this=0x2a4ef80, mask=0, region=..., data=...) at /workspace/build/effects.cpp:376
#38 0x00007f7715457fbe in KWin::Scene::paintScreen (this=this@entry=0x2a229d0, mask=mask@entry=0x7ffef82e1370, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffef82e1340, validRegion=validRegion@entry=0x7ffef82e1350, projection=..., outputGeometry=...) at /workspace/build/scene.cpp:151
#39 0x00007f76f072d4af in KWin::SceneOpenGL::paint (this=0x2a229d0, damage=..., toplevels=...) at /workspace/build/plugins/scenes/opengl/scene_opengl.cpp:702
#40 0x00007f77154498ee in KWin::Compositor::performCompositing (this=0x2404f80) at /workspace/build/composite.cpp:745
#41 0x00007f7712c6eb83 in QObject::event (this=0x2404f80, e=<optimized out>) at kernel/qobject.cpp:1273
#42 0x00007f7713a0a29c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x2404f80, e=0x7ffef82e17b0) at kernel/qapplication.cpp:3713
#43 0x00007f7713a11917 in QApplication::notify (this=0x7ffef82e1aa0, receiver=0x2404f80, e=0x7ffef82e17b0) at kernel/qapplication.cpp:3472
#44 0x00007f7712c40e38 in QCoreApplication::notifyInternal2 (receiver=0x2404f80, event=event@entry=0x7ffef82e17b0) at kernel/qcoreapplication.cpp:1048
#45 0x00007f7712c96fae in QCoreApplication::sendEvent (event=0x7ffef82e17b0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#46 QTimerInfoList::activateTimers (this=this@entry=0x23ed880) at kernel/qtimerinfo_unix.cpp:643
#47 0x00007f7712c941ec in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x23ed7e0) at kernel/qeventdispatcher_unix.cpp:249
#48 0x00007f7712c94f52 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=..., flags@entry=...) at kernel/qeventdispatcher_unix.cpp:514
#49 0x00007f76fbb78f1d in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#50 0x00007f7712c3f1ca in QEventLoop::exec (this=this@entry=0x7ffef82e1980, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#51 0x00007f7712c482d4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#52 0x00007f77131fb81c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1751
#53 0x00007f7713a0a1f5 in QApplication::exec () at kernel/qapplication.cpp:2898
#54 0x00007f7715bb01f9 in kdemain (argc=1, argv=0x7ffef82e1c38) at /workspace/build/main_x11.cpp:468
#55 0x00007f77157fd830 in __libc_start_main (main=0x4006b0 <main(int, char**)>, argc=3, argv=0x7ffef82e1c38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffef82e1c28) at ../csu/libc-start.c:291
#56 0x00000000004006e9 in _start ()

Possible duplicates by query: bug 373248, bug 372305.

Reported using DrKonqi
Comment 1 David Edmundson 2018-07-06 00:28:03 UTC

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