• 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 in Leopard due to symbol not found __NSConcreteStackBlock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock


  • Subject: Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 29 Oct 2009 11:31:42 +0100


Le 29 oct. 2009 à 11:25, Chris Suter a écrit :

Hi Bill,

On Thu, Oct 29, 2009 at 8:41 PM, Bill Cheeseman <email@hidden> wrote:

I already know that my code uses several blocks-based methods introduced in
Snow Leopard. I bypassed them when running under Leopard using standard
techniques, so I was surprised when they still caused my app to crash under
Leopard. I am in the process of trying to find a workable solution under
Leopard. I haven't yet found anything documenting this issue.

You might be able to workaround the issue by adding this to one of your files:


	void * _NSConcreteGlobalBlock __attribute__((weak));

and then make sure you pass the “-weak_references_mismatches weak"
flag to the linker.

Regards,

Chris

Thank you, Nice tips.

Note that is will not be enough, as you would have to redeclare all runtime symbols (all symbols marks as BLOCK_EXPORT in the Block runtime headers).

http://llvm.org/svn/llvm-project/compiler-rt/trunk/BlocksRuntime/


-- Jean-Daniel




_______________________________________________ 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: Crash in Leopard due to symbol not found __NSConcreteStackBlock
      • From: Bill Cheeseman <email@hidden>
References: 
 >Crash in Leopard due to symbol not found __NSConcreteStackBlock (From: Bill Cheeseman <email@hidden>)
 >Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock (From: Chris Idou <email@hidden>)
 >Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock (From: Bill Cheeseman <email@hidden>)
 >Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock
  • Next by Date: Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock
  • Previous by thread: Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock
  • Next by thread: Re: Crash in Leopard due to symbol not found __NSConcreteStackBlock
  • Index(es):
    • Date
    • Thread