• 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: Crash with ARC enabled on Xcode 6.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash with ARC enabled on Xcode 6.1


  • Subject: Re: Crash with ARC enabled on Xcode 6.1
  • From: Beinan Li <email@hidden>
  • Date: Wed, 22 Oct 2014 19:31:39 -0400

Sorry, I didn't make it clearer. My code used to manage memory without ARC.
Then I converted everything to using ARC. The conversion was done
automatically via Xcode, with only a few hand edits. It worked without
issues with Xcode 6.0.x.

By "turning off ARC", I meant that I reverted to the revision before
converting to ARC.

Thanks,
Beinan


On Wed, Oct 22, 2014 at 7:16 PM, Quincey Morris <
email@hidden> wrote:

> On Oct 22, 2014, at 14:10 , Beinan Li <email@hidden> wrote:
>
>
> And it stops crashing if I turn off ARC.
>
>
> I don’t understand this. How do you turn off ARC? Are you just changing
> the build setting that controls ARC?
>
> It sounds like there are no source code changes. Unless you’ve done
> something very clever, an app can’t adopt ARC (and have objects whose
> lifetimes are actually managed by it, I mean) without source code changes.
> You might *possibly* get an app to switch between ARC and GC without
> changes, but I’d class that under “very clever".
>
> If you are doing something clever, then the app possibly was never quite
> correct, and the timing changes arising from building the app differently
> are exposing an existing bug.
>
> If you’re not, then the whole thing can’t really work (though I’d expect
> it to crash more *without* ARC, perhaps leaking more with ARC).
>
> Or, more likely, I’m missing something important. It might help if you
> explain a bit further.
>
>
_______________________________________________

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


References: 
 >Crash with ARC enabled on Xcode 6.1 (From: Beinan Li <email@hidden>)
 >Re: Crash with ARC enabled on Xcode 6.1 (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Crash with ARC enabled on Xcode 6.1
  • Next by Date: Re: Crash with ARC enabled on Xcode 6.1
  • Previous by thread: Re: Crash with ARC enabled on Xcode 6.1
  • Next by thread: Search feature on NavigationBar
  • Index(es):
    • Date
    • Thread