https://bugs.documentfoundation.org/show_bug.cgi?id=167572
Bug ID: 167572
Summary: gtk4 VCL crashes immediately with free(): invalid
pointer
Product: LibreOffice
Version: 25.2.5.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
When launching LO using the GTK4 renderer it errors and crashes immediately.
This has been occurring for many releases. Not sure I've ever seen it
functional.
Same crashing behavior under Gnome, Sway, and Hyprland.
I always delete ~/.config/libreoffice prior to reproducing any issue.
NOTE: This is a pure native Wayland environment without Xwayland.
Attaching GDB backtraces.
```
$ SAL_USE_VCLPLUGIN=gtk4 libreoffice --calc
Failed to open display
free(): invalid pointer
Gtk-Message: 07:01:06.696: GtkDialog mapped without a transient parent. This is
discouraged.
Gtk-Message: 07:01:14.509: GtkDialog mapped without a transient parent. This is
discouraged.
```
```
Jul 17 12:03:05 systemd-coredump[102259]: Process 102198 (soffice.bin) of user
1000 terminated abnormally with signal 11/SEGV, processing...
Jul 17 12:03:05 systemd[1]: Started Process Core Dump (PID 102259/UID 0).
Jul 17 12:03:06 systemd-coredump[102260]: [🡕] Process 102198 (soffice.bin) of
user 1000 dumped core.
```
- kernel 6.15.7
- gtk3 3.24.49
- gtk4 4.18.6
- sway 1.11 (*Native Wayland*)
- wlroots 0.19 (*Vulkan Backend*) (*-Dxwayland=disabled*)
- hyprland 0.50 (*-DNO_XWAYLAND:STRING=true*)
- mutter 48.4 (*-Dxwayland=false -Dx11=false*)
Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 24; OS: Linux 6.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
25.2.5-1
Calc: threaded
Steps to Reproduce:
1. Launch LibreOffice with SAL_USE_VCLPLUGIN=gtk4
2. Observe errors and crash
Actual Results:
Errors and crash
Expected Results:
Functional LO using GTK4
Reproducible: Always
User Profile Reset: Yes
Additional Info:
See attached GDB Backtraces
--
You are receiving this mail because:
You are the assignee for the bug.