Overview
| Artifact ID: | eb46f4b05af3a8621fc91648320e90337f6a199d |
|---|---|
| Ticket: | 1011715fffffffffffffffffffffffffffffffff
segfault in exit() due to unloaded shared library |
| User & Date: | mistachkin on 2004-10-10 02:38:01 |
Changes
- icomment:
Logged In: YES user_id=113501 It would seem from reading the description of the problem above that gcc expects the atexit() handlers to be called prior to the DLL being unloaded? Is there any way we can figure out those handlers and call them ourselves? Perhaps we can "hook" atexit(), figure out which DLL invoked it, and simply call the handlers ourselves prior to unloading the DLL in question.
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"