https://bugs.documentfoundation.org/show_bug.cgi?id=153947

            Bug ID: 153947
           Summary: On RHEL Server 7.9, Libreoffice 7.5.1.2 crashes
                    immediately with osl::Thread::create failed
           Product: LibreOffice
           Version: 7.5.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to