• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange Crash on a 10.5 32bits Intel Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Strange Crash on a 10.5 32bits Intel Mac
      • From: Laurent Daudelin <email@hidden>
References: 
 >Strange Crash on a 10.5 32bits Intel Mac (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: Xcode 4.2 updater
  • Next by Date: Re: Strange Crash on a 10.5 32bits Intel Mac
  • Previous by thread: Strange Crash on a 10.5 32bits Intel Mac
  • Next by thread: Re: Strange Crash on a 10.5 32bits Intel Mac
  • Index(es):
    • Date
    • Thread