• 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: Context leak detected, msgtracer returned -1 ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Context leak detected, msgtracer returned -1 ?


  • Subject: Re: Context leak detected, msgtracer returned -1 ?
  • From: Greg Parker <email@hidden>
  • Date: Mon, 22 May 2017 14:24:51 -0700

> On May 22, 2017, at 8:52 AM, Jonathan Mitchell <email@hidden> wrote:
>
> Hi
>
> On occasion I see the following in the Xcode console when running my Obj-C app:
>
> Context leak detected, msgtracer returned -1
>
> I have tried setting symbolic breakpoints on NSLog etc but to no avail.
>
> Is the context in question a CGContext?

The context is an IOAccelContext, which itself is deep in the graphics machinery. The log complains once for every 512 objects allocated. Try setting a breakpoint on IOAccelLogContextLeak or fprintf.

You should also file a bug report that this log is too vague.


--
Greg Parker     email@hidden <mailto:email@hidden>     Runtime Wrangler


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Context leak detected, msgtracer returned -1 ?
      • From: Jonathan Mitchell <email@hidden>
References: 
 >Context leak detected, msgtracer returned -1 ? (From: Jonathan Mitchell <email@hidden>)

  • Prev by Date: Context leak detected, msgtracer returned -1 ?
  • Next by Date: Re: Context leak detected, msgtracer returned -1 ?
  • Previous by thread: Context leak detected, msgtracer returned -1 ?
  • Next by thread: Re: Context leak detected, msgtracer returned -1 ?
  • Index(es):
    • Date
    • Thread