You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/10/03 12:41:56 UTC

[Bug 123417] New: AOO 4.0.0 and 4.0.1 Writer crashes while exporting a large file to pdf. AOO 3.4.1 works perfectly with the same file.

https://issues.apache.org/ooo/show_bug.cgi?id=123417

            Bug ID: 123417
        Issue Type: DEFECT
           Summary: AOO 4.0.0 and 4.0.1 Writer crashes while exporting a
                    large file to pdf. AOO 3.4.1 works perfectly with the
                    same file.
           Product: Writer
           Version: 4.0.0
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: save-export
          Assignee: issues@openoffice.apache.org
          Reporter: roberto.mascellari@gmail.com
                CC: issues@openoffice.apache.org

AOO 4.0.0 (and 4.0.1 as well) Writer crashes while exporting a large(?) file to
pdf. AOO 3.4.1 (and previous versions) works perfectly with the same file. The
exporting process starts, then AOO 4.0.x crashes when it seems that the
operation is almost at the end.
I'm attaching the .odt file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

--- Comment #12 from Clarence GUO <cl...@gmail.com> ---
Verified on AOO Rev 1571942 en-US, still crash, I haven't installed IfaoGrec
characters

Test ENV: Win7 professional 64 bit SP1, Chinese version.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123417] AOO 4.0.0 (and 4.0.1) Writer crashes while exporting to pdf a large file with IFAOGrec Unicode font. AOO 3.4.1 works perfectly with the same file.

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

--- Comment #5 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to unaltrafaccia from comment #4)
> Try to install the (free) font in order to
> reproduce the crash.

Is this "Police "IFAO-Grec Unicode" from
http://www.ifao.egnet.net/publications/outils/polices/#grec ?
In particular:
http://www.ifao.egnet.net/uploads/polices/IFAOGrec_2nd_edition.zip

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

--- Comment #9 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to hdu@apache.org from comment #7)
> The problem happens when SFT chokes on the unexpected condition that a glyph
> claiming to be a truetype compounded glyph has no outline points. IFAOGrec's
> glyph 98 (which matches to the non-breaking space U+00A0) has this problem.

You were faster, I was going to assign it to you.
Side note, it does not crash on Linux with its vector implementation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123417] AOO 4.0.0 and 4.0.1 Writer crashes while exporting a large file to pdf. AOO 3.4.1 works perfectly with the same file.

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

Edwin Sharp <el...@mail-page.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |elish@mail-page.com
         Resolution|---                         |IRREPRODUCIBLE

--- Comment #3 from Edwin Sharp <el...@mail-page.com> ---
No crash when export as PDF.

AOO401m5(Build:9714)  -  Rev. 1523756
2013-09-16 20:50:21 (Mo, 16 Sep 2013)
Win 7

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

--- Comment #16 from Oliver-Rainer Wittmann <or...@apache.org> ---
Created attachment 82752
  --> https://issues.apache.org/ooo/attachment.cgi?id=82752&action=edit
stack from my local debug build

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123417] AOO 4.0.0 and 4.0.1 Writer crashes while exporting a large file to pdf. AOO 3.4.1 works perfectly with the same file.

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

--- Comment #1 from unaltrafaccia <ro...@gmail.com> ---
I can't upload the file at the moment, because it exceeds the size limit (1,400
KB). I will try to post a URL later.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |crash, regression
             Status|UNCONFIRMED                 |CONFIRMED
            Summary|AOO 4.0.0 (and 4.0.1)       |Crash exporting to pdf with
                   |Writer crashes while        |IFAOGrec Unicode font
                   |exporting to pdf a large    |
                   |file with IFAOGrec Unicode  |
                   |font. AOO 3.4.1 works       |
                   |perfectly with the same     |
                   |file.                       |
     Ever confirmed|0                           |1

--- Comment #6 from Ariel Constenla-Haile <ar...@apache.org> ---
Confirmed in Windows 7 64 bits, AOO 4.0.1, with the fonts from
http://www.ifao.egnet.net/uploads/polices/IFAOGrec_2nd_edition.zip

The settings for exporting to PDF are the default ones, as this was tested with
a band new user profile without importing previous version's settings.

Regression: works fine with 3.4.1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |ACCEPTED
                 CC|                            |hdu@apache.org
           Hardware|PC                          |All
           Assignee|issues@openoffice.apache.or |hdu@apache.org
                   |g                           |
                 OS|Windows 7                   |All

--- Comment #7 from hdu@apache.org <hd...@apache.org> ---
The problem happens when SFT chokes on the unexpected condition that a glyph
claiming to be a truetype compounded glyph has no outline points. IFAOGrec's
glyph 98 (which matches to the non-breaking space U+00A0) has this problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

Clarence GUO <cl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #13 from Clarence GUO <cl...@gmail.com> ---
reopen per my previous comment

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123417] AOO 4.0.0 and 4.0.1 Writer crashes while exporting a large file to pdf. AOO 3.4.1 works perfectly with the same file.

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

unaltrafaccia <ro...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|IRREPRODUCIBLE              |---

--- Comment #4 from unaltrafaccia <ro...@gmail.com> ---
The difference between my computer and other ones is that I have the font
IFAOGrec Unicode. The sample file contains a lot of IfaoGrec Unicode letters.
It doesn't crash if the IfaoGrec characters are removed from the document or if
the font is not installed in the computer. No problem with the previous
versions of AOO. Try to install the (free) font in order to reproduce the
crash.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ACCEPTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from hdu@apache.org <hd...@apache.org> ---
Fixed with the commit above. Thanks for the stack!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

--- Comment #15 from Oliver-Rainer Wittmann <or...@apache.org> ---
on my local debug build from trunk (rev. 1572577) I got a crash during the page
formatting. The page formatting is also triggered when an PDF export is
initiated.
-> stack trace will follow

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

Andre <aw...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |awf.aoo@googlemail.com

--- Comment #14 from Andre <aw...@googlemail.com> ---
@Clarence: Can you provide a stack strace?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

--- Comment #8 from Ariel Constenla-Haile <ar...@apache.org> ---
Created attachment 81702
  --> https://issues.apache.org/ooo/attachment.cgi?id=81702&action=edit
Debugger stack trace

The problem is in

static int GetCompoundTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID,
ControlPoint **pointArray, TTGlyphMetrics *metrics, std::vector< sal_uInt32 >&
glyphlist)

http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/fontsubset/sft.cxx?revision=1413471&view=markup#l809

memcpy( pa, &myPoints[0], np*sizeof(ControlPoint) );

myPoints is empty, in this case operator[] seemed to work fine with the stlport
implementation, but crashes with the system's implementation, that tries to
dereference a null pointer.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

fanyuzhen@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fanyuzhen@gmail.com
         QA Contact|                            |clarence.guo.bj@gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

--- Comment #17 from hdu@apache.org <hd...@apache.org> ---
Thanks for the stack. It shows a problem that is completely unrelated to the
original problem observed with subsetting IFAOGrec Unicode.
That's why i hate 1000+ page bugdocs...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123417] Crash exporting to pdf with IFAOGrec Unicode font

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

--- Comment #10 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1529178 into trunk:
#i123417# handle subsetting of empty ttf compound glyphs gracefully

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123417] AOO 4.0.0 and 4.0.1 Writer crashes while exporting a large file to pdf. AOO 3.4.1 works perfectly with the same file.

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

unaltrafaccia <ro...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Latest|---                         |4.0.1
    Confirmation on|                            |

--- Comment #2 from unaltrafaccia <ro...@gmail.com> ---
here the link to the sample file (an odt file which can't be exported to pdf
with AOO 4.0.x. I've hidden the original text by replacing the original letters
with a lot of x's):
https://docs.google.com/file/d/0BwKcdJDZLAa7NkoyckxBN2dUaTg/edit?usp=sharing

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123417] AOO 4.0.0 (and 4.0.1) Writer crashes while exporting to pdf a large file with IFAOGrec Unicode font. AOO 3.4.1 works perfectly with the same file.

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123417

unaltrafaccia <ro...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|AOO 4.0.0 and 4.0.1 Writer  |AOO 4.0.0 (and 4.0.1)
                   |crashes while exporting a   |Writer crashes while
                   |large file to pdf. AOO      |exporting to pdf a large
                   |3.4.1 works perfectly with  |file with IFAOGrec Unicode
                   |the same file.              |font. AOO 3.4.1 works
                   |                            |perfectly with the same
                   |                            |file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.