Bug 153947 - On RHEL Server 7.9, Libreoffice 7.5.1.2 crashes immediately with osl::Thread::create failed
Summary: On RHEL Server 7.9, Libreoffice 7.5.1.2 crashes immediately with osl::Thread:...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Commandline LibreOffice-Snap
  Show dependency treegraph
 
Reported: 2023-03-03 18:18 UTC by david
Modified: 2023-10-03 03:16 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 david 2023-03-03 18:18:13 UTC
Description:
Libreoffice 7.5.1.2 crashes immediately if I run "--headless --convert-to" on my server.

Libreoffice 7.4.5.1 works fine.

Steps to Reproduce:
$ sudo snap refresh libreoffice
libreoffice 7.5.1.2 from Canonical✓ refreshed
$ echo test > test.txt
$ /snap/bin/libreoffice --headless --convert-to odt:writer8 --outdir . test.txt


Actual Results:
# Immediately throws std::runtime_error and exits. No file is converted.

Warning: Schema “org.gnome.system.locale” has path “/system/locale/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
terminate called after throwing an instance of 'std::runtime_error'
  what():  osl::Thread::create failed
/snap/libreoffice/270/libreoffice.wrapper: line 21: 19774 Aborted                 "$soffice" "$@"
$ ls -l test.odt
ls: cannot access test.odt: No such file or directory

Expected Results:
# Immediately throws std::runtime_error and exits. File is converted.

$ sudo snap revert libreoffice
libreoffice reverted to 7.4.5.1
$ /snap/bin/libreoffice --headless --convert-to odt:writer8 --outdir . test.txt
convert /home/gl/test.txt -> /home/gl/test.odt using filter : writer8
$ ls -l test.odt
-rw-rw-r-- 1 gl gl 8656 3月   3 17:59 test.odt


Reproducible: Always


User Profile Reset: Yes

Additional Info:
This is a regression: 7.4.5.1 works correctly.
Comment 1 david 2023-03-03 18:19:31 UTC
$ snap --version
snap    2.57.6-2.el7
snapd   2.57.6-2.el7
series  16
rhel    7.9
kernel  3.10.0-1160.53.1.el7.x86_64
Comment 2 david 2023-03-03 18:22:39 UTC
Expected Results should say: "does NOT throw std::runtime_error and exit. File is converted."
Comment 3 Stéphane Guillou (stragu) 2023-03-05 09:10:04 UTC
No crash for me on Ubuntu 20.04 with LO 7.5 installed from debs:

Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

No crash either with LO 7.5.1.2 installed as snap:

Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: 81bce3cd17f5e01886721863a4fa0d99f91033a6
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Does this only happen with the snap, not with RPMs?
Comment 4 QA Administrators 2023-09-02 03:06:02 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2023-10-03 03:16:38 UTC
Dear david,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp