• 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: set a breakpoint in szone_error to debug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set a breakpoint in szone_error to debug


  • Subject: Re: set a breakpoint in szone_error to debug
  • From: "Sean McBride" <email@hidden>
  • Date: Wed, 12 Oct 2005 12:26:30 -0400
  • Organization: Rogue Research

On 2005-10-12 08:55, Jim Ingham said:

>I looks like not all the malloc errors go through szone_error.
>Somebody ought to fix that error message. Anyway, they do all go
>through "malloc_printf".  Try breaking there.

Thanks for your reply Jim,

Alas, malloc_printf is also the source of the message:

malloc: MallocCheckHeap: PASSED check at 250001th operation

and if you have MallocCheckHeapEach set to a low number (common practice
trying to narrow down a bug) then breaking on malloc_printf is not
helpful.  What is needed is something to break on that is _only_ called
on an error, not harmless informational messages. I thought that's what
szone_error was, but it guess it's not quite.

I filed <rdar://4297613> if you're interested.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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

References: 
 >Re: set a breakpoint in szone_error to debug (From: "Sean McBride" <email@hidden>)
 >Re: set a breakpoint in szone_error to debug (From: Jim Ingham <email@hidden>)

  • Prev by Date: Re: creating a package in xcode 1.5 with an alternative 'stub' app for 10.1 and 10.2
  • Next by Date: Xcode rebuilding from scratch
  • Previous by thread: Re: set a breakpoint in szone_error to debug
  • Next by thread: ZeroLink startup failure
  • Index(es):
    • Date
    • Thread