Good day,
I had libreoffice working command line on the linux machine several months ago. I’m using the command
libreoffice --headless --convert-to pdf --outdir /outfile/ outpdf.rtf
and now when I try to run this it just hangs. I can print the rtf file using the -p command, but I can’t get the command to work anymore. I opened libreoffice through the GUI and it brings up the file correctly. I haven’t been able to find any other posts with this kind of problem where the solution posted works for me. I used the backtrace option to get a trace log and waited serveral minutes since there’s a message to be patient. Do you see what I’m doing wrong or have you heard of this happening elsewhere. The libreoffice version I’m running is 4.0.4.2.
output for gdbtrace.log
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff7f93700 (LWP 28759)]
[New Thread 0x7fffee20d700 (LWP 28760)]
[New Thread 0x7fffed80c700 (LWP 28761)]
[Thread 0x7fffee20d700 (LWP 28760) exited]
Program received signal SIGINT, Interrupt.
0x00000030c0adf343 in poll () from /lib64/libc.so.6
#0 0x00000030c0adf343 in poll () from /lib64/libc.so.6
#1 0x00007ffff12b58b9 in ?? () from /usr/lib64/libreoffice/program/libvclplug_svplo.so
#2 0x00007ffff12b635b in ?? () from /usr/lib64/libreoffice/program/libvclplug_svplo.so
#3 0x0000003b7eb29eb1 in Application::Yield(bool) () from /usr/lib64/libreoffice/program/libvcllo.so
#4 0x0000003b7eb29f67 in Application::Execute() () from /usr/lib64/libreoffice/program/libvcllo.so
#5 0x0000003b86a261b1 in ?? () from /usr/lib64/libreoffice/program/libsofficeapp.so
#6 0x0000003b7eb2f4f9 in ?? () from /usr/lib64/libreoffice/program/libvcllo.so
#7 0x0000003b7eb2f555 in SVMain() () from /usr/lib64/libreoffice/program/libvcllo.so
#8 0x0000003b86a4c0bd in soffice_main () from /usr/lib64/libreoffice/program/libsofficeapp.so
#9 0x000000000040077b in ?? ()
#10 0x00000030c0a1ed1d in __libc_start_main () from /lib64/libc.so.6
#11 0x00000000004006a9 in ?? ()
#12 0x00007fffffffe558 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000007 in ?? ()
#15 0x00007fffffffe7d5 in ?? ()
#16 0x00007fffffffe800 in ?? ()
#17 0x00007fffffffe80b in ?? ()
#18 0x00007fffffffe817 in ?? ()
#19 0x00007fffffffe824 in ?? ()
#20 0x00007fffffffe828 in ?? ()
#21 0x00007fffffffe831 in ?? ()
#22 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7fffed80c700 (LWP 28761)):
#0 0x00000030c0ae972d in accept () from /lib64/libc.so.6
#1 0x0000003b7c611a62 in osl_acceptPipe () from /usr/lib64/libreoffice/program/…/ure-link/lib/libuno_sal.so.3
#2 0x0000003b86a49c12 in ?? () from /usr/lib64/libreoffice/program/libsofficeapp.so
#3 0x0000003b7ca03eda in salhelper::run() () from /usr/lib64/libreoffice/program/…/ure-link/lib/libuno_salhelpergcc3.so.3
#4 0x0000003b7ca0415a in ?? () from /usr/lib64/libreoffice/program/…/ure-link/lib/libuno_salhelpergcc3.so.3
#5 0x0000003b7c61826f in ?? () from /usr/lib64/libreoffice/program/…/ure-link/lib/libuno_sal.so.3
#6 0x00000030c12079d1 in start_thread () from /lib64/libpthread.so.0
#7 0x00000030c0ae8b6d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7ffff7f93700 (LWP 28759)):
#0 0x00000030c120b98e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x0000003b7c61de16 in ?? () from /usr/lib64/libreoffice/program/…/ure-link/lib/libuno_sal.so.3
#2 0x00000030c12079d1 in start_thread () from /lib64/libpthread.so.0
#3 0x00000030c0ae8b6d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7ffff7fc47e0 (LWP 28756)):
#0 0x00000030c0adf343 in poll () from /lib64/libc.so.6
#1 0x00007ffff12b58b9 in ?? () from /usr/lib64/libreoffice/program/libvclplug_svplo.so
#2 0x00007ffff12b635b in ?? () from /usr/lib64/libreoffice/program/libvclplug_svplo.so
#3 0x0000003b7eb29eb1 in Application::Yield(bool) () from /usr/lib64/libreoffice/program/libvcllo.so
#4 0x0000003b7eb29f67 in Application::Execute() () from /usr/lib64/libreoffice/program/libvcllo.so
#5 0x0000003b86a261b1 in ?? () from /usr/lib64/libreoffice/program/libsofficeapp.so
#6 0x0000003b7eb2f4f9 in ?? () from /usr/lib64/libreoffice/program/libvcllo.so
#7 0x0000003b7eb2f555 in SVMain() () from /usr/lib64/libreoffice/program/libvcllo.so
#8 0x0000003b86a4c0bd in soffice_main () from /usr/lib64/libreoffice/program/libsofficeapp.so
#9 0x000000000040077b in ?? ()
#10 0x00000030c0a1ed1d in __libc_start_main () from /lib64/libc.so.6
#11 0x00000000004006a9 in ?? ()
#12 0x00007fffffffe558 in ?? ()
#13 0x000000000000001c in ?? ()
#14 0x0000000000000007 in ?? ()
#15 0x00007fffffffe7d5 in ?? ()
#16 0x00007fffffffe800 in ?? ()
#17 0x00007fffffffe80b in ?? ()
#18 0x00007fffffffe817 in ?? ()
#19 0x00007fffffffe824 in ?? ()
#20 0x00007fffffffe828 in ?? ()
#21 0x00007fffffffe831 in ?? ()
#22 0x0000000000000000 in ?? ()
A debugging session is active.
Inferior 1 [process 28756] will be killed.
Quit anyway? (y or n) [answered Y; input not from terminal]