Re: Weird dyld loader crash
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