View previous topic :: View next topic |
Author |
Message |
superwoman Agent
Joined: Apr 19, 2004 Posts: 15
|
Posted: Mon Sep 06, 2004 7:50 am Post subject: Seg Fault on Export to PDF |
|
Hi,
Apologies for posting a bug report here. I registered on bugzilla a few days ago, but has still not yet receive the password. I think something is wrong with bugzilla.
Anyway, I'm encountering seg faults using Export to PDF for anything longer than a quarter page of text.
That's all I can say at the moment. If you require me to do further debug, just post the instructions here.
Cheers. |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
|
Back to top |
|
|
superwoman Agent
Joined: Apr 19, 2004 Posts: 15
|
Posted: Tue Sep 07, 2004 1:46 am Post subject: |
|
Apologies for not stating this. I've all along been using NJ with patch-1.
I'm not sure if the problem exists pre-patch-1.
Am I the only one experiencing this? |
|
Back to top |
|
|
jimlaurent Captain
Joined: Jun 23, 2003 Posts: 55
|
Posted: Tue Sep 07, 2004 5:56 am Post subject: |
|
I created a 28 page full-color presentation using Export to PDF and it worked flawlessly. |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Sep 07, 2004 7:13 am Post subject: |
|
superwoman wrote: | Apologies for not stating this. I've all along been using NJ with patch-1.
I'm not sure if the problem exists pre-patch-1.
Am I the only one experiencing this? |
Maybe the crashing is caused by something specific in your document. Can you send me the document at my private e-mail address patrick dot luby at planamesa dot com and I will see if I can replicate the crashing?
Patrick |
|
Back to top |
|
|
Max_Barel Oracle
Joined: May 31, 2003 Posts: 219 Location: French Alps
|
Posted: Tue Sep 07, 2004 7:44 am Post subject: Bug confirmation |
|
I can confirm that bug. I tested it on a medium heavy document and got a crash. Here is the top stack crawl of the crashlog :
Code: | Thread 0 Crashed:
0 <<00000000>> 0x91b14ed4 0 + 0x91b14ed4
1 <<00000000>> 0x91b14c54 0 + 0x91b14c54
2 <<00000000>> 0x91b13e78 0 + 0x91b13e78
3 <<00000000>> 0x91b13b30 0 + 0x91b13b30
4 <<00000000>> 0x91b13a3c 0 + 0x91b13a3c
5 <<00000000>> 0x935fa330 0 + 0x935fa330
6 <<00000000>> 0x935fb5a0 0 + 0x935fb5a0
7 <<00000000>> 0x9361efd4 0 + 0x9361efd4
8 libvcl645mxp.dylib 0x005142c0 vcl::PDFWriterImpl::registerGlyphs(int, long*, unsigned short*, unsigned short*, bool*, long*, long*, ImplFontData**) + 0x1624
9 libvcl645mxp.dylib 0x005167cc vcl::PDFWriterImpl::drawLayout(SalLayout&, String const&, bool) + 0xc74
10 libvcl645mxp.dylib 0x00517e60 vcl::PDFWriterImpl::drawTextArray(Point const&, String const&, long const*, unsigned short, unsigned short, bool) + 0x6c
11 libpdffilter645mxp.dylib 0x0eb0a1c8 PDFExport::ImplWriteActions(vcl::PDFWriter&, GDIMetaFile const&, VirtualDevice&, long) + 0x1308
12 libpdffilter645mxp.dylib 0x0eb08e84 PDFExport::ImplExportPage(vcl::PDFWriter&, GDIMetaFile const&, long) + 0x148
13 libpdffilter645mxp.dylib 0x0eb07f90 PDFExport::Export(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) + 0x110c
14 libpdffilter645mxp.dylib 0x0eb065d0 PDFFilter::implExport(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) + 0x43c
15 libpdffilter645mxp.dylib 0x0eb0687c PDFFilter::filter(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) + 0x40 |
Patrick, if you need it, I can send you my file. As I use links to images, I have to build an archive. Maybe superwoman (pseudo are for chicken) has a simpler document.
Max |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Sep 07, 2004 8:30 am Post subject: |
|
Max,
superwoman sent me a document and I found two bugs in my code that I am fixing right now. You crash log is slightly different, but both of you are getting a crash in the same function where I found the bug.
Patrick |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
|
Back to top |
|
|
Max_Barel Oracle
Joined: May 31, 2003 Posts: 219 Location: French Alps
|
Posted: Tue Sep 07, 2004 3:19 pm Post subject: OK. What about EPS |
|
Works for me.
EPS included file behave differently when exported directly or "printed/saved" by Preview: red frame empty content for the first, blank for the second.
Patrick commented a couple of time about EPS printing. I have no PS printer so I'm unable to test EPS printing. It never worked for me (inkjet printer).
Can someone confirm this: I'am rather sure OOo/X11 did (do) print embeded EPS, even on inkjet.
If so why the "export to PDF" feature of OOo 1.1 does not works? |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Sep 07, 2004 3:34 pm Post subject: Re: OK. What about EPS |
|
Max_Barel wrote: | Can someone confirm this: I'am rather sure OOo/X11 did (do) print embeded EPS, even on inkjet.
If so why the "export to PDF" feature of OOo 1.1 does not works? |
AFAIK, the OOo "Save as PDF" code does not support embedding of EPS. The OOo code only supported printing of embedded EPS.
As for printing, it worked with OOo because OOo uses GIMP to output PDF to your printer. GIMP can handle PostScript, but Mac OS X's EPS APIs appear to only work when you are printing to a PostScript printer.
So why not use GIMP? Because I would have to completely rewrite the Neo/J printing code to use GIMP instead of the native printing APIs and, even if I did that, we would get all the printing flakiness that OOo has with some Mac OS X printers.
Patrick
Patrick |
|
Back to top |
|
|
superwoman Agent
Joined: Apr 19, 2004 Posts: 15
|
Posted: Wed Sep 08, 2004 12:26 am Post subject: |
|
Works for me too. |
|
Back to top |
|
|
|