Bug 419177 - Kwin crashes when pressin "win" key
Summary: Kwin crashes when pressin "win" key
Status: RESOLVED DUPLICATE of bug 372305
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.18.3
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-03-24 10:45 UTC by ElXreno
Modified: 2022-04-11 09:49 UTC (History)
1 user (show)

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 ElXreno 2020-03-24 10:45:34 UTC
Application: kwin_x11 (5.18.3)
 (Compiled from sources)
Qt Version: 5.13.2
Frameworks Version: 5.67.0
Operating System: Linux 5.6.0-0.rc7.git0.2.fc32.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 32 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:
Just press win key or try to open applications menu manualy.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9ab497bdc0 (LWP 1360))]

Thread 5 (Thread 0x7f9a971fe700 (LWP 1599)):
#0  0x00007f9ab95b7ea2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9ab9aa6d1c in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQt5Script.so.5
#2  0x00007f9ab9aa6d4f in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQt5Script.so.5
#3  0x00007f9ab95b1432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9abb5f0833 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f9a97fff700 (LWP 1525)):
#0  0x00007f9abb5e5ace in ppoll () from /lib64/libc.so.6
#1  0x00007f9aba16a1f9 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f9a90000d68) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f9a90000d68) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7f9a90000d68, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007f9aba16b5c1 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f9aba12158b in QEventLoop::exec (this=this@entry=0x7f9a97ffec80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f9ab9f96597 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f9ab8d37d89 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#9  0x00007f9ab9f97866 in QThreadPrivate::start (arg=0x55933d1f3540) at thread/qthread_unix.cpp:360
#10 0x00007f9ab95b1432 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f9abb5f0833 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f9aa6a1b700 (LWP 1445)):
#0  0x00007f9abb5e5ace in ppoll () from /lib64/libc.so.6
#1  0x00007f9aba16a1f9 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/bits/poll2.h:77
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f9a9800f688) at kernel/qcore_unix.cpp:132
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f9a9800f688) at kernel/qcore_unix.cpp:129
#4  qt_safe_poll (fds=0x7f9a9800f688, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153
#5  0x00007f9aba16b5c1 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211
#6  0x00007f9aba12158b in QEventLoop::exec (this=this@entry=0x7f9aa6a1ac50, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f9ab9f96597 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f9abb0614da in QDBusConnectionManager::run (this=0x7f9abb0cf060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#9  0x00007f9ab9f97866 in QThreadPrivate::start (arg=0x7f9abb0cf060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:360
#10 0x00007f9ab95b1432 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f9abb5f0833 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9aa7706700 (LWP 1437)):
#0  0x00007f9abb5e59cf in poll () from /lib64/libc.so.6
#1  0x00007f9ab9eba38a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f9ab9ebc71a in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f9aa786cd58 in QXcbEventQueue::run (this=0x55933cfbc470) at qxcbeventqueue.cpp:228
#4  0x00007f9ab9f97866 in QThreadPrivate::start (arg=0x55933cfbc470) at thread/qthread_unix.cpp:360
#5  0x00007f9ab95b1432 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f9abb5f0833 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9ab497bdc0 (LWP 1360)):
[KCrash Handler]
#6  0x00007f9ab9c721e9 in KWin::ContrastEffect::uploadRegion (this=this@entry=0x55933d1d3570, map=@0x7ffe4afdc3d8: 0x7f9a94092910, region=...) at /usr/include/qt5/QtCore/qrect.h:269
#7  0x00007f9ab9c722a9 in KWin::ContrastEffect::uploadGeometry (this=this@entry=0x55933d1d3570, vbo=vbo@entry=0x55933d3d8e10, region=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/effects/backgroundcontrast/contrast.cpp:342
#8  0x00007f9ab9c73f3a in KWin::ContrastEffect::doContrast (this=this@entry=0x55933d1d3570, w=<optimized out>, w@entry=0x55933d06b6e0, shape=..., screen=..., opacity=1, screenProjection=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/effects/backgroundcontrast/contrast.cpp:485
#9  0x00007f9ab9c74811 in KWin::ContrastEffect::drawWindow (this=0x55933d1d3570, w=<optimized out>, mask=2, region=..., data=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/effects/backgroundcontrast/contrast.cpp:461
#10 0x00007f9abb2f94a6 in KWin::EffectsHandlerImpl::drawWindow (this=0x55933d4038e0, w=0x55933d06b6e0, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/effects.cpp:485
#11 0x00007f9ab9be5cd5 in KWin::BlurEffect::drawWindow (this=0x55933d13c580, w=<optimized out>, mask=2, region=..., data=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/effects/blur/blur.cpp:615
#12 0x00007f9abb2f94a6 in KWin::EffectsHandlerImpl::drawWindow (this=0x55933d4038e0, w=0x55933d06b6e0, mask=<optimized out>, region=..., data=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/effects.cpp:485
#13 0x00007f9abb2f9370 in KWin::EffectsHandlerImpl::paintWindow (this=<optimized out>, w=0x55933d06b6e0, mask=2, region=..., data=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/effects.cpp:451
#14 0x00007f9abb2f9317 in KWin::EffectsHandlerImpl::paintWindow (this=0x55933d4038e0, w=0x55933d06b6e0, mask=2, region=..., data=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/effects.cpp:448
#15 0x00007f9abb2f9317 in KWin::EffectsHandlerImpl::paintWindow (this=this@entry=0x55933d4038e0, w=0x55933d06b6e0, mask=mask@entry=2, region=..., data=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/effects.cpp:448
#16 0x00007f9abb36a073 in KWin::Scene::paintWindow (this=this@entry=0x7f9aa0002970, w=0x55933d54cd10, mask=2, region=..., quads=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/scene.cpp:478
#17 0x00007f9abb366ead in KWin::Scene::paintSimpleScreen (this=this@entry=0x7f9aa0002970, orig_mask=orig_mask@entry=0, region=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/libkwineffects/kwineffects.h:2581
#18 0x00007f9aa40da657 in KWin::SceneOpenGL2::paintSimpleScreen (this=this@entry=0x7f9aa0002970, mask=mask@entry=0, region=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/plugins/scenes/opengl/scene_opengl.cpp:1007
#19 0x00007f9abb3694f0 in KWin::Scene::finalPaintScreen (this=this@entry=0x7f9aa0002970, mask=mask@entry=0, region=..., data=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/scene.cpp:199
#20 0x00007f9abb2f912f in KWin::EffectsHandlerImpl::paintScreen (this=<optimized out>, mask=0, region=..., data=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/effects.cpp:408
#21 0x00007f9abb2f90e0 in KWin::EffectsHandlerImpl::paintScreen (this=0x55933d4038e0, mask=0, region=..., data=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/effects.cpp:405
#22 0x00007f9abb2f90e0 in KWin::EffectsHandlerImpl::paintScreen (this=0x55933d4038e0, mask=0, region=..., data=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/effects.cpp:405
#23 0x00007f9abb3691d7 in KWin::Scene::paintScreen (this=this@entry=0x7f9aa0002970, mask=mask@entry=0x7ffe4afdcea8, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffe4afdce90, validRegion=validRegion@entry=0x7ffe4afdce98, projection=..., outputGeometry=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/scene.cpp:149
#24 0x00007f9aa40e04df in KWin::SceneOpenGL::paint (this=this@entry=0x7f9aa0002970, damage=..., toplevels=...) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/plugins/scenes/opengl/scene_opengl.h:122
#25 0x00007f9abb2cb1a1 in KWin::Compositor::performCompositing (this=0x7f9a980121a0) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/composite.cpp:693
#26 0x00007f9aba14968f in QObject::event (this=0x7f9a980121a0, e=<optimized out>) at kernel/qobject.cpp:1241
#27 0x00007f9abaa2be76 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7f9a980121a0, e=0x7ffe4afdd140) at kernel/qapplication.cpp:3703
#28 0x00007f9aba122c10 in QCoreApplication::notifyInternal2 (receiver=0x7f9a980121a0, event=0x7ffe4afdd140) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:143
#29 0x00007f9aba16d293 in QTimerInfoList::activateTimers (this=this@entry=0x55933d054850) at kernel/qtimerinfo_unix.cpp:643
#30 0x00007f9aba16a640 in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x55933d0547b0) at kernel/qeventdispatcher_unix.cpp:249
#31 0x00007f9aba16b6ef in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514
#32 0x00007f9aa786e162 in QXcbUnixEventDispatcher::processEvents (this=0x55933d026940, flags=...) at qxcbeventdispatcher.cpp:60
#33 0x00007f9aba12158b in QEventLoop::exec (this=this@entry=0x7ffe4afdd2c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#34 0x00007f9aba129166 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#35 0x00007f9abb6c2912 in kdemain (argc=<optimized out>, argv=0x7ffe4afdd558) at /usr/src/debug/kwin-5.18.3-1.fc32.x86_64/main_x11.cpp:483
#36 0x00007f9abb516042 in __libc_start_main () from /lib64/libc.so.6
#37 0x000055933ba8a0ae in _start ()
[Inferior 1 (process 1360) detached]

Possible duplicates by query: bug 418068, bug 416498, bug 416472, bug 412911, bug 411409.

Reported using DrKonqi
Comment 1 David Edmundson 2020-03-24 10:55:39 UTC
Please can I have output of

qdbus org.kde.KWin /KWin supportInformation
Comment 2 ElXreno 2020-03-24 17:21:56 UTC
No problem (sorry, there is russian language).
Output: https://pastebin.com/1qeKGAx1
Comment 3 Christoph Feck 2020-04-15 11:30:34 UTC
Duplicate of bug 372305, but pasting attachment from comment 2 inline in case it is needed to investigate.

Version
=======
KWin version: 5.18.3
Qt Version: 5.13.2
Qt compile version: 5.13.2
XCB compile version: 1.13.1

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_EGL_STREAMS: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: Fedora Project
Vendor Release: 12007000
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Plugin recommends border size: None
Blur: 0
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0,Regular
smallSpacing: 2
largeSpacing: 10

Platform
==========
Name: KWin::X11StandalonePlatform

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 28
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 28
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 28
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 1
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 0
glPlatformInterface: 1
windowsBlockCompositing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1

Screen 0:
---------
Name: VGA-0
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 630/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 440.64
OpenGL platform interface: GLX
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 440.64
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
Linux kernel version: 5.6
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
kwin4_effect_squash
kwin4_effect_translucency
kwin4_effect_dialogparent
kwin4_effect_fadingpopups
kwin4_effect_sessionquit
kwin4_effect_windowaperture
kwin4_effect_logout
kwin4_effect_fade
kwin4_effect_login
kwin4_effect_maximize
kwin4_effect_morphingpopups
kwin4_effect_frozenapp
zoom
slidingpopups
slide
screenshot
desktopgrid
colorpicker
presentwindows
highlightwindow
blur
contrast
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
kwin4_effect_squash:
isActiveFullScreenEffect: false

kwin4_effect_translucency:
isActiveFullScreenEffect: false

kwin4_effect_dialogparent:
isActiveFullScreenEffect: false

kwin4_effect_fadingpopups:
isActiveFullScreenEffect: false

kwin4_effect_sessionquit:
isActiveFullScreenEffect: false

kwin4_effect_windowaperture:
isActiveFullScreenEffect: false

kwin4_effect_logout:
isActiveFullScreenEffect: false

kwin4_effect_fade:
isActiveFullScreenEffect: false

kwin4_effect_login:
isActiveFullScreenEffect: false

kwin4_effect_maximize:
isActiveFullScreenEffect: false

kwin4_effect_morphingpopups:
isActiveFullScreenEffect: false

kwin4_effect_frozenapp:
isActiveFullScreenEffect: false

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
enableFocusTracking: false
followFocus: true
focusDelay: 350
moveFactor: 20
targetZoom: 1

slidingpopups:
slideInDuration: 150
slideOutDuration: 250

slide:
duration: 500
horizontalGap: 45
verticalGap: 20
slideDocks: false
slideBackground: true

screenshot:

desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

colorpicker:

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

highlightwindow:

blur:

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 4 David Edmundson 2022-04-11 09:49:01 UTC

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