Bug 404653 - Kwin Crash
Summary: Kwin Crash
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.14.5
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-02-21 18:15 UTC by Bruno Aon
Modified: 2019-03-31 09:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Aon 2019-02-21 18:15:36 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:

I was hitting Send/Receive button on Evolution to check for some email right after changing swapping virtual desktops, than kwin crashed all of a sudden.

-- 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 0x7f4133223940 (LWP 1963))]

Thread 6 (Thread 0x7f41177fe700 (LWP 31277)):
#0  0x00007f413cf8ec46 in __GI_ppoll (fds=0x7f4108001a38, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f413bb98151 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f413bb995c9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f413bb4914b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f413b998106 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f413a1b5375 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f413b9a1cd7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f413a98dfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f413cf9980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f4116ffd700 (LWP 2212)):
#0  0x00007f413a993fbc in futex_wait_cancelable (private=0, expected=0, futex_word=0x7f413b58dfb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f413a993fbc in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f413b58df68, cond=0x7f413b58df90) at pthread_cond_wait.c:502
#2  0x00007f413a993fbc in __pthread_cond_wait (cond=0x7f413b58df90, mutex=0x7f413b58df68) at pthread_cond_wait.c:655
#3  0x00007f413b496e4a in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f413b496e69 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f413a98dfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f413cf9980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f4117fff700 (LWP 2157)):
#0  0x00007f413a993fbc in futex_wait_cancelable (private=0, expected=0, futex_word=0x5597d98e7028) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f413a993fbc in __pthread_cond_wait_common (abstime=0x0, mutex=0x5597d98e6fd8, cond=0x5597d98e7000) at pthread_cond_wait.c:502
#2  0x00007f413a993fbc in __pthread_cond_wait (cond=0x5597d98e7000, mutex=0x5597d98e6fd8) at pthread_cond_wait.c:655
#3  0x00007f4128ceea32 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f4128cee5f7 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f413a98dfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f413cf9980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f412b5f7700 (LWP 2148)):
#0  0x00007f413cf8ec46 in __GI_ppoll (fds=0x7f4118000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f413bb98151 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f413bb995c9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f413bb4914b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f413b998106 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f413a1b5375 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f413b9a1cd7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f413a98dfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f413cf9980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f4131864700 (LWP 2015)):
#0  0x00007f413cf8ec46 in __GI_ppoll (fds=0x7f412400ea68, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f413bb98151 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f413bb995c9 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f413bb4914b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f413b998106 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f4139c7e545 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f413b9a1cd7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f413a98dfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f413cf9980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f4133223940 (LWP 1963)):
[KCrash Handler]
#6  0x00005597daca06b0 in  ()
#7  0x00007f413b6412a2 in  () at /usr/lib/x86_64-linux-gnu/libkwin4_effect_builtins.so.1
#8  0x00007f413bb73820 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f413b720a12 in KWin::EffectsHandler::windowActivated(KWin::EffectWindow*) () at /usr/lib/x86_64-linux-gnu/libkwineffects.so.11
#10 0x00007f413bb73820 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f413cdd5ea2 in KWin::Workspace::clientActivated(KWin::AbstractClient*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#12 0x00007f413ccd1779 in KWin::Workspace::setActiveClient(KWin::AbstractClient*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f413cc55198 in KWin::AbstractClient::setActive(bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#14 0x00007f413ccb6264 in KWin::Client::focusInEvent(xcb_focus_in_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#15 0x00007f413ccb7983 in KWin::Client::windowEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#16 0x00007f413ccb866a in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#17 0x00007f413bb47fcf in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f4132dbfcb0 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#19 0x00007f4132dc0843 in QXcbConnection::processXcbEvents() () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#20 0x00007f413bb73f82 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f413c4c2491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f413c4c9ad0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f413bb4a479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f413bb4d46b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f413bb9943b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f4132e51afd in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#27 0x00007f413bb4914b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f413bb512c2 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f413d06b47b in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#30 0x00007f413cec409b in __libc_start_main (main=0x5597d8382050, argc=1, argv=0x7fffcefad828, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffcefad818) at ../csu/libc-start.c:308
#31 0x00005597d838208a in _start ()
[Inferior 1 (process 1963) detached]

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-02-21 18:26:47 UTC
Do you use the dim inactive effect?
Comment 2 Vlad Zahorodnii 2019-02-22 08:44:36 UTC
Please post output of qdbus org.kde.KWin /KWin supportInformation
Comment 3 Bruno Aon 2019-02-25 12:42:44 UTC
(In reply to Vlad Zagorodniy from comment #1)
> Do you use the dim inactive effect?

Yes.
Comment 4 Bruno Aon 2019-02-25 12:43:36 UTC
(In reply to Vlad Zagorodniy from comment #2)
> Please post output of qdbus org.kde.KWin /KWin supportInformation

Version
=======
KWin version: 5.14.5
Qt Version: 5.11.3
Qt compile version: 5.11.3
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_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12003000
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: 
Blur: 0
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
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: 1
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 750
delayFocusInterval: 300
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: true
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: true
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
glSmoothScale: 2
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: true
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 101
glPlatformInterface: 1
windowsBlockCompositing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: true
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: 2

Screen 0:
---------
Name: HDMI-1
Geometry: 0,0,1600x900
Scale: 1
Refresh Rate: 60

Screen 1:
---------
Name: VGA-1
Geometry: 1600,0,1600x900
Scale: 1
Refresh Rate: 60


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Desktop 
OpenGL version string: 4.2 (Core Profile) Mesa 18.3.2
OpenGL platform interface: GLX
OpenGL shading language version string: 4.20
Driver: Intel
GPU class: IvyBridge
OpenGL version: 4.2
GLSL version: 4.20
Mesa version: 18.3.2
X server version: 1.20.3
Linux kernel version: 4.19
Direct rendering: Requires strict binding: yes
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
zoom
kwin4_effect_login
kwin4_effect_logout
kwin4_effect_morphingpopups
kwin4_effect_translucency
kwin4_effect_windowaperture
kwin4_effect_fade
dimscreen
kwin4_effect_dialogparent
kwin4_effect_maximize
kwin4_effect_frozenapp
slidingpopups
slide
screenshot
magiclamp
diminactive
desktopgrid
colorpicker
presentwindows
highlightwindow
blur
contrast
windowgeometry
startupfeedback
screenedge
kscreen

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

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

kwin4_effect_login:

kwin4_effect_logout:

kwin4_effect_morphingpopups:

kwin4_effect_translucency:

kwin4_effect_windowaperture:

kwin4_effect_fade:

dimscreen:

kwin4_effect_dialogparent:

kwin4_effect_maximize:

kwin4_effect_frozenapp:

slidingpopups:
slideInDuration: 300
slideOutDuration: 500

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

screenshot:

magiclamp:

diminactive:
dimStrength: 25
dimPanels: false
dimDesktop: false
dimKeepAbove: false
dimByGroup: true

desktopgrid:
zoomDuration: 600
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: 300
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

highlightwindow:

blur:

contrast:

windowgeometry:
handlesMoves: true
handlesResizes: true

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 5 Vlad Zahorodnii 2019-02-25 12:46:32 UTC
Okay, if you're able to reproduce the crash, could you please install kwin debug packages and submit a new backtrace (with debug symbols)?
Comment 6 Bug Janitor Service 2019-03-12 04:33:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bruno Aon 2019-03-12 11:48:16 UTC
I cannot replicate it any more. It seems to be resolved, but I'll install kwin debug packages anyway. 

You can mark as RESOLVED since I can't reproduce it again after the last couple of full upgrades. 

Thank's for the work.
Comment 8 Bug Janitor Service 2019-03-27 04:33:19 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Christoph Feck 2019-03-31 09:44:41 UTC
Closing per comment #7.