https://bugs.freedesktop.org/show_bug.cgi?id=52125
--- Comment #10 from Ángel <[email protected]> --- Owen, note that if you want also the value when libreoffice returns non-zero, you can't use &&, the right thing would be to use ";": soffice --headless --convert-to pdf file.odt ; echo $? (but anyway, as you're seeing a 0 printed, it's not failing for you) I wonder if it may be something in my system/configuration... Stephan, you are right. The main program is not segfaulting (finishes «exit_group(139)») but looking in dmesg shows that soffice.bin indeed segfaulted (segfault at 48, error 4 in libsvllo.so) It may be seen more easily by running /usr/lib/libreoffice/program/soffice.bin directly, good tip. I don't know how good are these symbols (I don't think I have specific debug symbols, these are probably taken from the imports), but here's the backtrace given by gdb: #0 0x00007ffff4e86ed0 in SvNumberFormatsSupplierObj::SetNumberFormatter(SvNumberFormatter*) () from /usr/lib/libreoffice/program/libsvllo.so #1 0x00007fffddf1a1c8 in SwXTextDocument::InitNewDoc() () from /usr/lib/libreoffice/program/../program/libswlo.so #2 0x00007fffddf2691d in SwXTextDocument::~SwXTextDocument() () from /usr/lib/libreoffice/program/../program/libswlo.so #3 0x00007fffddf26c49 in SwXTextDocument::~SwXTextDocument() () from /usr/lib/libreoffice/program/../program/libswlo.so #4 0x00007ffff759cde9 in __run_exit_handlers () from /usr/lib/libc.so.6 #5 0x00007ffff759ce35 in exit () from /usr/lib/libc.so.6 #6 0x00007ffff7586b0c in __libc_start_main () from /usr/lib/libc.so.6 -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
