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..
Any better with 7.0.3? (with non portable version if possible from https://www.libreoffice.org/download/download/) Here are some info to retrieve a backtrace: https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#Windows:_How_to_get_a_backtrace
Created attachment 170122 [details] soffice dump file
I checked on 7.1.0.3 version and there is still the same situation. I attached dump (procdump.exe -accepteula -w soffice.exe) - maybe it will help.
I have already rechecked this bug on "Windows Server 2019 20H2" (both: as virtual machine and as container) and LibreOffice in versions: 6.4.7, 7.0.4, 7.1.1 works properly on this Windows Server edition. Notes: 1. LibreOffice versions was downloaded from https://www.libreoffice.org/download/portable-versions/ 2. There is still problem with running LibreOffice on "Windows Server 2019 1903" and "Windows Server 2019 1909" 3. It look like there was an error in Windows and was fixed recently by Microsoft. Because LibreOffice works properly on newest version on Windows Server 2019 20H2 I'm closing this case.