bugThe FreeType Project - Bugs: bug #40797, Various programs crash in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #40797: Various programs crash in TT_Load_Simple_Glyph with freetype 2.5.1

Submitter:  Ryan Carsten Schmidt <ryandesign>
Submitted:  Wed 04 Dec 2013 12:07:33 AM UTC
   
 
Severity:  4 - Important Item Group:  Crash
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.5.2

Wed 04 Dec 2013 06:21:18 AM UTC, comment #4: 

Thanks, I've applied it.

Ryan Carsten Schmidt <ryandesign>
Wed 04 Dec 2013 05:55:30 AM UTC, comment #3: 

Cherry-pixking this specific commit should work.

Werner LEMBERG <wl>
Group administrator
Wed 04 Dec 2013 05:43:41 AM UTC, comment #2: 

Thanks. Can I just integrate that patch into our freetype port, or do I need additional changes to make it work? I'd rather cherry-pick specific commits than upgrade to your latest code wholesale.

Ryan Carsten Schmidt <ryandesign>
Wed 04 Dec 2013 05:33:57 AM UTC, comment #1: 

I guess this is related to a bug which I've introduced in 2.5.1, and which I've fixed recently:

  http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=64872a50165d842d72c520f5f7e19124dbf7822d

I will do a new release of FreeType within a few days.  Until then, I recommend to downgrade if the problematic font can't be identified, or to upgrade to the current git.

PS: On a Windows 7 box, a font causing a crash is `ahronbd.ttf' (it is not fully valid due to an invalid `maxSizeOfInstructions' field in the `maxp' table).

Werner LEMBERG <wl>
Group administrator
Wed 04 Dec 2013 12:07:33 AM UTC, original submission:  

I am the maintainer of freetype in MacPorts. After upgrading freetype in MacPorts to 2.5.1, various programs crash in TT_Load_Simple_Glyph:

https://trac.macports.org/ticket/41599 (inkscape)
https://trac.macports.org/ticket/41645 (fontconfig's fc-cache)
https://trac.macports.org/ticket/41651 (emacs)
https://trac.macports.org/ticket/41655 (fontconfig's fc-list)
https://trac.macports.org/ticket/41671 (various gtk-based programs)

I cannot reproduce the crash on my system and I don't know what to do; please advise.

Ryan Carsten Schmidt <ryandesign>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gagern
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by ryandesign (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-12-04 gagern Carbon-Copy- Added gagern
    2013-12-04 wl Planned ReleaseNone 2.5.2
    2013-12-04 wl Severity3 - Normal 4 - Important
        StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code