Bug 161931 - FILEOPEN: Crash on loading specific document
Summary: FILEOPEN: Crash on loading specific document
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-06 16:54 UTC by foo
Modified: 2024-07-10 11:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description foo 2024-07-06 16:54:30 UTC
When loading a [confidential] document (.docx), Writer crashes with:

Unspecified Application Error

Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x37722)[0x7f1c78987722]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x378fa)[0x7f1c789878fa]
/lib/x86_64-linux-gnu/libc.so.6(+0x3c050)[0x7f1c7445b050]
...
/usr/lib/libreoffice/program/soffice.bin(+0x10b1)[0x55a2f5e000b1]

The document also fails to convert to PDF using the command line:

$ soffice --convert-to pdf file.docx 
Gtk-Message: 17:39:01.845: Failed to load module "colorreload-gtk-module"
Gtk-Message: 17:39:01.846: Failed to load module "window-decorations-gtk-module"
convert /tmp/file.docx -> /tmp/file.pdf using filter : writer_pdf_Export
Unspecified Application Error

The same error occurs when using --safe-mode.

However, the --cat mode successfully prints the plain-text content of the file.

As a reference point, Okular's backend for ODT documents (Debian 12: okular-backend-odt 1:3.2.1+dfsg-6+b3) can import the document ok.

I'm not able to supply the offending document but would be happy to work through debugging it with someone. As far as I know the file isn't anything particularly exotic.

Details of system:

Debian 12 (bookworm) on Linux faramir 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux on a Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz

$ dpkg -l | grep libreoffice
ii  liblibreoffice-java                                         4:7.4.7-1+deb12u3                   all          LibreOffice UNO runtime environment -- Java library
ii  liblibreofficekitgtk                                        4:7.4.7-1+deb12u3                   amd64        GTK3 widget wrapping LibreOffice functionality
ii  libreoffice-base                                            4:7.4.7-1+deb12u3                   amd64        office productivity suite -- database
ii  libreoffice-base-core                                       4:7.4.7-1+deb12u3                   amd64        office productivity suite -- shared library
ii  libreoffice-base-drivers                                    4:7.4.7-1+deb12u3                   amd64        Database connectivity drivers for LibreOffice
ii  libreoffice-calc                                            4:7.4.7-1+deb12u3                   amd64        office productivity suite -- spreadsheet
ii  libreoffice-common                                          4:7.4.7-1+deb12u3                   all          office productivity suite -- arch-independent files
ii  libreoffice-core                                            4:7.4.7-1+deb12u3                   amd64        office productivity suite -- arch-dependent files
ii  libreoffice-draw                                            4:7.4.7-1+deb12u3                   amd64        office productivity suite -- drawing
ii  libreoffice-gnome                                           4:7.4.7-1+deb12u3                   amd64        office productivity suite -- GNOME integration
ii  libreoffice-gtk3                                            4:7.4.7-1+deb12u3                   amd64        office productivity suite -- GTK+ 3 integration
ii  libreoffice-help-common                                     4:7.4.7-1+deb12u3                   all          office productivity suite -- common files for LibreOffice help
ii  libreoffice-help-en-gb                                      4:7.4.7-1+deb12u3                   all          office productivity suite -- English_british help
ii  libreoffice-help-en-us                                      4:7.4.7-1+deb12u3                   all          office productivity suite -- English_american help
ii  libreoffice-impress                                         4:7.4.7-1+deb12u3                   amd64        office productivity suite -- presentation
ii  libreoffice-java-common                                     4:7.4.7-1+deb12u3                   all          office productivity suite -- arch-independent Java support files
ii  libreoffice-l10n-en-gb                                      4:7.4.7-1+deb12u3                   all          office productivity suite -- English_british language package
ii  libreoffice-math                                            4:7.4.7-1+deb12u3                   amd64        office productivity suite -- equation editor
ii  libreoffice-sdbc-firebird                                   4:7.4.7-1+deb12u3                   amd64        Firebird SDBC driver for LibreOffice
ii  libreoffice-sdbc-hsqldb                                     4:7.4.7-1+deb12u3                   amd64        HSQLDB SDBC driver for LibreOffice
ii  libreoffice-style-breeze                                    4:7.4.7-1+deb12u3                   all          office productivity suite -- Breeze symbol style
ii  libreoffice-style-colibre                                   4:7.4.7-1+deb12u3                   all          office productivity suite -- colibre symbol style
ii  libreoffice-style-elementary                                4:7.4.7-1+deb12u3                   all          office productivity suite -- Elementary symbol style
ii  libreoffice-writer                                          4:7.4.7-1+deb12u3                   amd64        office productivity suite -- word processor
ii  libreofficekit-data                                         4:7.4.7-1+deb12u3                   all          common data for LOKDocView
Comment 1 Julien Nabet 2024-07-06 19:07:11 UTC
LO 7.4.7 is EOL.
Please give a try with a recent LO version. Debian testing contains 24.2.4.
Either upgrade to Debian testing or just use "testing" for LO and related packages.
"stable" Debian is more for production servers than desktops.
"SID" is bleeding edge but sometimes packages may be broken.
"testing" is a good compromise between both.


This link https://wiki.documentfoundation.org/QA/FirstSteps may also help.
Comment 2 foo 2024-07-10 11:11:40 UTC
Thanks for the repsonse.

The file has opened ok on 24.2.4.2

Version: 24.2.4.2 (AARCH64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 8; OS: macOS 14.5; UI render: Skia/Raster; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-US
Comment 3 Julien Nabet 2024-07-10 11:41:14 UTC
Great! Let's put this one to WFM then.