Hello,
I’m testing the conversion process using LibreOffice headless like so:
.\soffice.exe “-env:UserInstallation=file:///C:/Users/ABCDEF/AppData/Local/Temp/lo/89446424-9784-4c03-aa30-e94fb07aba65” --nofirststartwizard --headless --convert-to odt --norestore --writer --outdir “C:\Development\97430a1e-8b0d-4790-b78b-291463b395a6” “C:\Development\97430a1e-8b0d-4790-b78b-291463b395a6\test.docx”
It works most of the time, but sometimes it fails, leaving me with a file called “.~lock.test.odt#” and “lu305764bw6vq.tmp”.
When I check in the “crash” folder of the user installation path, I get this:
Process name: soffice.bin : C:\Program Files\LibreOffice\program\soffice.bin
Exception Code: 0xC0000005
Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
And when I have a look in the event viewer, I get this:
Faulting application name: soffice.bin, version: 7.2.0.4, time stamp: 0x611afbde
Faulting module name: mergedlo.dll, version: 7.2.0.4, time stamp: 0x611afbcf
Exception code: 0xc0000005
Fault offset: 0x000000000265c7fe
Faulting process id: 0x95b8
Faulting application start time: 0x01d7ae55ac60ee25
Faulting application path: C:\Program Files\LibreOffice\program\soffice.bin
Faulting module path: C:\Program Files\LibreOffice\program\mergedlo.dll
Report Id: 1e6b484c-dc24-4005-b909-84128999eae1
Faulting package full name:
Faulting package-relative application ID:
I have no idea what’s going on and I can’t get to isolate a specific scenario. I noticed that it seems to happen more often when the UserInstallation path does not exist upfront, however, it also happens when it already exists. I also noticed that it happened more often when converting file located on a network drive.