Application: kwin_x11 (5.15.90) (Compiled from sources) Qt Version: 5.12.3 Frameworks Version: 5.59.0 Operating System: Linux 5.0.10-gentoo x86_64 Distribution: "Gentoo Base System release 2.6" -- Information about the crash: - What I was doing when the application crashed: $summary, KWin crashes exactly when the cursor is hitting the border. 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 0x7f63e0341880 (LWP 602))] Thread 8 (Thread 0x7f63dce59700 (LWP 1241)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x563692282914) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x5636922828c0, cond=0x5636922828e8) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x5636922828e8, mutex=0x5636922828c0) at pthread_cond_wait.c:655 #3 0x00007f63e9e92a03 in QWaitConditionPrivate::wait (deadline=..., this=0x5636922828c0) at thread/qwaitcondition_unix.cpp:146 #4 QWaitCondition::wait (this=<optimized out>, mutex=0x5636922d1fc0, deadline=...) at thread/qwaitcondition_unix.cpp:225 #5 0x00007f63e9e92a89 in QWaitCondition::wait (this=this@entry=0x5636922d1fc8, mutex=mutex@entry=0x5636922d1fc0, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68 #6 0x00007f63e70f43a9 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x5636922d1fb8) at scenegraph/qsgthreadedrenderloop.cpp:245 #7 QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x5636922d1f40) at scenegraph/qsgthreadedrenderloop.cpp:710 #8 0x00007f63e70f460a in QSGRenderThread::run (this=0x5636922d1f40) at scenegraph/qsgthreadedrenderloop.cpp:739 #9 0x00007f63e9e8d1f1 in QThreadPrivate::start (arg=0x5636922d1f40) at thread/qthread_unix.cpp:361 #10 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #11 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7f63ccc61700 (LWP 1240)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x7f63d800684c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7f63d80067f8, cond=0x7f63d8006820) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x7f63d8006820, mutex=0x7f63d80067f8) at pthread_cond_wait.c:655 #3 0x00007f63cdb9527b in cnd_wait (mtx=0x7f63d80067f8, cond=0x7f63d8006820) at ../mesa-19.1.0-rc4/include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x7f63d8006760) at ../mesa-19.1.0-rc4/src/util/u_queue.c:272 #5 0x00007f63cdb94ea7 in impl_thrd_routine (p=<optimized out>) at ../mesa-19.1.0-rc4/include/c11/threads_posix.h:87 #6 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #7 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7f63bef3a700 (LWP 683)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x7f63e9791fb8 <QTWTF::pageheap_memory+57592>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7f63e9791f68 <QTWTF::pageheap_memory+57512>, cond=0x7f63e9791f90 <QTWTF::pageheap_memory+57552>) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x7f63e9791f90 <QTWTF::pageheap_memory+57552>, mutex=0x7f63e9791f68 <QTWTF::pageheap_memory+57512>) at pthread_cond_wait.c:655 #3 0x00007f63e969e01a in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f63e9783ec0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #4 0x00007f63e969e039 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #5 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #6 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7f63cd74e700 (LWP 679)): #0 futex_wait_cancelable (private=0, expected=0, futex_word=0x5636913fb5ac) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x5636913fb558, cond=0x5636913fb580) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x5636913fb580, mutex=0x5636913fb558) at pthread_cond_wait.c:655 #3 0x00007f63cdb9527b in cnd_wait (mtx=0x5636913fb558, cond=0x5636913fb580) at ../mesa-19.1.0-rc4/include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x56369160aac0) at ../mesa-19.1.0-rc4/src/util/u_queue.c:272 #5 0x00007f63cdb94ea7 in impl_thrd_routine (p=<optimized out>) at ../mesa-19.1.0-rc4/include/c11/threads_posix.h:87 #6 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #7 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f63cffff700 (LWP 676)): #0 0x00007f63eb43d886 in __GI_ppoll (fds=fds@entry=0x7f63c8000d28, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39 #1 0x00007f63ea066c89 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=0x7f63c8000d28) at kernel/qcore_unix.cpp:132 #3 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f63c8000d28) at kernel/qcore_unix.cpp:129 #4 qt_safe_poll (fds=0x7f63c8000d28, nfds=nfds@entry=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153 #5 0x00007f63ea067cd9 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211 #6 0x00007f63ea0189f3 in QEventLoop::exec (this=this@entry=0x7f63cfffed00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #7 0x00007f63e9e8bfc6 in QThread::exec (this=this@entry=0x5636915c1e00) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #8 0x00007f63e6d70915 in QQmlThreadPrivate::run (this=0x5636915c1e00) at qml/ftw/qqmlthread.cpp:148 #9 0x00007f63e9e8d1f1 in QThreadPrivate::start (arg=0x5636915c1e00) at thread/qthread_unix.cpp:361 #10 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #11 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f63de31a700 (LWP 645)): #0 0x00007f63eb43d886 in __GI_ppoll (fds=fds@entry=0x7f63d000a3e8, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39 #1 0x00007f63ea066c89 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=0x7f63d000a3e8) at kernel/qcore_unix.cpp:132 #3 qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7f63d000a3e8) at kernel/qcore_unix.cpp:129 #4 qt_safe_poll (fds=0x7f63d000a3e8, nfds=nfds@entry=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:153 #5 0x00007f63ea067cd9 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:211 #6 0x00007f63ea0189f3 in QEventLoop::exec (this=this@entry=0x7f63de319cf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #7 0x00007f63e9e8bfc6 in QThread::exec (this=this@entry=0x7f63e684bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #8 0x00007f63e67cc565 in QDBusConnectionManager::run (this=0x7f63e684bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178 #9 0x00007f63e9e8d1f1 in QThreadPrivate::start (arg=0x7f63e684bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361 #10 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #11 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f63def8a700 (LWP 631)): #0 0x00007f63eb43d793 in __GI___poll (fds=0x7f63def89c28, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f63e9bb37e7 in ?? () from /usr/lib64/libxcb.so.1 #2 0x00007f63e9bb540a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007f63dfc90cb8 in QXcbEventQueue::run (this=0x5636912c3740) at qxcbeventqueue.cpp:228 #4 0x00007f63e9e8d1f1 in QThreadPrivate::start (arg=0x5636912c3740) at thread/qthread_unix.cpp:361 #5 0x00007f63e77b3408 in start_thread (arg=<optimized out>) at pthread_create.c:486 #6 0x00007f63eb44980f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f63e0341880 (LWP 602)): [KCrash Handler] #7 0x00007f63cdbf6924 in _mesa_glthread_finish (ctx=0x0) at ../mesa-19.1.0-rc4/src/mesa/main/glthread.c:184 #8 0x00007f63cdb57874 in intelUnbindContext (driContextPriv=<optimized out>) at ../mesa-19.1.0-rc4/src/mesa/drivers/dri/i965/brw_context.c:1232 #9 0x00007f63cdb8cdca in driUnbindContext (pcp=0x5636915a1040) at ../mesa-19.1.0-rc4/src/mesa/drivers/dri/common/dri_util.c:615 #10 0x00007f63e42edb4b in dri2_make_current (drv=0x563691620ba0, disp=0x563691469e20, dsurf=0x563691715ee0, rsurf=0x563691715ee0, ctx=<optimized out>) at ../mesa-19.1.0-rc4/src/egl/drivers/dri2/egl_dri2.c:1479 #11 0x00007f63e42dc9e4 in eglMakeCurrent (dpy=0x563691469e20, draw=<optimized out>, read=0x563691715ee0, ctx=<optimized out>) at ../mesa-19.1.0-rc4/src/egl/main/eglapi.c:869 #12 0x00007f63ddb0818e in KWin::AbstractEglBackend::makeCurrent (this=0x56369170b530) at /var/tmp/portage/kde-plasma/kwin-5.16.49.9999/work/kwin-5.16.49.9999/platformsupport/scenes/opengl/abstract_egl_backend.cpp:199 #13 0x00007f63dc1d109a in KWin::SceneOpenGL::paint (this=this@entry=0x5636913ae2f0, damage=..., toplevels=...) at /var/tmp/portage/kde-plasma/kwin-5.16.49.9999/work/kwin-5.16.49.9999/plugins/scenes/opengl/scene_opengl.cpp:692 #14 0x00007f63eb1ad8fa in KWin::Compositor::performCompositing (this=0x56369131bac0) at /var/tmp/portage/kde-plasma/kwin-5.16.49.9999/work/kwin-5.16.49.9999/composite.cpp:746 #15 0x00007f63ea04279b in QObject::event (this=0x56369131bac0, e=<optimized out>) at kernel/qobject.cpp:1241 #16 0x00007f63ea9284c1 in QApplicationPrivate::notify_helper (this=this@entry=0x5636912aadf0, receiver=receiver@entry=0x56369131bac0, e=e@entry=0x7ffc04289dd0) at kernel/qapplication.cpp:3736 #17 0x00007f63ea92f8b8 in QApplication::notify (this=0x7ffc0428a050, receiver=0x56369131bac0, e=0x7ffc04289dd0) at kernel/qapplication.cpp:3483 #18 0x00007f63ea019a21 in QCoreApplication::notifyInternal2 (receiver=0x56369131bac0, event=0x7ffc04289dd0) at kernel/qcoreapplication.cpp:1060 #19 0x00007f63ea0699c4 in QTimerInfoList::activateTimers (this=this@entry=0x563691304da0) at kernel/qtimerinfo_unix.cpp:643 #20 0x00007f63ea0670bc in QEventDispatcherUNIXPrivate::activateTimers (this=this@entry=0x563691304d00) at kernel/qeventdispatcher_unix.cpp:249 #21 0x00007f63ea067dfc in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:514 #22 0x00007f63dfc91ffe in QXcbUnixEventDispatcher::processEvents (this=0x5636913038d0, flags=...) at qxcbeventdispatcher.cpp:60 #23 0x00007f63ea0189f3 in QEventLoop::exec (this=this@entry=0x7ffc04289f60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #24 0x00007f63ea020602 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #25 0x00007f63eb51cf3a in kdemain (argc=<optimized out>, argv=0x7ffc0428a1f8) at /var/tmp/portage/kde-plasma/kwin-5.16.49.9999/work/kwin-5.16.49.9999/main_x11.cpp:470 #26 0x00007f63eb367ebb in __libc_start_main (main=0x5636906eb060 <main>, argc=3, argv=0x7ffc0428a1f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc0428a1e8) at ../csu/libc-start.c:308 #27 0x00005636906eb09a in _start () [Inferior 1 (process 602) detached] Reported using DrKonqi
Can you post output of `qdbus org.kde.KWin /KWin supportInformation`?
Sure, this is from the same session: 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 https://paste.kde.org instead of pasting into support threads. ========================== Version ======= KWin version: 5.15.90 Qt Version: 5.12.3 Qt compile version: 5.12.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_EGL_STREAMS: yes HAVE_X11_XCB: yes HAVE_EPOXY_GLX: yes HAVE_WAYLAND_EGL: yes X11 === Vendor: The X.Org Foundation Vendor Release: 12005000 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: false alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 0, 2 decorationButtonsRight: 6, 3, 4, 5 borderSize: 2 gridUnit: 16 font: Noto Sans,11,-1,5,50,0,0,0,0,0,Regular smallSpacing: 4 largeSpacing: 16 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 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: false 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: false glStrictBindingFollowsDriver: true glCoreProfile: false glPreferBufferSwap: 101 glPlatformInterface: 2 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: DP-1 Geometry: 0,0,3840x2160 Scale: 1 Refresh Rate: 59.9966 Compositing =========== Compositing is active Compositing Type: OpenGL OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop OpenGL version string: 3.0 Mesa 19.1.0-rc4 OpenGL platform interface: EGL OpenGL shading language version string: 1.30 Driver: Intel GPU class: Haswell OpenGL version: 3.0 GLSL version: 1.30 Mesa version: 19.1 X server version: 1.20.5 Linux kernel version: 5.0.10 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: --------------- zoom kwin4_effect_squash kwin4_effect_morphingpopups kwin4_effect_logout kwin4_effect_dialogparent kwin4_effect_fadingpopups kwin4_effect_translucency kwin4_effect_frozenapp kwin4_effect_maximize kwin4_effect_login kwin4_effect_windowaperture kwin4_effect_fade slidingpopups slide screenshot flipswitch desktopgrid colorpicker presentwindows highlightwindow blur contrast startupfeedback screenedge kscreen Currently Active Effects: ------------------------- blur contrast Effect Settings: ---------------- zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 enableFocusTracking: false followFocus: true focusDelay: 350 moveFactor: 20 targetZoom: 1 kwin4_effect_squash: isActiveFullScreenEffect: false kwin4_effect_morphingpopups: isActiveFullScreenEffect: false kwin4_effect_logout: isActiveFullScreenEffect: false kwin4_effect_dialogparent: isActiveFullScreenEffect: false kwin4_effect_fadingpopups: isActiveFullScreenEffect: false kwin4_effect_translucency: isActiveFullScreenEffect: false kwin4_effect_frozenapp: isActiveFullScreenEffect: false kwin4_effect_maximize: isActiveFullScreenEffect: false kwin4_effect_login: isActiveFullScreenEffect: false kwin4_effect_windowaperture: isActiveFullScreenEffect: false kwin4_effect_fade: isActiveFullScreenEffect: false slidingpopups: slideInDuration: 75 slideOutDuration: 125 slide: duration: 250 horizontalGap: 45 verticalGap: 20 slideDocks: false slideBackground: true screenshot: flipswitch: tabBox: true tabBoxAlternative: false duration: 100 angle: 30 xPosition: 0.33000001311302185 yPosition: 1 windowTitle: true desktopgrid: zoomDuration: 150 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: 75 showPanel: false leftButtonWindow: 1 rightButtonWindow: 2 middleButtonWindow: 0 leftButtonDesktop: 2 middleButtonDesktop: 0 rightButtonDesktop: 0 highlightwindow: blur: contrast: startupfeedback: type: 1 screenedge: kscreen:
Hmm, did you force the EGL platform interface?
I see that GLPlatformInterface=egl is set in .config/kwinrc which may or may not be an artifact from long ago.
No KWin crash with: - mesa-19.0.5 and EGL platform interface - mesa-19.1.0_rc4 and GLX platform interface
So, this bug is reproducible only with Mesa 19.1.0-rc4, is it correct?
Exactly right (probably earlier 19.1 RCs as well).
Can you file a bug report upstream?
This looks similar: https://bugs.freedesktop.org/show_bug.cgi?id=110814
Yeah, it does.