[Libreoffice-bugs] [Bug 138317] New: soffice.exe 7.0.1.2 crashes on Windows Server Core 1903 or newer.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 18 19:49:45 UTC 2020


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

            Bug ID: 138317
           Summary: soffice.exe 7.0.1.2 crashes on Windows Server Core
                    1903 or newer.
           Product: LibreOffice
           Version: 7.0.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: reik at poczta.onet.pl

Description:
Libre Office portable starts to crash on Windows Server Core 1903 or newer
(both Hyper-V and run as docker image). After crash I didn't see any logfile,
also eventlog was empty.


Libre Office works correctly only on Windows Server Core version LTSC - 1809.


Easiest way to reproduce this error is to run LibreOffice as docker image and
run convert operation. I described whole procedure in "Steps to reproduce"
section.

Steps to Reproduce:
1. Install "Docker Desktop for Windows" on Windows 1903 or higher

2. Intall LibreOffice portable to "C:\LibreTmp\Libre7" ; create file
"C:\LibreTmp\sample.docx" (sample file to convert)

3. Run "Windows Server Core 1903" container in "interactive mode" with mounted
tmp folder: 

   C:\> docker run -it --entrypoint powershell -v "C:\LibreTmp\:C:\LibreTmp"
mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-1903

3. Run conversion for any document (in my case I used "sample.docx" and convert
it to pdf) in container:

   C:\> mkdir c:\user\env
   C:\> mkdir c:\user\profile
   C:\> $env:USERPROFILE = "C:\user\profile"
   C:\> Start-Process "C:\LibreTmp\App\libreoffice\program\soffice.exe"
-argumentlist "--convert-to pdf --outdir C:\LibreTmp\ C:\LibreTmp\sample.docx"
-wait
   C:\> dir C:\LibreTmp\

4. As a result there is no converted document (c:\LibreTmp\sample.pdf) because
Libre Office crashed in strange way..

5. Exit and shutdown container

   C:\> exit 


If you run above operations using "Windows Server Core 1809" container
everything will work perfectly. To check just change step "3" to:

   C:\>  docker run -it --entrypoint powershell -v "C:\LibreTmp\:C:\LibreTmp"
mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019


Actual Results:
Libre Office crashed, there is no converted document

Expected Results:
there is converted document as result of operation.


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice crashed without any logfile..

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201118/de509a94/attachment.htm>


More information about the Libreoffice-bugs mailing list