bugThe FreeType Project - Bugs: bug #17550, segfault loading resource...

 
 

bug #17550: segfault loading resource fonts/FOND on OS X

Submitted by:  None
Submitted on:  Sun 27 Aug 2006 08:56:21 PM UTC  
 
Severity: 3 - NormalItem Group: Crash
Status: FixedPrivacy: Public
Assigned to: suzuki toshiya <mpsuzuki>Open/Closed: Closed
Planned Release: 2.3.0

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 29 Aug 2006 12:29:45 AM UTC, comment #3:

Thanks, I think the issue will be solved in freetype-2.2.2 release.

suzuki toshiya <mpsuzuki>
Project AdministratorIn charge of this item.
Mon 28 Aug 2006 03:54:50 PM UTC, comment #2:

That did the trick. (I forgot to add my processor type to my system info - I am on Intel Mac)

Anonymous
Mon 28 Aug 2006 03:20:49 AM UTC, comment #1:

Sorry for your inconvence.

Just I've built vanilla freetype-2.2.1 + ft2demos-2.2.1 on
PowerBook G4 (PowerPC G4 1GHz), MacOS X 10.4.7, Xcode 2.0,
and built ftdump can parse Skia.dfont & Arial successfully.
Please tell me more detailed procedure to reproduce the problem.

There was endian issue in freetype-2.2.1, and the latest CVS is already fixed.
If you're using Intel-based mac, please try the latest CVS revision.

suzuki toshiya <mpsuzuki>
Project AdministratorIn charge of this item.
Sun 27 Aug 2006 08:56:21 PM UTC, original submission:

When loading a dfont or suitcase'd TT font, I get a segfault in the FOND parsing (tested from GD's annotate):

Thread 0 Crashed:

  1. org.freetype.freetype 0x000782a2 parse_fond + 111

1 org.freetype.freetype 0x00078936 + 418
2 org.freetype.freetype 0x00078b24 FT_New_Face + 40
3 com.boutell.gd 0x002170aa fontFetch + 952

Tried with 2 fonts included with OS X: Skia.dfont and Arial.

A similar segfault happens with PS suitcase fonts, but it doesn't get past FT_New_Face_From_Resource. I suspect it's something to do with PS suitcase fonts having only the bitmaps in the suitcase and the actual PS fonts in separate files, since accessing the PS font file directly works. Even so, the segfault isn't good.

FT 2.2.1, and I have the CVS patches for some memory leaks in resource fonts. OS X 10.4.7, Xcode 2.3.

-unavailable-

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 27 Sep 2006 06:29:50 AM UTCwlOpen/ClosedOpen=>Closed
Tue 29 Aug 2006 12:29:45 AM UTCmpsuzukiStatusNeed Info=>Fixed
  Planned ReleaseNone=>2.3.0
Mon 28 Aug 2006 03:20:49 AM UTCmpsuzukiStatusNone=>Need Info
Sun 27 Aug 2006 10:05:21 PM UTCwlAssigned toNone=>mpsuzuki

Back to the top


Powered by Savane 3.1-cleanup1