OpenOffice crashing converting PDF Files

Issues with installing under all GNU/Linux Distributions
Post Reply
tenchimassaki
Posts: 2
Joined: Tue Aug 12, 2014 7:52 pm

OpenOffice crashing converting PDF Files

Post by tenchimassaki »

Hello guys,

I have installed Oracle ECM 11.1.1.8, and OpenOffice 4.0.1 on a Red Hat 6.5.

OpenOffice is crashing when the IBR is submitting the document. I receive the following stack trace:

Fatal exception: Signal 6
Stack:
/opt/openoffice4/program/libuno_sal.so.3(+0x37b9a)[0x2b367cd67b9a]
/opt/openoffice4/program/libuno_sal.so.3(+0x37ccc)[0x2b367cd67ccc]
/opt/openoffice4/program/libuno_sal.so.3(+0x37d69)[0x2b367cd67d69]
/lib64/libc.so.6[0x34050329a0]
/lib64/libc.so.6(gsignal+0x35)[0x3405032925]
/lib64/libc.so.6(abort+0x175)[0x3405034105]
/opt/openoffice4/program/libvcl.so(+0x1546b9)[0x2b36802836b9]
/opt/openoffice4/program/libsofficeapp.so(+0x2353b)[0x2b367d15053b]
/opt/openoffice4/program/libvcl.so(+0x17ecc0)[0x2b36802adcc0]
/opt/openoffice4/program/libuno_sal.so.3(+0x36962)[0x2b367cd66962]
/opt/openoffice4/program/libuno_sal.so.3(+0x37d4a)[0x2b367cd67d4a]
/lib64/libc.so.6[0x34050329a0]
/opt/openoffice4/program/../program/libsw.so(_ZN9ViewShell16PrintOrPDFExportEP12OutputDeviceRK11SwPrintDatai+0x1b1)[0x2b36a569526f]
/opt/openoffice4/program/../program/libsw.so(_ZN15SwXTextDocument6renderEiRKN3com3sun4star3uno3AnyERKNS3_8SequenceINS2_5beans13PropertyValueEEE+0x3c9)[0x2b36a5891be3]
/opt/openoffice4/program/../program/libpdffilter.so(+0x309db)[0x2b36bf04d9db]
/opt/openoffice4/program/../program/libpdffilter.so(+0x34f8e)[0x2b36bf051f8e]
/opt/openoffice4/program/../program/libpdffilter.so(+0x2b1c5)[0x2b36bf0481c5]
/opt/openoffice4/program/../program/libpdffilter.so(+0x2c5e3)[0x2b36bf0495e3]
/opt/openoffice4/program/libsfx.so(_ZN14SfxObjectShell8ExportToER9SfxMedium+0x7a3)[0x2b367e56807b]
/opt/openoffice4/program/libsfx.so(+0x27575c)[0x2b367e56a75c]
/opt/openoffice4/program/libsfx.so(+0x2769be)[0x2b367e56b9be]
/opt/openoffice4/program/libsfx.so(+0x278780)[0x2b367e56d780]
/opt/openoffice4/program/libsfx.so(+0x26e268)[0x2b367e563268]
/opt/openoffice4/program/libsfx.so(+0x293d6b)[0x2b367e588d6b]
/opt/openoffice4/program/libsfx.so(_ZN12SfxBaseModel10storeToURLERKN3rtl8OUStringERKN3com3sun4star3uno8SequenceINS6_5beans13PropertyValueEEE+0xe4)[0x2b367e58e15e]
/opt/openoffice4/program/libgcc3_uno.so(+0x78cd)[0x2b368d3578cd]
/opt/openoffice4/program/libgcc3_uno.so(+0x7ee2)[0x2b368d357ee2]
/opt/openoffice4/program/libgcc3_uno.so(+0x8c20)[0x2b368d358c20]
/opt/openoffice4/program/binaryurp.uno.so(+0x112e6)[0x2b369843c2e6]
/opt/openoffice4/program/binaryurp.uno.so(+0x1235f)[0x2b369843d35f]
/opt/openoffice4/program/binaryurp.uno.so(+0x167a6)[0x2b36984417a6]
/opt/openoffice4/program/libuno_cppu.so.3(+0x2ab28)[0x2b367da3cb28]
/opt/openoffice4/program/libuno_cppu.so.3(+0x2b42b)[0x2b367da3d42b]
/opt/openoffice4/program/libuno_cppu.so.3(+0x2b67d)[0x2b367da3d67d]
/opt/openoffice4/program/libuno_sal.so.3(+0x31202)[0x2b367cd61202]
/lib64/libpthread.so.0[0x34054079d1]
/lib64/libc.so.6(clone+0x6d)[0x34050e8b6d]
/usr/bin/soffice: line 121: 7214 Aborted (core dumped) "$sd_prog/$sd_binary" "$@"


Environment:
OpenOffice version 4.0.1, installed from the RPMs.
Apache_OpenOffice_4.0.1_Linux_x86-64_install-rpm_en-US.tar.gz

Red Hat 6.5
Linux hostname 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Dec 13 06:58:20 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

Any tips on what can be the source of this problem?
OpenOffice 4.1
rudolfo
Volunteer
Posts: 1488
Joined: Wed Mar 19, 2008 11:34 am
Location: Germany

Re: OpenOffice crashing converting PDF Files

Post by rudolfo »

That's a lot of details that you list here. But still some crucial information is missing:
You say converting, but you do not clearly specify the direction. Are you trying to convert to PDF format or from PDF format into .odt or .odp files?

The conversion from PDF to OpenOffice's own format (more commonly known as "Pdf Import") is not supported by the core application, but you need an extension (Oracle PDF Import Extension) for this.
You don't give us the version of this extension ... which is even more important, as the first sentence on the download page of this extension is:
http://extensions.openoffice.org wrote:If you are using Apache OpenOffice 4.0 or later, you must use another version: PDF Import for Apache OpenOffice.
Due to the fact that PDF is a descendant of a page description language for printers (PostScript) and OpenOffice documents are structured XML documents, importing (read-only) PDF files into editable .odt files is a very difficult task. It might work for documents of up to 4 or 5 pages, but anything beyond that is likely to fail or to not produce what you expect.
OpenOffice 3.1.1 (2.4.3 until October 2009) and LibreOffice 3.3.2 on Windows 2000, AOO 3.4.1 on Windows 7
There are several macro languages in OOo, but none of them is called Visual Basic or VB(A)! Please call it OOo Basic, Star Basic or simply Basic.
tenchimassaki
Posts: 2
Joined: Tue Aug 12, 2014 7:52 pm

Re: OpenOffice crashing converting PDF Files

Post by tenchimassaki »

Hello,

Sorry for the delay.
rudolfo wrote:You say converting, but you do not clearly specify the direction. Are you trying to convert to PDF format or from PDF format into .odt or .odp files?
Converting .odt files to .pdf files.

---------------------

One thing that i forgot to mention is that i editted main.xcd file to change

From:
<prop oor:name="SelectPdfVersion" oor:type="xs:int"><value>0</value></prop>

To:
<prop oor:name="SelectPdfVersion" oor:type="xs:int"><value>1</value></prop>

All other settings are default.
OpenOffice 4.1
rudolfo
Volunteer
Posts: 1488
Joined: Wed Mar 19, 2008 11:34 am
Location: Germany

Re: OpenOffice crashing converting PDF Files

Post by rudolfo »

So this is obviously not caused by an extension, because exporting to pdf is integrated into the core of OpenOffice.
I would suggest you place a bug report for the developers (Reporting bugs or suggestions) or maybe for your Linux distribution. At least you should make sure that RedHat hasn't changed or patched the OpenOffice version. Additionally you will need to describe your environment:
  • What is IBR?
  • Your phrase submitting the document sounds a bit like a web application. In a desktop environment you would typically use saving the document. Are you running a server in headless mode? What is the effective user of the daemon process?
  • Do you get the same core dump if you export manually through the GUI (as everybody else does it)?
OpenOffice 3.1.1 (2.4.3 until October 2009) and LibreOffice 3.3.2 on Windows 2000, AOO 3.4.1 on Windows 7
There are several macro languages in OOo, but none of them is called Visual Basic or VB(A)! Please call it OOo Basic, Star Basic or simply Basic.
rachieree03
Posts: 1
Joined: Sun Oct 26, 2014 10:31 pm

Re: OpenOffice crashing converting PDF Files

Post by rachieree03 »

I believe I am having the same problem. I need to submit a report as a PDF and every time I try to convert to pdf open office crashes and I have to recover my file...Help!
Open Office 4.1.1 on MacOSX 10.9.4
Post Reply