Re: Strange Crash on a 10.5 32bits Intel Mac
Re: Strange Crash on a 10.5 32bits Intel Mac
- Subject: Re: Strange Crash on a 10.5 32bits Intel Mac
- From: Laurent Daudelin <email@hidden>
- Date: Thu, 13 Oct 2011 22:13:22 -0700
On Oct 13, 2011, at 21:13, Wade Tregaskis wrote:
>> 0 libSystem.B.dylib 0x00007fff81af8d4e small_free_list_remove_ptr + 169
>> 1 libSystem.B.dylib 0x00007fff81af5911 szone_free + 2477
>> 2 com.apple.CoreGraphics 0x00007fff81da1530 CGPDFTextStringRelease + 41
>> 3 com.apple.PDFKit 0x000000010069ad5b -[PDFPage(PDFPageInternal) loadTextChars] + 3365
>> 4 com.apple.PDFKit 0x0000000100697493 -[PDFPage string] + 99
>> 5 com.apple.PDFKit 0x0000000100691d15 -[PDFDocument string] + 165
>
> Crashes in szone_free typically imply corruption of the malloc metadata, perhaps as a result of a use-after-free or array under/over-flow.
>
> The first port of call is to run your app with Guard Malloc enabled. With a bit of luck, that'll move the crash to the point at which the memory is being corrupted.
>
> That said, given this is in the PDF code, which is notoriously a bit buggy, and only occurs on Leopard implies that even if you do find the issue this way, the error may be in the system frameworks.
Thanks, Wade. I'll try Guard Malloc tomorrow and see what it tells me.
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden