Ask Your Question

Export to pdf fails on mac [closed]

asked 2013-08-28 12:28:31 +0100

paolo gravatar image

updated 2015-11-12 06:31:29 +0100

Alex Kemp gravatar image

Hello, I am trying to export to pdf a couple of .odt files but the conversion always fails. It worked only once on one of the files, but now it fails on that too. The application closes and I get the a window with a message "LibreOffice closes unexpectedly" (this is a translation from italian)....The first few times I was getting a different error message, something which had to to with permissions maybe or the simultaneous access of a file from more sources but now I don't remember exactly what it was...

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-11-12 06:31:41.042635

3 Answers

Sort by » oldest newest most voted

answered 2013-08-28 16:58:59 +0100

ROSt52 gravatar image

This doesn' t look like an LibO error to me.
Did you restart your Mac to see what happens?
Do the odt files display correctly in Writer?
How did you make the export?
Additionally the exact error message (translated version) would be helpful.

edit flag offensive delete link more

answered 2013-10-22 17:37:43 +0100

Dsarnowski gravatar image

Paolo, I had the same problem. I disabled the "View PDF after Export" option and that solved my problem.

Go to File -> Export as PDF... Uncheck "View PDF after Export" in the lower right hand corner of the dialog Screenshot

I hope that fixes it for you.


edit flag offensive delete link more


That was causing the problems for me. Thanks, I would have never thought of that had you not brought it to my attention.

Timo gravatar imageTimo ( 2014-01-31 15:25:06 +0100 )edit

answered 2013-08-28 17:36:06 +0100

paolo gravatar image

updated 2013-08-28 17:47:31 +0100

yes, of course I restarted the computer many times. I also tried to copy the files on another computer running ubuntu and libreoffice 3 and the export to pdf doesn't work there either on these files, even though it has always worked in the past with files created on that computer. The .odt files display correctly both on the mac (where they have been created) and on ubuntu.

The export was made from the LibreOffice file menu, but I actually also tried the command line from the terminal and does not work there either...

The error windows displays "LibreOffice closed unexpectedly", but the details of the error message are very long, I try to see if I can attache them below.

Process: soffice [1035] Path: /Applications/ Identifier: org.libreoffice.script Version: (???) Code Type: X86 (Native) Parent Process: launchd [123] User ID: 501

Date/Time: 2013-08-28 17:16:48.323 +0200 OS Version: Mac OS X 10.8.4 (12E3067) Report Version: 10

Interval Since Last Report: 31248 sec Crashes Since Last Report: 8 Per-App Crashes Since Last Report: 8 Anonymous UUID: 5FF335E7-311B-0B94-FCD4-D296968E5BD8

Crashed Thread: 0 Dispatch queue:

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000070000020

VM Regions Near 0x70000020: MALLOC_TINY 0000000015900000-0000000015a00000 [ 1024K] rw-/rwx SM=PRV
--> __TEXT 000000008feb2000-000000008fee5000 [ 204K] r-x/rwx SM=COW /usr/lib/dyld

Application Specific Information: objc_msgSend() selector name: release

Thread 0 Crashed:: Dispatch queue: 0 libobjc.A.dylib 0x90616a87 objc_msgSend + 23 1 0x94ef531b CFRelease + 171 2 libvcllo.dylib 0x01a526f2 CTTextStyle::~CTTextStyle() + 50 3 libvcllo.dylib 0x01a557dd AquaSalGraphics::SetFont(FontSelectPattern, int) + 29 4 libvcllo.dylib 0x018982d3 OutputDevice::ImplInitFont() const + 147 5 libvcllo.dylib 0x018a4d08 OutputDevice::ImplNewFont() const + 1336 6 libvcllo.dylib 0x018fb634 vcl::PDFWriterImpl::updateGraphicsState() + 772 7 libvcllo.dylib 0x019166fb vcl::PDFWriterImpl::drawStretchText(Point const&, unsigned long, String const&, unsigned short, unsigned short, bool) + 43 8 libvcllo.dylib 0x018e8720 vcl::PDFWriter::DrawStretchText(Point const&, unsigned long, String const&, unsigned short, unsigned short) + 64 9 libvcllo.dylib 0x018edaed vcl::PDFWriterImpl::playMetafile(GDIMetaFile const&, vcl::PDFExtOutDevData, vcl::PDFWriter::PlayMetafileContext const&, VirtualDevice) + 4989 10 libvcllo.dylib 0x018e7c00 vcl::PDFWriter::PlayMetafile(GDIMetaFile const&, vcl::PDFWriter::PlayMetafileContext const&, vcl::PDFExtOutDevData) + 48 11 libpdffilterlo.dylib 0x13090d65 PDFExport::ImplExportPage(vcl::PDFWriter&, vcl::PDFExtOutDevData&, GDIMetaFile const&) + 565 12 libpdffilterlo.dylib 0x1309321c PDFExport::ExportSelection(vcl::PDFWriter&, com::sun::star::uno::Reference<com::sun::star::view::xrenderable>&, com::sun::star::uno::Any const&, StringRangeEnumerator const&, com::sun::star::uno::Sequence<com::sun::star::beans::propertyvalue>&, long) + 3356 13 libpdffilterlo.dylib 0x13095fb0 PDFExport::Export(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::propertyvalue> const&) + 10192 14 libpdffilterlo.dylib 0x130a1035 PDFFilter::implExport(com::sun::star::uno::Sequence<com::sun::star::beans::propertyvalue> const&) + 4693 15 libpdffilterlo.dylib 0x130a1917 PDFFilter::filter(com::sun::star::uno::Sequence<com::sun::star::beans::propertyvalue> const&) + 87 16 libsfxlo.dylib 0x0070c687 SfxObjectShell::ExportTo(SfxMedium&) + 3447 17 libsfxlo.dylib 0x007145f2 SfxObjectShell::SaveTo_Impl(SfxMedium&, SfxItemSet const) + 6962 18 libsfxlo.dylib 0x00717937 SfxObjectShell::PreDoSaveAs_Impl(String const&, String ... (more)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-08-28 12:28:31 +0100

Seen: 2,835 times

Last updated: Oct 22 '13