bugThe FreeType Project - Bugs: bug #41119, Problem with SDL_ttf 2.0.11 and...

 
 

bug #41119: Problem with SDL_ttf 2.0.11 and FreeType 2.5.2

Submitted by:  Olivier BENARD <obe>
Submitted on:  Mon 06 Jan 2014 09:17:32 AM UTC  
 
Severity: 3 - NormalItem Group: Crash
Status: DuplicatePrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.5.3

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 06 Jan 2014 10:42:53 PM UTC, comment #4:

Closed, thanks.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 06 Jan 2014 01:33:18 PM UTC, comment #3:

Using the 2.5.2 code, I've applied the diff from issue #40997 and recompiled. The problem doesn't appear anymore. Therefore, this is a duplicate of #40997 and can be closed.

Olivier BENARD <obe>
Mon 06 Jan 2014 10:17:25 AM UTC, comment #2:

Good! So please test with the current git version of FreeType and report whether it works. Otherwise please post a backtrace (or output from valgrind).

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 06 Jan 2014 09:30:25 AM UTC, comment #1:

Looking at the list of closed issues, this seems very close to what was reported in #40997.

Olivier BENARD <obe>
Mon 06 Jan 2014 09:17:32 AM UTC, original submission:

I have a small SDL program that checks a font and if the check succeeds, opens the font. I'm using a compiled version of SDL_ttf 2.0.11 that uses FreeType 2.5.2 for fonts.

The check works perfectly. But after that, when the function that is designed to create the font calls TTF_OpenFont again, I get a crash in FT_Open_Face.

The crash is simply reproduced by calling:
- ttf_font = TTF_OpenFont(font_file_name, 0)
- TTF_CloseFont(ttf_font)
- TTF_OpenFont(font_file_name, 0)

Note: this problem is new to the 2.5.2 version. I was using 2.5.0.1 till now, and it was working perfectly.

I've joined the font file I use for testing, but I don't think it comes from the file.

Olivier BENARD <obe>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #30203:  6x10x.fon added by obe (4KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by obe (Submitted the item)
  •  

    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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 06 Jan 2014 10:42:53 PM UTCwlStatusNeed Info=>Duplicate
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.5.3
    Mon 06 Jan 2014 10:17:25 AM UTCwlStatusNone=>Need Info
      Assigned toNone=>wl
    Mon 06 Jan 2014 09:17:32 AM UTCobeAttached File-=>Added 6x10x.fon, #30203

    Back to the top


    Powered by Savane 3.1-cleanup1