Because OpenOffice Bugzilla registrations are closed and I don't have an
account, I was not able to file this bug report on that site. Please
forward appropriately:
My OS is Omarchy 4.04 (Linux).
Summary: SIGSEGV in sfx2::sidebar::Theme destructor on exit after the
last document is closed
Product / version: Apache OpenOffice 4.1.16, build 4116m3(Build:9816),
Linux x86-64. Packaged as Arch openoffice-bin 4.1.16-1. Running under
Wayland (Hyprland); the process was linked against the system X11 libraries.
What happened: One text document was open. It was saved, then closed.
The OpenOffice window was still up with no document. Closing that window
with the desktop's close-window key (same request as the title-bar close
button) made soffice.bin enter exit and segfault.
When: Wed 2026-09-30 18:20:09 CDT. The saved file was written at
18:19:55 and is intact. The process had been running about 21 hours.
Peak RSS 173 MB. This was the only soffice.bin crash recorded on the
machine. Memory was not exhausted (45 GiB available, no OOM kill).
Signal: SIGSEGV, SEGV_MAPERR. Fault address 0x70fee7acfc38, which is not
in any mapped file. The instruction there is mov r11, [rax+8] with rax =
0x70fee7acfc30.
Stack (crashing thread):
#0 libvcl.so + 0x22f158
Bitmap impl refcount was 1, so the destructor called the impl's
virtual destructor. That loads the pointer at impl+0x10 and calls
virtual-function slot 1. The vtable slot is unmapped.
#1 libvcl.so + 0x1f48bb (inside Bitmap::~Bitmap)
#2 Bitmap::~Bitmap() libvcl.so
#3 BitmapEx::~BitmapEx() libvcl.so
#4 libvcl.so + 0x23674d
#5 Image::~Image() libvcl.so
#6 libsfx.so + 0x2e6476 (unexported frames inside ~Theme)
#7 libsfx.so + 0x2e648c
#8 libsfx.so + 0x2e6850
#9 sfx2::sidebar::Theme::~Theme() deleting destructor, libsfx.so
#10 __cxa_finalize
#11 libsfx.so static finalizer
#12 exit
#13 __libc_start_main
The other thread was idle in libuno_sal.so, waiting on a condition
variable. OpenOffice's libraries have no build-id, so the three frames
inside ~Theme stayed unnamed. Disassembly of this binary shows
Bitmap::~Bitmap releasing its refcounted implementation, then a virtual
call through a vtable that is no longer mapped.
Expected: After the last document is saved and closed, closing the
application window exits cleanly.
Command line: /opt/openoffice4/program/soffice.bin (no filename). The
profile's extension log, rewritten at the crash second, still only
contains a first-run error from Sep 29 that
org.openoffice.en.hunspell.dictionaries was not deployed. Spellcheck is
not on the stack.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]