Static initialization crashing with bad instruction
Static initialization crashing with bad instruction
- Subject: Static initialization crashing with bad instruction
- From: "Fred Crary" <email@hidden>
- Date: Thu, 29 Dec 2005 16:39:50 -0800
- Thread-topic: Static initialization crashing with bad instruction
Title: Static initialization crashing with bad instruction
We are trying to move a Netscape-style plug-in to a universal binary. When the plug-in is loaded, it crashes while running the static initializers. This behavior occurs only on the i386 architecture -- the ppc works fine.
The specific error is a "bad instruction" which seems to be called by a branch into uninitialized memory. We tracked one instance down, replaced it by a singleton, and the problem moved to another static initialization.
Is this a known bug with a known workaround (e.g., a compiler switch)? (I did some searching before I posted this and didn't find anything that seemed pertinent.)
Thanks,
Fred
P.S. Is this question better posted on a different list? If so, suggestions would be appreciated.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden