German Latorre
German Latorre

Reputation: 11138

Libreoffice command line crashes opening DOCX or converting to PDF, on Windows 7

Need to convert DOCX document to PDF using LibreOffice in command line mode. But it crashes:

soffice.exe -headless -invisible -convert-to pdf myfile.docx

It also crashes when trying to open the same document:

soffice.exe -o myfile.docx

However, it opens the file perfectly when opening LibreOffice from the Start menu.

Here are Windows 7 (32-bit) error details (in Spanish, no translation yet):

Firma con problemas:
  Nombre del evento de problema:    APPCRASH
  Nombre de la aplicación:  soffice.bin
  Versión de la aplicación: 4.3.2.2
  Marca de tiempo de la aplicación: 541af548
  Nombre del módulo con errores:    MSVCR110.dll
  Versión del módulo con errores:   11.0.51106.1
  Marca de tiempo del módulo con errores:   5098858e
  Código de excepción:  40000015
  Desplazamiento de excepción:  000a327c
  Versión del sistema operativo:    6.1.7601.2.1.0.256.1
  Id. de configuración regional:    3082
  Información adicional 1:  da3c
  Información adicional 2:  da3c0e7aedc374a773565a4a8dfc0c7a
  Información adicional 3:  7958
  Información adicional 4:  795815baca3b4b1817fdd25f3f5f80de

Upvotes: 3

Views: 1611

Answers (1)

rufushuang
rufushuang

Reputation: 300

It's a confirmed bug for LibreOffice 4.3.x on Windows

see: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=85777

And it can be workaround by

start /wait "lo" "C:\Program Files (x86)\LibreOffice 4\program\soffice" C:\a.ods

Upvotes: 2

Related Questions