Re: crash in __static_initialization_and_destruction on 10.3.9 but not 10.4.4?
Re: crash in __static_initialization_and_destruction on 10.3.9 but not 10.4.4?
- Subject: Re: crash in __static_initialization_and_destruction on 10.3.9 but not 10.4.4?
- From: Gen Kiyooka <email@hidden>
- Date: Mon, 6 Feb 2006 08:26:26 -0800
That's kind of a scary tech note - but not as scary as the dyld
sources ;)
The other factor to consider is that the 3 different dylib models
that are
available all have different life cycle models. I wrote a series of
test
programs that explored the loading/unloading cycle for dynamic libs,
frameworks and bundles and they have different unloading properties.
My suggestion is to hook the mach load/unload entry points and dump
some stuff to the console log to make sure your frameworks are loading
and unloading the way you expect them to.
Gen
On Feb 1, 2006, at 10:10 AM, Steve Checkoway wrote:
Jens Krüger wrote:
There was a change in the order terminators are called in 10.4.
Before 10.4 global objects were destructed in the same order they
were constructed (not good). In 10.4 objects are destructed in
the reverse order they were constructed.
Not related to this problem, there is also a problem with
initializers before 10.4. Basically, initializers are run too
lazily before 10.4.
http://developer.apple.com/releasenotes/DeveloperTools/dyld.html
That is very good to know. Thank you for pointing that page out.
- Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40digigami.com
This email sent to email@hidden
_______________________________________________
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