Dear Paul, Sorry, I had a mistake - I could not reproduce the error. In my case, the crash was caused by invalid path to the font. If I execute the binary in the directory that includes the font, no error (no crash) is found. I did like this:
cd FreetypeBug/bin/Debug ./FreetypeBug.app/Contents/MacOS/FreetypeBug 2012-07-13 14:55:52.159 FreetypeBug[5826:903] App Started 2012-07-13 14:55:52.176 FreetypeBug[5826:903] App Exited What's difference from your case? Regards, mpsuzuki suzuki toshiya wrote: > Dear Paul, > > Thank you for updating the sample source. I could reproduce the issue > (maybe), but I found a strange point: the release binary does not > cause crash out of Xcode, but the debug binary causes crash out of > Xcode. How about in your case? > As you wrote, if I execute them in Xcode, no crash is found. > > Regards, > mpsuzuki > > Paul Dean wrote: >> Here is a version of FreetypeBug for MAC >> http://aquawicket.com/FreetypeBug-Mac.zip >> As stated before.. Freetype workes fine in XCode/Dedug mode. But if I run >> the app outside of XCode, FT_Set_Char_Size() once again crashes the app. >> >>> Date: Mon, 9 Jul 2012 11:43:59 +0900 >>> From: [email protected] >>> To: [email protected] >>> CC: [email protected] >>> Subject: Re: [ft] Freetype FT_Request_Size() crashes >>> >>> Now I'm trying to build FreetypeBug with cmake-2.8.8 + Xcode >>> on Mac OS X 10.6.8. But generated project (or Unix makefiles) >>> does not compile anything but finishes. Is it designed only >>> for Win32? >>> >>> Regards, >>> mpsuzuki >>> >>> suzuki toshiya wrote: >>>> Thanks, the report is interesting because it says the binaries >>>> on Mac OS X 10.6.8 and Android crash too. You are the reporter >>>> of the issue? >>>> >>>> Regards, >>>> mpsuzuki >>>> >>>> Paul Dean wrote: >>>>> This may help find the problem as well. >>>>> https://code.google.com/p/digitalknob/issues/detail?id=14 >>>>> >>>>>> Date: Sun, 1 Jul 2012 18:13:00 +0900 >>>>>> From: [email protected] >>>>>> To: [email protected] >>>>>> CC: [email protected] >>>>>> Subject: Re: [ft] Freetype FT_Request_Size() crashes >>>>>> >>>>>> In addition, if I build freetype-2.4.9 with bundled MSVC 2008 project >>>>>> file >>>>>> and link FreeTypeBug.exe with freetype249MT.lib or freetype249ST.lib >>>>>> (release >>>>>> multithreaded or singlethreaded), the crash does not appear. >>>>>> >>>>>> Regards, >>>>>> mpsuzuki >>>>>> >>>>>> suzuki toshiya wrote: >>>>>>> Dear Paul, >>>>>>> >>>>>>> I could reproduce the crash by http://aquawicket.com/FreetypeBug.zip , >>>>>>> but I could not reproduce it with smaller program like attached one. >>>>>>> Does this bug occur when a program uses both of SDL and FreeType2? >>>>>>> >>>>>>> Regards, >>>>>>> mpsuzuki >>>>>>> >>>>>>> suzuki toshiya wrote: >>>>>>>> I will check. >>>>>>>> >>>>>>>> Regards, >>>>>>>> mpsuzuki >>>>>>>> >>>>>>>> Werner LEMBERG wrote (2012/06/12 14:49): >>>>>>>>> [Forwarding to the list since I don't use Windows. Anyone interested >>>>>>>>> in looking into this?] >>>>>>>>> >>>>>>>>> >>>>>>>>> Werner >>>>>>>>> >>>>>>>>> ====================================================================== >>>>>>>>> >>>>>>>>> From: Paul Dean <[email protected]> >>>>>>>>> Subject: RE: [ft] Freetype FT_Request_Size() crashes >>>>>>>>> Date: Mon, 11 Jun 2012 17:40:24 -0500 >>>>>>>>> >>>>>>>>>> I'm still tearing out my hair on this one. It seems SDL 2.0 is >>>>>>>>>> conflicting with freetype. I know a few sloppy fixes on windows. I >>>>>>>>>> can't for the life of me figure out how to get them to get along on >>>>>>>>>> Mac or android. My windows sloppy fixes do not fix MAC or Android. >>>>>>>>>> I've decided to create a minimal SDL 2.0 / Freetype 2.4.9 project for >>>>>>>>>> windows that will reproduce this crash. The debug version on windows >>>>>>>>>> will work but the release build will show the crash. >>>>>>>>>> The only thing the project requires is Cmake and Visual C++ 2008 or >>>>>>>>>> higher. No other dependencies needed. Just cmake and compile. >>>>>>>>>> http://aquawicket.com/FreetypeBug.zip >>>>>>>>> _______________________________________________ >>>>>>>>> Freetype mailing list >>>>>>>>> [email protected] >>>>>>>>> https://lists.nongnu.org/mailman/listinfo/freetype >>>>>>>> _______________________________________________ >>>>>>>> Freetype mailing list >>>>>>>> [email protected] >>>>>>>> https://lists.nongnu.org/mailman/listinfo/freetype >>>>>>> ------------------------------------------------------------------------ >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Freetype mailing list >>>>>>> [email protected] >>>>>>> https://lists.nongnu.org/mailman/listinfo/freetype >>>>> >>>> _______________________________________________ >>>> Freetype mailing list >>>> [email protected] >>>> https://lists.nongnu.org/mailman/listinfo/freetype >> > > > _______________________________________________ > Freetype mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/freetype _______________________________________________ Freetype mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype
