[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libreoffice-nogui: application crash when using the loadComponentFromURL method



Package: libreoffice-nogui
Severity: important

Dear Maintainer,

I am using libreoffice (version 1:7.0.4-4+deb116) headless in order to generate
ODT documents with python UNO library (python3-uno package).

Using loadComponentFromUrl method from the UNO library lead to libreoffice
crash:

Fatal exception: Signal 6
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3dc53)[0x7fa907c5bc53]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3ddc2)[0x7fa907c5bdc2]
/lib/x86_64-linux-gnu/libc.so.6(+0x38d60)[0x7fa907a76d60]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x141)[0x7fa907a76ce1]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x123)[0x7fa907a60537]
/usr/lib/libreoffice/program/libmergedlo.so(+0x11652f2)[0x7fa908de92f2]
/usr/lib/libreoffice/program/libmergedlo.so(+0x220f190)[0x7fa909e93190]
/usr/lib/libreoffice/program/libmergedlo.so(+0x32b2419)[0x7fa90af36419]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x17412)[0x7fa907c35412]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3dd2f)[0x7fa907c5bd2f]
/lib/x86_64-linux-gnu/libc.so.6(+0x38d60)[0x7fa907a76d60]


Using strace

strace -f -o dump.txt  /usr/bin/libreoffice  --headless "--
accept=socket,host=127.0.0.1,port=8101;urp" --nodefault --nofirststartwizard
--nolockcheck --nologo --norestore --pidfile=/var/run/libreoffice.pid

It seems that *.ui are missing:

(...)
489191 openat(AT_FDCWD,
"/usr/lib/libreoffice/share/config/soffice.cfg/modules/scalc/ui/posbox.ui",
O_RDONLY) = -1 ENOENT (No such file or directory)
(...)

After copying the *.ui files from a classic LibreOffice installation, the
software behaves normally: no more crashes.

Please consider shipping *.ui files with each libreoffice-*-nogui package.

Best regards,

-- System Information:
Debian Release: 11.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-23-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libreoffice-nogui depends on:
pn  libreoffice-base-nogui                <none>
pn  libreoffice-calc-nogui                <none>
pn  libreoffice-core-nogui                <none>
pn  libreoffice-draw-nogui                <none>
pn  libreoffice-impress-nogui             <none>
pn  libreoffice-math-nogui                <none>
pn  libreoffice-report-builder-bin-nogui  <none>
pn  libreoffice-writer-nogui              <none>
ii  python3-uno                           1:7.0.4-4+deb11u7

Versions of packages libreoffice-nogui recommends:
ii  libreoffice-java-common             1:7.0.4-4+deb11u7
ii  libreoffice-script-provider-bsh     1:7.0.4-4+deb11u7
ii  libreoffice-script-provider-js      1:7.0.4-4+deb11u7
ii  libreoffice-script-provider-python  1:7.0.4-4+deb11u7
ii  libreoffice-sdbc-mysql              1:7.0.4-4+deb11u7
ii  libreoffice-sdbc-postgresql         1:7.0.4-4+deb11u7

Versions of packages libreoffice-nogui suggests:
ii  default-jre [java8-runtime]              2:1.11-72
ii  ghostscript                              9.53.3~dfsg-7+deb11u4
ii  gnupg                                    2.2.27-2+deb11u2
pn  gpa                                      <none>
ii  graphicsmagick-imagemagick-compat [imag  1.4+really1.3.36+hg16481-2+deb11u1
ii  hunspell-en-us [hunspell-dictionary]     1:2019.10.06-1
ii  hunspell-fr-classical [hunspell-diction  1:7.0-1
ii  hyphen-fr [hyphen-hyphenation-patterns]  1:7.1.0~rc3-3
ii  hyphen-pt-pt [hyphen-hyphenation-patter  1:7.1.0~rc3-3
pn  libreoffice-grammarcheck                 <none>
pn  myspell-dictionary                       <none>
ii  mythes-fr [mythes-thesaurus]             1:7.1.0~rc3-3
ii  openjdk-11-jre [java8-runtime]           11.0.18+10-1~deb11u1
pn  pstoedit                                 <none>
ii  temurin-8-jdk [java8-runtime]            8.0.372.0.0+7-1


Reply to: