• 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: Weird dyld loader crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird dyld loader crash


  • Subject: Re: Weird dyld loader crash
  • From: Ken Thomases <email@hidden>
  • Date: Sun, 21 Jun 2009 15:51:22 -0500

On Jun 20, 2009, at 10:44 PM, Andrew Farmer wrote:

On 20 Jun 2009, at 20:27, Erg Consultant wrote:
I suddenly started getting a weird loader crash when launching my app. Has anyone seen any errors similar to this one:

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   ???                               0000000000 0 + 0
1   XXXXXXXXXXXXXXXXX             0x00010c89 0x1000 + 64649
2   XXXXXXXXXXXXXXXXX             0x00011970 0x1000 + 67952
3   XXXXXXXXXXXXXXXXX             0x0004ef07 0x1000 + 319239
4   XXXXXXXXXXXXXXXXX             0x0004efb9 0x1000 + 319417

This error is in your code. It has nothing to do with dyld, save that it occurred in code that was called at initialization time.

Did you recently implement a +load method for one of your classes? Have you added C++ or Objective-C++ code that includes a static object with a custom constructor? Have you used __attribute__(constructor)?


In any case, try running an unstripped debug build of your program. The crash will probably show you where in your code the problem is happening.

Regards,
Ken

_______________________________________________

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: 
 >Weird dyld loader crash (From: Erg Consultant <email@hidden>)
 >Re: Weird dyld loader crash (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Core Data capabilities questions
  • Next by Date: Re: Core Data capabilities questions
  • Previous by thread: Re: Weird dyld loader crash
  • Next by thread: How to refresh detail view after [NSTreeController remove:sender]
  • Index(es):
    • Date
    • Thread