Bug 440459 - KWin crashes when attempting to open LibreOffice
Summary: KWin crashes when attempting to open LibreOffice
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.22.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-31 19:56 UTC by Matthew Trescott
Modified: 2023-09-06 10:38 UTC (History)
1 user (show)

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


Attachments
Backtrace from running "thread apply all bt full" in gdb (58.45 KB, text/plain)
2021-07-31 19:56 UTC, Matthew Trescott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Trescott 2021-07-31 19:56:19 UTC
Created attachment 140428 [details]
Backtrace from running "thread apply all bt full" in gdb

SUMMARY
Using KWin with Wayland and two monitors; the smaller with with 125% scaling.

STEPS TO REPRODUCE
1. Open LibreOffice Writer

OBSERVED RESULT
KWin crashes, all windows are closed, and the session restarts

EXPECTED RESULT
LibreOffice opens normally

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I installed systemd-coredump and then ran the file through GDB and attached it. Hopefully that's useful.
Comment 1 David Edmundson 2022-03-09 11:56:08 UTC
Presumably here:

#6  KWin::clamp_row(int, int, int, uint32_t const*, uint32_t*) (left=2, width=-1, right=3, src=0x55ad61860988, dest=0x55ad61860960) at /usr/src/debug/kwin5-5.22.4-1.1.x86_64/src/plugins/scenes/opengl/scene_opengl.cpp:2549
#7  0x00007f29591252c2 in KWin::clamp (viewport=<optimized out>, image=...) at /usr/src/debug/kwin5-5.22.4-1.1.x86_64/src/plugins/scenes/opengl/scene_opengl.cpp:2578
Comment 2 David Edmundson 2023-09-06 10:38:41 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.