Summary: | kwin_wayland crashes when snapping wayland windows. | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | kkartaltepe |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | nate |
Priority: | NOR | Flags: | vlad.zahorodnii:
NVIDIA+
|
Version: | 5.23.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
kkartaltepe
2021-11-23 17:53:41 UTC
I rebuilt kwin with debug symbols however only the top of the stack is actually in kwin so it doesnt provide much additional info, the Qt5 core libraries do carry their function symbols though so I presume this is sufficient. ``` #22 0x00007ffff4aead6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #23 0x00007ffff4af32d4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #24 0x00005555555cd654 in main(int, char**) (argc=2, argv=0x7fffffffe608) at /home/upstreams/kwin/src/main_wayland.cpp:745 ``` #4 0x00007f97cbc28def in () at /usr/lib/qt/plugins/org.kde.kwin.waylandbackends/KWinWaylandX11Backend.so #5 0x00007f97cbc290d3 in () at /usr/lib/qt/plugins/org.kde.kwin.waylandbackends/KWinWaylandX11Backend.so #6 0x00007f97c90a080f in () at /usr/lib/libwayland-server.so.0 #7 0x00007f97c90a0f51 in wl_resource_destroy () at /usr/lib/libwayland-server.so.0 I wonder what happens here. Can you please get a backtrace with debug symbols? Without it, I'm afraid this crash is inactionable. > Can you please get a backtrace with debug symbols?
Compiling Qt is intractable on my system last time I attempted it. At least unless I wanted to remove the package manager's installation. So im not sure that I personally would be able to provide any additional symbols from qt code.
You only need to rebuild kwin and probably kwayland-server > You only need to rebuild kwin and probably kwayland-server Comment 1 _is_ after building kwin with debug symbols, only frame #24 is attributed to kwin and you can see the stack in the comment. The frames you mention begin with `/qt/` so they appear to be part of Qt. I can try building kwayland-server but you would need to tell me which repository that is in as it doesnt appear to be part of the kwin repository. No, the relevant stuff is over here #0 0x00007f97c970ed22 in raise () at /usr/lib/libc.so.6 #1 0x00007f97c96f8862 in abort () at /usr/lib/libc.so.6 #2 0x00007f97c9c6ecee in () at /usr/lib/libepoxy.so.0 #3 0x00007f97c9c722ba in () at /usr/lib/libepoxy.so.0 #4 0x00007f97cbc28def in () at /usr/lib/qt/plugins/org.kde.kwin.waylandbackends/KWinWaylandX11Backend.so #5 0x00007f97cbc290d3 in () at /usr/lib/qt/plugins/org.kde.kwin.waylandbackends/KWinWaylandX11Backend.so Note that kwin's part of the backtrace has no debug symbols. You need to build kwin with -DCMAKE_BUILD_TYPE=RelWithDebInfo cmake option. It seems the part that I missed was
> QT_PLUGIN_PATH=`pwd`
Is required to inform the session how to find the compiled plugins, but it does not crash now.
|