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: Wade Tregaskis <email@hidden>
- Date: Fri, 14 Oct 2011 00:13:31 -0400
> 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.
_______________________________________________
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