Bug 406729 - KWin closed unexpecedly; unable to reproduce :(
Summary: KWin closed unexpecedly; unable to reproduce :(
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.15.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-21 12:28 UTC by larstuchtenhagen
Modified: 2019-05-22 04:33 UTC (History)
0 users

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


Attachments
PKGPUILD of kwin, modified (1.47 KB, text/plain)
2019-04-22 12:32 UTC, larstuchtenhagen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description larstuchtenhagen 2019-04-21 12:28:00 UTC
SUMMARY
Executable: kwin_x11 PID: 633 Signal: Segmentation fault (11) Time: 21/04/2019 14:08:24

STEPS TO REPRODUCE
could not reproduce
1. opened Konsole
2. entered and end executed "terminator -x ls" (was testing something)
output:

(terminator:5414): Gtk-WARNING **: 14:19:14.801: Locale not supported by C library.
        Using the fallback 'C' locale.

(terminator:5414): Gtk-WARNING **: 14:19:14.903: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(terminator:5414): Gtk-WARNING **: 14:19:14.903: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(terminator:5414): Gtk-WARNING **: 14:19:14.903: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version

** (terminator:5414): WARNING **: 14:19:14.947: Binding '<Control><Alt>a' failed!
Unable to bind hide_window key, another instance/window has it.

3. pressed ctrl+alt+a (maybe it happened before this step)

OBSERVED RESULT
A window popped up saying KWin closed unexpectedly

EXPECTED RESULT
nothing


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.0.7-arch1-1-ARCH / 5. 15. 4
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Developer Information
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd37a287880 (LWP 633))]

Thread 7 (Thread 0x7fd35f7fe700 (LWP 3780)):
#0  0x00007fd380322afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fd381339c4c in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007fd381339d3a in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007fd37fe5a91d in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fd37fe5ab8c in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007fd38133396c in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fd38031ca9d in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fd3829d5af3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fd35effd700 (LWP 734)):
#0  0x00007fd380322afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fd380e2828c in  () at /usr/lib/libQt5Script.so.5
#2  0x00007fd380e282a9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007fd38031ca9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fd3829d5af3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fd35ffff700 (LWP 730)):
#0  0x00007fd380322afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fd37073f254 in  () at /usr/lib/dri/i965_dri.so
#2  0x00007fd37073ef78 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007fd38031ca9d in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fd3829d5af3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fd372dee700 (LWP 728)):
#0  0x00007fd381333e5f in QMutex::unlock() () at /usr/lib/libQt5Core.so.5
#1  0x00007fd381542ed0 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#2  0x00007fd3814eea8c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fd381332569 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#4  0x00007fd37fad8109 in  () at /usr/lib/libQt5Qml.so.5
#5  0x00007fd38133396c in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fd38031ca9d in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fd3829d5af3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fd378c8d700 (LWP 706)):
#0  0x00007fd3829cace6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fd381541b5b in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007fd38154303b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007fd3814eea8c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fd381332569 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007fd37f53bba6 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007fd38133396c in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fd38031ca9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fd3829d5af3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fd379b2d700 (LWP 700)):
#0  0x00007fd3829cabf1 in poll () at /usr/lib/libc.so.6
#1  0x00007fd381257630 in  () at /usr/lib/libxcb.so.1
#2  0x00007fd3812592db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fd379e4b989 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fd38133396c in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fd38031ca9d in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fd3829d5af3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fd37a287880 (LWP 633)):
[KCrash Handler]
#6  0x00007fd380fda69c in  () at /usr/lib/libkwin4_effect_builtins.so.1
#7  0x00007fd38151a980 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#8  0x00007fd3810984f3 in KWin::EffectsHandler::windowActivated(KWin::EffectWindow*) () at /usr/lib/libkwineffects.so.12
#9  0x00007fd38151a980 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#10 0x00007fd38264a7f3 in KWin::Workspace::clientActivated(KWin::AbstractClient*) () at /usr/lib/libkwin.so.5
#11 0x00007fd38270d905 in KWin::Workspace::setActiveClient(KWin::AbstractClient*) () at /usr/lib/libkwin.so.5
#12 0x00007fd3826855be in KWin::AbstractClient::setActive(bool) () at /usr/lib/libkwin.so.5
#13 0x00007fd3826efe54 in KWin::Client::focusInEvent(xcb_focus_in_event_t*) () at /usr/lib/libkwin.so.5
#14 0x00007fd3826f187c in KWin::Client::windowEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.5
#15 0x00007fd3826f25a0 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.5
#16 0x00007fd3814ed8bf in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/libQt5Core.so.5
#17 0x00007fd379e20ab2 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#18 0x00007fd379e2184e in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5XcbQpa.so.5
#19 0x00007fd379e4cd6e in  () at /usr/lib/libQt5XcbQpa.so.5
#20 0x00007fd3814eea8c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#21 0x00007fd3814f6de6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#22 0x00007fd382aa7cf6 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#23 0x00007fd3828fe223 in __libc_start_main () at /usr/lib/libc.so.6
#24 0x0000564b2169205e in _start ()
[Inferior 1 (process 633) detached]
Comment 1 Vlad Zahorodnii 2019-04-21 12:37:00 UTC
Please post output of qdbus org.kde.KWin /KWin supportInformation

Also, please try to get a backtrace with debug symbols.
Comment 2 larstuchtenhagen 2019-04-21 13:07:05 UTC
if i understand things correctly (and it's likely i don't, i'm a noob), I would have to complie the package with debug flags enabled and reproduce the bug. i will try to do so, but i have been unable to reproduce the bug so far.

qdbus org.kde.KWin /KWin supportInformation:

KWin Support Information:
The following information should be used when requesting support on e.g. https://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like http://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 5.15.4
Qt Version: 5.12.2
Qt compile version: 5.12.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_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12004000
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, 9, 1
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: 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: 50
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: false
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: 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: eDP1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60.0204


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) 
OpenGL version string: 4.5 (Core Profile) Mesa 19.0.2
OpenGL platform interface: GLX
OpenGL shading language version string: 4.50
Driver: Intel
GPU class: Unknown
OpenGL version: 4.5
GLSL version: 4.50
Mesa version: 19.0.2
X server version: 1.20.4
Linux kernel version: 5.0.7
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
snaphelper
kwin4_effect_fade
mousemark
kwin4_effect_fadingpopups
kwin4_effect_dialogparent
kwin4_effect_logout
kwin4_effect_maximize
kwin4_effect_translucency
kwin4_effect_morphingpopups
kwin4_effect_frozenapp
kwin4_effect_login
slidingpopups
screenshot
flipswitch
diminactive
desktopgrid
cubeslide
coverswitch
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

snaphelper:

kwin4_effect_fade:
isActiveFullScreenEffect: false

mousemark:
width: 3
color: #ff0000

kwin4_effect_fadingpopups:
isActiveFullScreenEffect: false

kwin4_effect_dialogparent:
isActiveFullScreenEffect: false

kwin4_effect_logout:
isActiveFullScreenEffect: false

kwin4_effect_maximize:
isActiveFullScreenEffect: false

kwin4_effect_translucency:
isActiveFullScreenEffect: false

kwin4_effect_morphingpopups:
isActiveFullScreenEffect: false

kwin4_effect_frozenapp:
isActiveFullScreenEffect: false

kwin4_effect_login:
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 1
slideOutDuration: 1

screenshot:

flipswitch:
tabBox: false
tabBoxAlternative: false
duration: 1
angle: 30
xPosition: 0.33000001311302185
yPosition: 1
windowTitle: true

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

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

cubeslide:
rotationDuration: 1
dontSlidePanels: true
dontSlideStickyWindows: false
usePagerLayout: true
useWindowMoving: false

coverswitch:
animationDuration: 1
animateSwitch: true
animateStart: true
animateStop: true
reflection: true
windowTitle: true
zPosition: 900
primaryTabBox: false
secondaryTabBox: false

colorpicker:

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 1
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 3 Vlad Zahorodnii 2019-04-21 13:14:35 UTC
If you use an Arch-based distro, then yes, you have to repackage kwin.
Comment 4 Vlad Zahorodnii 2019-04-21 19:01:14 UTC
This is most likely a Dim Inactive effect issue.

Do you need help with repackaging kwin?
Comment 5 larstuchtenhagen 2019-04-22 12:32:27 UTC
Created attachment 119553 [details]
PKGPUILD of kwin, modified
Comment 6 larstuchtenhagen 2019-04-22 12:39:48 UTC
I think I repackaged it correctly 
[options=(debug strip)
-DCMAKE_BUILD_TYPE=debugfull
-DBUILD_TESTING=ON]
I installed both packages.
And now I have a usr/lib/debug/usr/bin/kwin_x11.debug
(and a few more .debugs in lib, sources in default directory as well)

Will the error-message-dialog display debug-symobls or should I have gdb attached to kwin all the time?
Can I somehow check whether the debug-symbols are attached correctly?
I have also been unable to reproduce the bug. Any tips?
Comment 7 Vlad Zahorodnii 2019-04-22 20:57:33 UTC
Please repackage kwin with -DCMAKE_BUILD_TYPE=RelWithDebInfo.

> I have also been unable to reproduce the bug. Any tips?

Just wait. :-)
Comment 8 Bug Janitor Service 2019-05-07 04:33:09 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 Bug Janitor Service 2019-05-22 04:33:08 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!