Re: Work with zerolink enabled; crashes due to signal 5 (SIGTRAP) without
Re: Work with zerolink enabled; crashes due to signal 5 (SIGTRAP) without
- Subject: Re: Work with zerolink enabled; crashes due to signal 5 (SIGTRAP) without
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 20 Sep 2005 07:44:03 -0700
On Sep 20, 2005, at 7:26 AM, Ryan Raaum wrote:
I discovered this problem when I tried to compile in the Deployment
style and eventually tracked it down the the combination of Zerolink
and a simple alloc statement. With Zerolink enabled - no problems;
without zerolink it crashes... and the statement it dies on is:
MyClass *newInstance = [[MyClass alloc] init];
and it's dying somewhere in the alloc - never makes it to the init.
0 libobjc.A.dylib 0x9083be80 _objc_trap + 0
1 libobjc.A.dylib 0x9083be14 _objc_fatal + 0x48
2 libobjc.A.dylib 0x908329c0 class_initialize
+ 0x120
3 libobjc.A.dylib 0x90831524
_class_lookupMethodAndLoadCache + 0x84
4 libobjc.A.dylib 0x90831298 objc_msgSend + 0xb8
5 libobjc.A.dylib 0x908329e0 class_initialize
+ 0x140
6 libobjc.A.dylib 0x90831524
_class_lookupMethodAndLoadCache + 0x84
7 libobjc.A.dylib 0x90831298 objc_msgSend + 0xb8
I have no idea what the problem is... can anyone offer a suggestion?
Did you do something unusual like override +alloc?
-jcr
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden