• 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
ARC: __weak variable holds x instead of y
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ARC: __weak variable holds x instead of y


  • Subject: ARC: __weak variable holds x instead of y
  • From: Steve Christensen <email@hidden>
  • Date: Fri, 07 Sep 2012 07:25:02 -0700

I'm in the process of converting one of our existing iPhone apps to ARC, and while I think I have most of the kinks worked out, I'm occasionally seeing the following in the debug log.

objc[46805]: __weak variable @ 0x7c12784 holds 0xf1344910 instead of 0x7c146b0

objc[46805]: __weak variable @ 0x909c534 holds 0x8090d6b5 instead of 0x7c146b0

objc[46805]: __weak variable @ 0x7c12780 holds 0x70000000 instead of 0x7c146b0

objc[46805]: __weak variable @ 0x909c530 holds 0x70000000 instead of 0x7c146b0

It appears that something's changing unexpectedly, but I don't have a good idea how to track down where it's happening so I can fix it. Any debugging help on this one?

Thanks,
Steve

 _______________________________________________
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: ARC: __weak variable holds x instead of y
      • From: Mikkel Islay <email@hidden>
  • Prev by Date: Re: Build from IDE vs Script
  • Next by Date: Live Issues and Build Errors disagree
  • Previous by thread: Re: Build from IDE vs Script
  • Next by thread: Re: ARC: __weak variable holds x instead of y
  • Index(es):
    • Date
    • Thread