Summary: | kwin_x11 crashes in KWin::X11Window::finishCompositing() when disabling compositing | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Mariusz Libera <mariusz.libera> |
Component: | compositing | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | REOPENED --- | ||
Severity: | crash | CC: | 11_70, 4wy78uwh, caravus, colin.mc151, grahamperrin, jazdh, kde, kde, kochdustin92, liusishun5, michael.lucky.maximus, nate, nicolas.fella, postix, private_lock, proluciomelo, rfonfara1, robinjanholleman, szotsaki, zyf034100 |
Priority: | NOR | Flags: | 4wy78uwh:
X11+
|
Version: | 5.27.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
backtrace
New crash information added by DrKonqi extending regexp to include so far uncontrolled window works fine fiddle with x-pos while controlled dialog is open in background |
#0 __GI___pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x0) at pthread_sigmask.c:43 local_newmask = { __val = {139662804823840, 32, 7742360864080620591, 140732991487168, 42, 139662756602912, 2, 1, 140732991487168, 139662755010313, 0, 139662756619456, 140732991487168, 139662804829416, 140732991487424, 139662755010500} } result = 0 #1 0x00007f05c4e5214d in __GI___sigprocmask (how=<optimized out>, set=<optimized out>, oset=<optimized out>) at ../sysdeps/unix/sysv/linux/sigprocmask.c:25 result = <optimized out> #2 0x00007f05c7de91eb in KCrash::setCrashHandler(void (*)(int)) (handler=handler@entry=0x0) at /usr/src/debug/kcrash/kcrash-5.103.0/src/kcrash.cpp:414 mask = { __val = {1256, 0, 0, 0, 62, 139662678199632, 11, 13242041013901687552, 140732991487696, 18446744073709551352, 4, 139662804840720, 11, 139662756619904, 140732991487696, 139662755294819} } #3 0x00007f05c7deb7e6 in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash/kcrash-5.103.0/src/kcrash.cpp:625 crashRecursionCounter = 2 #4 0x00007f05c4e51f50 in <signal handler called> () at /usr/lib/libc.so.6 #5 0x0000000000000018 in () #6 0x00007f05c78eca15 in std::default_delete<KWin::EffectWindowImpl>::operator()(KWin::EffectWindowImpl*) const (__ptr=0x556ee5c36410, this=<optimized out>) at /usr/include/c++/12.2.1/bits/unique_ptr.h:95 __old_p = 0x556ee5c36410 #7 std::__uniq_ptr_impl<KWin::EffectWindowImpl, std::default_delete<KWin::EffectWindowImpl> >::reset(KWin::EffectWindowImpl*) (__p=0x0, this=0x556ee60bfc58) at /usr/include/c++/12.2.1/bits/unique_ptr.h:203 __old_p = 0x556ee5c36410 #8 std::unique_ptr<KWin::EffectWindowImpl, std::default_delete<KWin::EffectWindowImpl> >::reset(KWin::EffectWindowImpl*) (__p=0x0, this=0x556ee60bfc58) at /usr/include/c++/12.2.1/bits/unique_ptr.h:501 #9 KWin::Window::finishCompositing(KWin::ReleaseReason) (this=0x556ee60bfb30, releaseReason=<optimized out>) at /usr/src/debug/kwin/kwin-5.27.1/src/window.cpp:370 #10 0x00007f05c77bea56 in KWin::X11Window::finishCompositing(KWin::ReleaseReason) (releaseReason=KWin::ReleaseReason::Release, this=0x556ee60bfb30) at /usr/src/debug/kwin/kwin-5.27.1/src/x11window.cpp:1491 window = 0x556ee60bfb30 __for_range = <optimized out> superlayers = { { d = 0x1a892c2, e = 0x1a892c2 } } #11 KWin::Compositor::stop() (this=0x556ee4a3ee50) at /usr/src/debug/kwin/kwin-5.27.1/src/composite.cpp:523 window = 0x556ee60bfb30 __for_range = <optimized out> superlayers = { { d = 0x1a892c2, e = 0x1a892c2 } } #12 KWin::Compositor::stop() (this=0x556ee4a3ee50) at /usr/src/debug/kwin/kwin-5.27.1/src/composite.cpp:505 #13 0x00007f05c5ebea71 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffef3f74cb0, r=<optimized out>, this=0x556ee4b88ed0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 receiver = <optimized out> td = <optimized out> receiverInSameThread = <optimized out> senderData = { previous = 0x0, receiver = 0x556ee4a3ee50, sender = 0x556ee4b75410, signal = 4 } c = 0x556ee4b891f0 connections = { d = 0x556ee4b89290 } list = <optimized out> inSenderThread = true highestConnectionId = 2 signalVector = 0x556ee4afa290 currentThreadId = 0x7f05c0bb8180 sp = <optimized out> signal_spy_set = 0x0 empty_argv = {0x0} senderDeleted = false #14 doActivate<false>(QObject*, int, void**) (sender=0x556ee4b75410, signal_index=4, argv=0x7ffef3f74cb0) at kernel/qobject.cpp:3923 receiver = <optimized out> td = <optimized out> receiverInSameThread = <optimized out> senderData = { previous = 0x0, receiver = 0x556ee4a3ee50, sender = 0x556ee4b75410, signal = 4 } c = 0x556ee4b891f0 connections = { d = 0x556ee4b89290 } list = <optimized out> inSenderThread = true highestConnectionId = 2 signalVector = 0x556ee4afa290 currentThreadId = 0x7f05c0bb8180 sp = <optimized out> signal_spy_set = 0x0 empty_argv = {0x0} senderDeleted = false #15 0x00007f05c556bec7 in QAction::triggered(bool) (this=this@entry=0x556ee4b75410, _t1=<optimized out>) at .moc/moc_qaction.cpp:376 _a = {0x0, 0x7ffef3f74cac} #16 0x00007f05c55718c7 in QAction::activate(QAction::ActionEvent) (this=0x556ee4b75410, event=<optimized out>) at kernel/qaction.cpp:1161 d = 0x556ee4b890d0 #17 0x00007f05c5ebea71 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffef3f74e00, r=<optimized out>, this=0x556ee4b44650, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 receiver = <optimized out> td = <optimized out> receiverInSameThread = <optimized out> senderData = { previous = 0x0, receiver = 0x7f05c7c300b0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>, sender = 0x556ee4b3a5d0, signal = 3 } c = 0x556ee4b48360 connections = { d = 0x556ee4b48330 } list = <optimized out> inSenderThread = true highestConnectionId = 3 signalVector = 0x556ee4b483c0 currentThreadId = 0x7f05c0bb8180 sp = <optimized out> signal_spy_set = 0x0 empty_argv = {0x0} senderDeleted = false #18 doActivate<false>(QObject*, int, void**) (sender=0x556ee4b3a5d0, signal_index=3, argv=0x7ffef3f74e00) at kernel/qobject.cpp:3923 receiver = <optimized out> td = <optimized out> receiverInSameThread = <optimized out> senderData = { previous = 0x0, receiver = 0x7f05c7c300b0 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>, sender = 0x556ee4b3a5d0, signal = 3 } c = 0x556ee4b48360 connections = { d = 0x556ee4b48330 } list = <optimized out> inSenderThread = true highestConnectionId = 3 signalVector = 0x556ee4b483c0 currentThreadId = 0x7f05c0bb8180 sp = <optimized out> signal_spy_set = 0x0 empty_argv = {0x0} senderDeleted = false #19 0x00007f05c7c280dd in OrgKdeKglobalaccelComponentInterface::globalShortcutPressed(QString const&, QString const&, long long) (_t3=<optimized out>, _t2=<optimized out>, _t1=<optimized out>, this=<optimized out>) at /usr/src/debug/kglobalaccel/build/src/kglobalaccel_component_interface.moc:239 _a = {0x0, 0x7f05b0045790, 0x7f05b0041460, 0x7ffef3f74df0} _t = 0x556ee4b3a5d0 #20 OrgKdeKglobalaccelComponentInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x556ee4b3a5d0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7ffef3f74f50) at /usr/src/debug/kglobalaccel/build/src/kglobalaccel_component_interface.moc:125 _t = 0x556ee4b3a5d0 #21 0x00007f05c7c285b3 in OrgKdeKglobalaccelComponentInterface::qt_metacall(QMetaObject::Call, int, void**) (this=0x556ee4b3a5d0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffef3f74f50) at /usr/src/debug/kglobalaccel/build/src/kglobalaccel_component_interface.moc:208 #22 0x00007f05c61e145f in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) [clone .constprop.0] (this=<optimized out>, object=<optimized out>, msg=<optimized out>, metaTypes=<optimized out>, slotIdx=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusintegrator.cpp:1001 context = { connection = { d = 0x7f05b8001c00 }, message = @0x7f05b8018760 } old = 0x0 params = { a = 10, s = 4, ptr = 0x7ffef3f74f50, { array = "\000\000\000\000\000\000\000\000\220W\004\260\005\177\000\000`\024\004\260\005\177\000\000@\001\"\346nU\000\000Ȥ\224\306\005\177\000\000\303\353\266\303\005\177\000\000\000\000\000\000\000\000\000\000\303\353\266\303\005\177\000\000\300\231\004\260\005\177\000\000\000{Î$.ŷ", q_for_alignment_1 = 0, q_for_alignment_2 = 0 } } auxParameters = { <QListSpecialMethods<QVariant>> = {<No data fields>}, members of QList<QVariant>: { p = { static shared_null = { ref = { atomic = { _q_value = std::atomic<int> = { -1 } } }, alloc = 0, begin = 0, end = 0, array = {0x0} }, d = 0x7f05c5f76e90 <QListData::shared_null> }, d = 0x7f05c5f76e90 <QListData::shared_null> } } i = <optimized out> numMetaTypes = <optimized out> outputArgs = { <QListSpecialMethods<QVariant>> = {<No data fields>}, members of QList<QVariant>: { p = { static shared_null = { ref = { atomic = { _q_value = std::atomic<int> = { -1 } } }, alloc = 0, begin = 0, end = 0, array = {0x0} }, d = 0x7f05c5f76e90 <QListData::shared_null> }, d = 0x7f05c5f76e90 <QListData::shared_null> } } null = 0x0 fail = <optimized out> #23 0x00007f05c5eb1bb0 in QObject::event(QEvent*) (this=0x556ee4b3a5d0, e=0x7f05b8018730) at kernel/qobject.cpp:1347 mce = 0x7f05b8018730 sender = { previous = 0x0, receiver = 0x556ee4b3a5d0, sender = 0x7f05b8001c00, signal = -1 } #24 0x00007f05c5578b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x556ee4b3a5d0, e=0x7f05b8018730) at kernel/qapplication.cpp:3640 consumed = false filtered = false #25 0x00007f05c5e8df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x556ee4b3a5d0, event=0x7f05b8018730) at kernel/qcoreapplication.cpp:1064 selfRequired = true result = false cbdata = {0x556ee4b3a5d0, 0x7f05b8018730, 0x7ffef3f750cf} d = <optimized out> threadData = 0x556ee44df200 scopeLevelCounter = { threadData = 0x556ee44df200 } #26 0x00007f05c5e8dfb3 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462 #27 0x00007f05c5e8ea53 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x556ee44df200) at kernel/qcoreapplication.cpp:1821 e = 0x7f05b8018730 pe = <optimized out> r = <optimized out> event_deleter = { d = 0x7f05b8018730 } locker = { _M_device = 0x556ee44df230, _M_owns = false } startOffset = 0 i = @0x556ee44df224: 1 cleanup = { receiver = 0x0, event_type = 0, data = 0x556ee44df200, exceptionCaught = true } #28 0x00007f05c5ed4e88 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x556ee466af10) at kernel/qeventdispatcher_glib.cpp:277 source = 0x556ee466af10 #29 0x00007f05c3b1682b in g_main_dispatch (context=0x7f05b8005010) at ../glib/glib/gmain.c:3454 dispatch = 0x7f05c5ed4e70 <postEventSourceDispatch(GSource*, GSourceFunc, gpointer)> prev_source = 0x0 begin_time_nsec = 27824837410577 was_in_call = 0 user_data = 0x0 callback = 0x0 cb_funcs = 0x0 cb_data = 0x0 need_destroy = <optimized out> source = 0x556ee466af10 current = 0x556ee4860fc0 i = 0 #30 g_main_context_dispatch (context=0x7f05b8005010) at ../glib/glib/gmain.c:4172 #31 0x00007f05c3b6dcc9 in g_main_context_iterate.constprop.0 (context=0x7f05b8005010, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4248 max_priority = 2147483647 timeout = 24240164 some_ready = 1 nfds = 4 allocated_nfds = <optimized out> fds = <optimized out> begin_time_nsec = 27824836111480 #32 0x00007f05c3b150e2 in g_main_context_iteration (context=0x7f05b8005010, may_block=1) at ../glib/glib/gmain.c:4313 retval = <optimized out> #33 0x00007f05c5ed8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x556ee4666800, flags=...) at kernel/qeventdispatcher_glib.cpp:423 d = 0x556ee466c670 canWait = true savedFlags = { i = 0 } result = <optimized out> #34 0x00007f05c5e866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffef3f75420, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 d = 0x556ee485f920 threadData = <optimized out> locker = { val = 93934765067448 } app = <optimized out> #35 0x00007f05c5e91219 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 threadData = 0x556ee44df200 eventLoop = { <QObject> = { _vptr.QObject = 0x7f05c6112730 <vtable for QEventLoop+16>, static staticMetaObject = { d = { superdata = { direct = 0x0 }, stringdata = 0x7f05c5f75920 <_ZL26qt_meta_stringdata_QObject.lto_priv.0>, data = 0x7f05c5f75800 <_ZL20qt_meta_data_QObject.lto_priv.0>, static_metacall = 0x7f05c5ebeea0 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0 } }, d_ptr = { d = 0x556ee485f920 }, static staticQtMetaObject = { d = { superdata = { direct = 0x0 }, stringdata = 0x7f05c5f9c500 <_ZL21qt_meta_stringdata_Qt.lto_priv.0>, data = 0x7f05c5f99680 <_ZL15qt_meta_data_Qt.lto_priv.0>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0 } } }, members of QEventLoop: static staticMetaObject = { d = { superdata = { direct = 0x7f05c610b560 <QObject::staticMetaObject> }, stringdata = 0x7f05c5f712e0 <_ZL29qt_meta_stringdata_QEventLoop.lto_priv.0>, data = 0x7f05c5f71280 <_ZL23qt_meta_data_QEventLoop.lto_priv.0>, static_metacall = 0x7f05c5e84f30 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0 } } } returnCode = <optimized out> #36 0x00007f05c6339fe2 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870 #37 0x00007f05c5576f2a in QApplication::exec() () at kernel/qapplication.cpp:2832 #38 0x0000556ee25eaf16 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin/kwin-5.27.1/src/main_x11.cpp:447 format = { d = 0x556ee4504680 } a = Created attachment 158455 [details]
New crash information added by DrKonqi
kwin_x11 (5.27.4) using Qt 5.15.8
Unfortuately, in the new Konqi I cannot directly compare the the backtraces but if my memory serves me well the parameter of the top frame function was the same.
In my case the system came back from sleep. Waited a bit and KWin crashed. I didn't disable compositing.
-- Backtrace (Reduced):
#6 0x00007f4b5ecee1f1 in std::default_delete<KWin::EffectWindowImpl>::operator()(KWin::EffectWindowImpl*) const (__ptr=0x55ab5977cb50, this=<optimized out>) at /usr/include/c++/13/bits/unique_ptr.h:94
#7 std::__uniq_ptr_impl<KWin::EffectWindowImpl, std::default_delete<KWin::EffectWindowImpl> >::reset(KWin::EffectWindowImpl*) (__p=0x0, this=0x55ab59966678) at /usr/include/c++/13/bits/unique_ptr.h:212
#8 std::unique_ptr<KWin::EffectWindowImpl, std::default_delete<KWin::EffectWindowImpl> >::reset(KWin::EffectWindowImpl*) (__p=0x0, this=0x55ab59966678) at /usr/include/c++/13/bits/unique_ptr.h:510
#9 KWin::Window::finishCompositing(KWin::ReleaseReason) (this=0x55ab59966550, releaseReason=<optimized out>) at /usr/src/debug/kwin-5.27.4/src/window.cpp:370
#10 0x00007f4b5ebc5ba5 in KWin::X11Window::finishCompositing(KWin::ReleaseReason) (releaseReason=KWin::ReleaseReason::Release, this=0x55ab59966550) at /usr/src/debug/kwin-5.27.4/src/x11window.cpp:1491
Can I have output of: qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation and can you confirm if you can reproduce this reliably? $> qdbus-qt5 org.kde.KWin /KWin org.kde.KWin.supportInformation Version ======= KWin version: 5.27.4 Qt Version: 5.15.8 Qt compile version: 5.15.8 XCB compile version: 1.15 Operation Mode: X11 only Build Options ============= KWIN_BUILD_DECORATIONS: yes KWIN_BUILD_TABBOX: yes KWIN_BUILD_ACTIVITIES: yes HAVE_X11_XCB: yes HAVE_EPOXY_GLX: yes X11 === Vendor: The X.Org Foundation Vendor Release: 12101008 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 onAllDesktopsAvailable: true alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 5, 3, 9 decorationButtonsRight: 0 borderSize: 2 gridUnit: 12 font: Noto Sans,10,-1,5,50,0,0,0,0,0,Regular smallSpacing: 3 largeSpacing: 12 Output backend ============== Name: KWin::X11StandaloneBackend Cursor ====== themeName: breeze_cursors themeSize: 24 Options ======= focusPolicy: 0 xwaylandCrashPolicy: xwaylandMaxCrashCount: 3 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false activeMouseScreen: false placement: activationDesktopPolicy: 0 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false rollOverDesktops: false 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: 16777250 condensedTitle: false electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true compositingMode: 1 useCompositing: true hiddenPreviews: 1 glSmoothScale: 2 glStrictBinding: false glStrictBindingFollowsDriver: true glPreferBufferSwap: 99 glPlatformInterface: 1 windowsBlockCompositing: true latencyPolicy: renderTimeEstimator: allowTearing: 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 ======= Active screen follows mouse: no Number of Screens: 1 Screen 0: --------- Name: DP-0 Enabled: 1 Geometry: 0,0,3440x1440 Scale: 1 Refresh Rate: 59972 Adaptive Sync: incapable Compositing =========== Compositing is active Compositing Type: OpenGL OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVIDIA GeForce GTX 960/PCIe/SSE2 OpenGL version string: 3.1.0 NVIDIA 525.105.17 OpenGL platform interface: GLX OpenGL shading language version string: 1.40 NVIDIA via Cg compiler Driver: NVIDIA Driver version: 525.105.17 GPU class: Unknown OpenGL version: 3.1 GLSL version: 1.40 X server version: 1.21.1 Linux kernel version: 6.2.9 Direct rendering: Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Loaded Effects: --------------- colorpicker outputlocator screenshot screenedge zoom blur contrast kwin4_effect_login kwin4_effect_sessionquit kwin4_effect_logout slidingpopups kwin4_effect_windowaperture slide kwin4_effect_maximize kwin4_effect_frozenapp kwin4_effect_squash kwin4_effect_fadingpopups kwin4_effect_fullscreen kwin4_effect_scale kwin4_effect_morphingpopups kwin4_effect_dialogparent desktopgrid highlightwindow overview tileseditor windowview blendchanges startupfeedback kscreen Currently Active Effects: ------------------------- blur contrast Effect Settings: ---------------- colorpicker: outputlocator: screenshot: screenedge: zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 focusTrackingEnabled: false textCaretTrackingEnabled: false focusDelay: 350 moveFactor: 20 targetZoom: 1 blur: contrast: kwin4_effect_login: pluginId: kwin4_effect_login isActiveFullScreenEffect: false kwin4_effect_sessionquit: pluginId: kwin4_effect_sessionquit isActiveFullScreenEffect: false kwin4_effect_logout: pluginId: kwin4_effect_logout isActiveFullScreenEffect: false slidingpopups: slideInDuration: 75 slideOutDuration: 125 kwin4_effect_windowaperture: pluginId: kwin4_effect_windowaperture isActiveFullScreenEffect: false slide: horizontalGap: 45 verticalGap: 20 slideBackground: true kwin4_effect_maximize: pluginId: kwin4_effect_maximize isActiveFullScreenEffect: false kwin4_effect_frozenapp: pluginId: kwin4_effect_frozenapp isActiveFullScreenEffect: false kwin4_effect_squash: pluginId: kwin4_effect_squash isActiveFullScreenEffect: false kwin4_effect_fadingpopups: pluginId: kwin4_effect_fadingpopups isActiveFullScreenEffect: false kwin4_effect_fullscreen: pluginId: kwin4_effect_fullscreen isActiveFullScreenEffect: false kwin4_effect_scale: pluginId: kwin4_effect_scale isActiveFullScreenEffect: false kwin4_effect_morphingpopups: pluginId: kwin4_effect_morphingpopups isActiveFullScreenEffect: false kwin4_effect_dialogparent: pluginId: kwin4_effect_dialogparent isActiveFullScreenEffect: false desktopgrid: activeView: gridRows: 1 gridColumns: 2 animationDuration: 150 layout: 1 partialActivationFactor: 0 gestureInProgress: false showAddRemove: true desktopNameAlignment: 0 desktopLayoutMode: 0 customLayoutRows: 2 highlightwindow: overview: activeView: animationDuration: 150 layout: 1 ignoreMinimized: false blurBackground: true partialActivationFactor: 0 gestureInProgress: false searchText: tileseditor: activeView: animationDuration: 200 windowview: activeView: animationDuration: 150 layout: 1 ignoreMinimized: false mode: 1142287056 partialActivationFactor: 0 gestureInProgress: false searchText: blendchanges: startupfeedback: type: 1 kscreen: Loaded Plugins: --------------- kwin5_plugin_krunner kwin5_plugin_nightcolor Available Plugins: ------------------ kwin5_plugin_buttonrebinds kwin5_plugin_colord kwin5_plugin_krunner kwin5_plugin_nightcolor It's a bit erratic. What I observed is that after I did a "kwin_x11 --replace" after the first resume, the subsequent ones had higher probability of crashing. Since I discovered it only yesterday, unfortunately, I cannot say a ratio. Today's resume was fine. I'll try a --replace before resume tomorrow. *** Bug 469087 has been marked as a duplicate of this bug. *** I've through many sleep-resume cycles but unfortunately, I could not reproduce the issue more times. *** Bug 469908 has been marked as a duplicate of this bug. *** *** Bug 469828 has been marked as a duplicate of this bug. *** Hi! bug 469908 has clear steps to reproduce on applying window rules with either negative position or no decorations. HTH *** Bug 471976 has been marked as a duplicate of this bug. *** (In reply to Holger from comment #10) > Hi! > > bug 469908 has clear steps to reproduce on applying window rules with either > negative position or no decorations. > > HTH can't reproduce by following the steps to reproduce in that bug report *** Bug 473800 has been marked as a duplicate of this bug. *** (In reply to Vlad Zahorodnii from comment #12) > (In reply to Holger from comment #10) > can't reproduce by following the steps to reproduce in that bug report Also on my side, it doesn't crash anymore. ... My last kwin crash according to coredumpctl is from Jun 3rd Still, Firefox does not enforce the maximized window status. When Firefox comes up, it opens several windows and some go to other desktops, while some stay incorrectly on the current desktop. Also some windows are properly maximized and some are smaller (independent of which desktop they go to). The "maximize" entry in the Alt+F3 Menu is disabled and none of the windows has window decorations (so the rule works to some degree). On toggling the window decorations, all FF-Windows on all virtual desktops get maximized, but I can resize them by holding the super-key and dragging the right mouse button. Glad to hear it's fixed for you. If you'd like to report those other issues, please submit a new bug report. Mariusz, are you still able to reproduce this issue? (In reply to Nate Graham from comment #15) > Mariusz, are you still able to reproduce this issue? I haven't seen this issue since the initial report, but I also was not using my linux laptop all that much lately. (In reply to Holger from comment #14) > Still, Firefox does not enforce the maximized window status. Was already reported as bug 460628 *** Bug 475110 has been marked as a duplicate of this bug. *** *** Bug 474894 has been marked as a duplicate of this bug. *** *** Bug 476306 has been marked as a duplicate of this bug. *** Can someone let us know if they have seen this with Plasma 6? We have done some big refactors that hopefully address some parts. . 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! *** Bug 479432 has been marked as a duplicate of this bug. *** *** Bug 479355 has been marked as a duplicate of this bug. *** 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! *** Bug 482277 has been marked as a duplicate of this bug. *** 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! (In reply to David Edmundson from comment #21) 1. Installed cpe:/o:opensuse:tumbleweed:20240317. 2. Installed cpe:/o:kde:plasma:6.0.2. 3. Installed https://github.com/ValveSoftware/Proton/releases/tag/proton-9.0-beta15. 4. Installed https://store.steampowered.com/app/264710/Subnautica/. 5. Invoked steam steam://rungameid/264710. 6. Deselected and reselected fullscreen mode multiple times. I am no longer able to reproduce https://bugs.kde.org/show_bug.cgi?id=476306#c0, a duplicate of this issue. 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! *** Bug 485327 has been marked as a duplicate of this bug. *** 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! *** Bug 486503 has been marked as a duplicate of this bug. *** *** Bug 486997 has been marked as a duplicate of this bug. *** 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! 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! *** Bug 491213 has been marked as a duplicate of this bug. *** Created attachment 173639 [details]
extending regexp to include so far uncontrolled window works fine
I found a new way to force a crash in KWin::X11Window::finishCompositing
Steps to reproduce:
- install Firefox Beta (explicitly not the snap, but download from mozilla directly)
- run it and rightclick a link to save it
- with the GTK save-dialog open (explicitly not QT-dialog) try create a rule to resize/move the dialog to the side
Observation:
- if the dialog was so far not under control of the window-rule, applying a fresh rule, e.g. by fiddling with the title-regexp-matcher, to freshly include the dialog, the rule applies nicely and the dialog jumps in the background to the desired position/dimension. (See this screenshot)
- Now with the dialog under control, I increased the force x-position from 185 to 186 pixels - on Apply KWin crashes. (See next screenshot in next post)
- If the dialog is not open, changing the rules x-pos and applying it works fine (just cancel the dialog and reopen it, once you save the KWin rule)
Created attachment 173640 [details]
fiddle with x-pos while controlled dialog is open in background
Here is the backtrace:
-----
Downloading separate debug info for system-supplied DSO at 0x7ffc89999000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/kwin_x11 --replace'.
Program terminated with signal SIGSEGV, Segmentation fault.
Download failed: Das Argument ist ungültig. Continuing without source file ./nptl/./nptl/pthread_sigmask.c.
#0 __GI___pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x0) at ./nptl/pthread_sigmask.c:43
warning: 43 ./nptl/pthread_sigmask.c: Datei oder Verzeichnis nicht gefunden
[Current thread is 1 (Thread 0x71afc4477e80 (LWP 2480))]
(gdb) bt
#0 __GI___pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x0) at ./nptl/pthread_sigmask.c:43
#1 0x000071afc82454fd in __GI___sigprocmask (how=<optimized out>, set=<optimized out>, oset=<optimized out>) at ../sysdeps/unix/sysv/linux/sigprocmask.c:25
#2 0x000071afcb4900d4 in KCrash::setCrashHandler (handler=handler@entry=0x0) at ./src/kcrash.cpp:419
#3 0x000071afcb4926b7 in KCrash::defaultCrashHandler (sig=11) at ./src/kcrash.cpp:630
#4 <signal handler called>
#5 0x000071afcb0f3a46 in std::default_delete<KWin::EffectWindowImpl>::operator() (__ptr=0x64f2137df660, this=<optimized out>) at /usr/include/c++/13/bits/unique_ptr.h:93
#6 std::__uniq_ptr_impl<KWin::EffectWindowImpl, std::default_delete<KWin::EffectWindowImpl> >::reset (__p=0x0, this=0x64f21455bde8) at /usr/include/c++/13/bits/unique_ptr.h:211
#7 std::unique_ptr<KWin::EffectWindowImpl, std::default_delete<KWin::EffectWindowImpl> >::reset (__p=0x0, this=0x64f21455bde8) at /usr/include/c++/13/bits/unique_ptr.h:509
#8 KWin::Window::finishCompositing (this=0x64f21455bcc0, releaseReason=<optimized out>) at /usr/src/kwin-4:5.27.11-0ubuntu3/src/window.cpp:370
#9 0x000071afcafc0cf5 in KWin::X11Window::finishCompositing (releaseReason=KWin::ReleaseReason::Release, this=0x64f21455bcc0) at /usr/src/kwin-4:5.27.11-0ubuntu3/src/x11window.cpp:1491
#10 KWin::Compositor::stop (this=0x64f2139229c0) at /usr/src/kwin-4:5.27.11-0ubuntu3/src/composite.cpp:523
#11 KWin::Compositor::stop (this=0x64f2139229c0) at /usr/src/kwin-4:5.27.11-0ubuntu3/src/composite.cpp:505
#12 0x000071afcafb9783 in KWin::Compositor::reinitialize (this=0x64f2139229c0) at /usr/src/kwin-4:5.27.11-0ubuntu3/src/composite.cpp:628
#13 0x000071afc9712e16 in QtPrivate::QSlotObjectBase::call (a=0x7ffc89952f40, r=0x64f2139229c0, this=0x64f213a3aa40) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false> (sender=0x64f213848300, signal_index=61, argv=0x7ffc89952f40) at kernel/qobject.cpp:3925
#15 0x000071afcb112475 in KWin::Workspace::slotReconfigure (this=0x64f2138a83a0) at /usr/src/kwin-4:5.27.11-0ubuntu3/src/workspace.cpp:1017
#16 0x000071afc9712e16 in QtPrivate::QSlotObjectBase::call (a=0x7ffc89953100, r=0x64f2138a83a0, this=0x64f213971b00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#17 doActivate<false> (sender=0x64f2138a84e0, signal_index=3, argv=0x7ffc89953100) at kernel/qobject.cpp:3925
#18 0x000071afc970b697 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x71afc996c2e0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc89953100) at kernel/qobject.cpp:3985
#19 0x000071afc971710d in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#20 0x000071afc970624b in QObject::event (this=0x64f2138a84e0, e=0x7ffc89953270) at kernel/qobject.cpp:1369
#21 0x000071afc8b6bd45 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x64f2138a84e0, e=0x7ffc89953270) at kernel/qapplication.cpp:3640
#22 0x000071afc96d8118 in QCoreApplication::notifyInternal2 (receiver=0x64f2138a84e0, event=0x7ffc89953270) at kernel/qcoreapplication.cpp:1064
#23 0x000071afc96d8332 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#24 0x000071afc97345ab in QTimerInfoList::activateTimers (this=0x64f2136721c0) at kernel/qtimerinfo_unix.cpp:643
#25 0x000071afc9734f11 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#26 idleTimerSourceDispatch (source=source@entry=0x64f213671390) at kernel/qeventdispatcher_glib.cpp:230
#27 0x000071afc6f145b5 in g_main_dispatch (context=0x71afbc000ed0) at ../../../glib/gmain.c:3344
#28 0x000071afc6f73717 in g_main_context_dispatch_unlocked (context=0x71afbc000ed0) at ../../../glib/gmain.c:4152
#29 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x71afbc000ed0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4217
#30 0x000071afc6f13a53 in g_main_context_iteration (context=0x71afbc000ed0, may_block=1) at ../../../glib/gmain.c:4282
#31 0x000071afc9735279 in QEventDispatcherGlib::processEvents (this=0x64f213672340, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x000071afc96d6a7b in QEventLoop::exec (this=this@entry=0x7ffc899534d0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#33 0x000071afc96df3e8 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#34 0x000071afc9b38ecd in QGuiApplication::exec () at kernel/qguiapplication.cpp:1863
#35 0x000071afc8b6bcb9 in QApplication::exec () at kernel/qapplication.cpp:2832
#36 0x000064f211b6bba1 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/kwin-4:5.27.11-0ubuntu3/src/main_x11.cpp:447
(gdb)
-----
Versions:
Firefox-Beta: 131.0b6 (64-Bit)
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-44-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4700MQ CPU @ 2.40GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4600
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GE70 2OC\2OD\2OE
System Version: REV:1.0
Seems I forgot to reopen the ticket ... I'm getting old :D Reducing Importance to NOR since this is X11 only and X11 isn't the default session type anymore. Still, we should fix it if possible. |
Created attachment 156695 [details] backtrace I had Firefox running and it's window froze, I thought it might be a kwin compositing being broken again, so I pressed alt+shift+f12 and kwin crashed. Operating System: Arch Linux KDE Plasma Version: 5.27.1 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.2.0-arch1-1 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz Memory: 19.3 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620 Manufacturer: LENOVO Product Name: 81BF System Version: Lenovo ideapad 520-15IKB