https://bugs.documentfoundation.org/show_bug.cgi?id=172341
Bug ID: 172341
Summary: Segfault on close when using comments in LibreOffice
calc
Product: LibreOffice
Version: 25.8.1.1 release
Hardware: All
OS: FreeBSD
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Description:
While working on a calc files we have encountered issue with LibreOffice.
Application keeps crashing on close when using "comments". We were able to
reproduce it in 100% times on all tested workstations.
History of tested versions:
24.8.2.1 on FreeBSD 14.2 -> works well
25.x.x on FreeBSD 14.4 -> error
26.x.x on FreeBSD 14.4 -> error
25.x.x on FreeBSD 15.0 -> error
26.x.x on FreeBSD 15.1-RC2 -> error
We have tested at least:
libreoffice-24.8.2.1.tar.xz (works)
libreoffice-25.8.1.1.tar.xz
libreoffice-25.8.4.2.tar.xz
libreoffice-26.2.0.3.tar.xz
libreoffice-26.2.2.2.tar.xz
libreoffice-26.2.3.2.tar.xz
dbg trace when the error occurred:
Thread 1 received signal SIGSEGV, Segmentation fault.
Address not mapped to object.
0x0000000803054e1c in ?? () from
/usr/local/lib/libreoffice/program/libsvxcorelo.so
#0 0x0000000803054e1c in ??? ()
at /usr/local/lib/libreoffice/program/libsvxcorelo.so
#1 0x00000008030537c4 in SdrObject::~SdrObject() ()
at /usr/local/lib/libreoffice/program/libsvxcorelo.so
#2 0x0000000803055dbd in ??? ()
at /usr/local/lib/libreoffice/program/libsvxcorelo.so
#3 0x00000008121a4736 in ??? ()
In frame 0:
(gdb) disassemble 0x0000000803054e1c-64,0x0000000803054e1c+64
Dump of assembler code from 0x803054ddc to 0x803054e5c:
[...]
0x0000000803054e16: mov %rdx,%r8
0x0000000803054e19: mov (%rdi),%rax
=> 0x0000000803054e1c: mov (%rax,%r8,8),%rax
(gdb) info registers
rax 0x0 0
[...]
ScDocument::~ScDocument() (The internal memory manager for a LibreOffice Calc
Spreadsheet Document is closing down).
SdrObject::~SdrObject() (The Drawing Layer Engine is destroying a graphical
vector object, shape, or grid element inside that spreadsheet).
Steps to Reproduce:
1. Create a new Calc file
2. Add a second sheet to the file
3. Add a comment in each sheet (B2 in attached document)
4. Save the file
5. Swap the order of the sheets in the file
6. Close the file without saving (there is no crush if we are saving it)
Actual Results:
LibreOffice crashes while closing the Calc document. The recovery dialog is
shown.
Expected Results:
Application closes correctly
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Version: 25.8.4.2 (X86_64) / LibreOffice Community
Build ID: 580(Build:2)
CPU threads: 12; OS: FreeBSD 14.4; UI render: default; VCL: qt6 (cairo+xcb)
[same bug with qt5 and GTK3, works with SAL_USE_VCLPLUGIN=gen]
Locale: pl-PL (pl_PL.UTF-8); UI: en-US
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.