Bug 490915 - kwin_wayland crashed with SIGSEV in KWin::EffectWindow::isNormalWindow
Summary: kwin_wayland crashed with SIGSEV in KWin::EffectWindow::isNormalWindow
Status: RESOLVED DUPLICATE of bug 468067
Alias: None
Product: kwin
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.1.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-28 09:01 UTC by Daniel Schulte
Modified: 2024-08-28 10:16 UTC (History)
1 user (show)

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


Attachments
kwin_wayland stacktrace crashing in KWin::EffectWindow::isNormalWindow (4.37 KB, text/plain)
2024-07-28 09:01 UTC, Daniel Schulte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Schulte 2024-07-28 09:01:32 UTC
Created attachment 172063 [details]
kwin_wayland stacktrace crashing in KWin::EffectWindow::isNormalWindow

SUMMARY
As the title suggests, kwin_wayland crashed. I think I was interacting with an XWayland application (possibly git gui) when it crashed. This is the first time I've seen this crash and it hasn't happened since then (which was on Friday 2024-07-26).


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X3D 16-Core Processor
Memory: 62,0 GiB of RAM
Graphics Processor: AMD Radeon RX 5500 XT
Manufacturer: ASUS

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-07-30 19:22:44 UTC
Full backtrace for searchability:

Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayl'.
Program terminated with signal SIGSEGV, Segmentation fault.
Downloading source file /usr/src/debug/kwin/kwin-6.1.3/src/effect/effectwindow.cpp
#0  0x000077342abed399 in KWin::EffectWindow::isNormalWindow (this=this@entry=0x5732490aac30)
    at /usr/src/debug/kwin/kwin-6.1.3/src/effect/effectwindow.cpp:265
265     WINDOW_HELPER(bool, isNormalWindow, isNormalWindow)
[Current thread is 1 (Thread 0x773421c8aa00 (LWP 5781))]
(gdb) bt
#0  0x000077342abed399 in KWin::EffectWindow::isNormalWindow (this=this@entry=0x5732490aac30)
    at /usr/src/debug/kwin/kwin-6.1.3/src/effect/effectwindow.cpp:265
#1  0x0000573234676f94 in KWin::isHighlightWindow (window=0x5732490aac30)
    at /usr/src/debug/kwin/kwin-6.1.3/src/plugins/highlightwindow/highlightwindow.cpp:62
#2  KWin::HighlightWindowEffect::finishHighlighting (this=0x573249b0d130)
    at /usr/src/debug/kwin/kwin-6.1.3/src/plugins/highlightwindow/highlightwindow.cpp:187
#3  0x000057323467ea80 in KWin::HighlightWindowEffect::qt_static_metacall (_o=0x573249b0d130,
    _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7ffe7da40fd8)
    at /usr/src/debug/kwin/build/src/plugins/highlightwindow/highlightwindow_autogen/include/moc_highlightwindow.cpp:129
#4  KWin::HighlightWindowEffect::qt_metacall (this=0x573249b0d130, _c=QMetaObject::InvokeMetaMethod, _id=5,
    _a=0x7ffe7da40fd8)
    at /usr/src/debug/kwin/build/src/plugins/highlightwindow/highlightwindow_autogen/include/moc_highlightwindow.cpp:164
#5  0x00007734291c863d in QDBusConnectionPrivate::deliverCall (this=this@entry=0x77341c001690,
    object=object@entry=0x573249b0d130, msg=..., metaTypes=..., slotIdx=15)
    at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1007
#6  0x00007734291c8edf in QDBusConnectionPrivate::activateCall (this=0x77341c001690, object=0x573249b0d130,
    flags=..., msg=...) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:916
#7  0x00007734291d2959 in QDBusConnectionPrivate::activateObject (this=0x77341c001690, node=..., msg=...,
    pathStartPos=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1508
#8  0x00007734291d2dea in QDBusActivateObjectEvent::placeMetaCall (this=0x77341c03e3b0)
    at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusintegrator.cpp:1604
#9  0x000077342838c00f in QObject::event (this=0x573249b0d130, e=0x77341c03e3b0)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1452
#10 0x00007734294fc51c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x573249b0d130,
    e=0x77341c03e3b0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
--Type <RET> for more, q to quit, c to continue without paging--c
#11 0x0000773428344d28 in QCoreApplication::notifyInternal2 (receiver=0x573249b0d130, event=event@entry=0x77341c03e3b0)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
#12 0x00007734283450eb in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x77341c03e3b0)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1583
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x57324893d8c0)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1940
#14 0x00007734284c5bf3 in QEventDispatcherUNIX::processEvents (this=0x5732489d3f20, flags=flags@entry=...)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_unix.cpp:415
#15 0x0000773428df9693 in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...)
    at /usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qunixeventdispatcher.cpp:27
#16 0x000077342834f01e in QEventLoop::processEvents (this=0x7ffe7da41790, flags=...)
    at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#17 QEventLoop::exec (this=0x7ffe7da41790, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#18 0x000077342834934d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#19 0x00007734294f83ba in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2555
#20 0x0000573234624015 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin/kwin-6.1.3/src/main_wayland.cpp:639
Comment 2 Vlad Zahorodnii 2024-08-28 10:16:18 UTC
*** This bug has been marked as a duplicate of bug 468067 ***