Opened 18 years ago

Last modified 18 years ago

#103 closed defect

libc: atexit() callbacks in dlls are called after dlclose()/DosFreeModule() on the DLL — at Version 5

Reported by: Yuri Dario Owned by: bird
Priority: normal Milestone: libc-0.6.2
Component: libc-backend Version: 0.6
Severity: normal Keywords: dlclose DosFreeModule atexit on_exit
Cc:

Description (last modified by bird)

Use atexit()/on_exit() to register a callback residing in a dynamically loaded DLL. Then unload the DLL. When exit() eventually is called, the application crashes because the callback code isn't there anylonger.

Change History (6)

Changed 18 years ago by Yuri Dario

Attachment: dll_exit.zip added

comment:1 Changed 18 years ago by kkkkoaaa

Keep a good job up! http://quick-adult-links.com

comment:5 Changed 18 years ago by bird

Description: modified (diff)
Keywords: dlclose DosFreeModule atexit on_exit added
Severity: criticalnormal
Summary: Exit list handlers registered from dll are not released on DosFreeModulelibc: atexit() callbacks in dlls are called after dlclose()/DosFreeModule() on the DLL
Type: defect
Version: 0.6.10.6
Note: See TracTickets for help on using tickets.