Opened 9 years ago

Closed 8 years ago

Last modified 6 years ago

#747 closed bug (duplicate)

Unloading a dll does not clean up properly

Reported by: guest Owned by:
Priority: normal Milestone: 6.6
Component: Runtime System Version: 6.4.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:


When a DLL is loaded it calls initUserSignals() and initDefaultHandlers().
This sets up some signal (event) handlers.
When the DLL is unloaded it does not remove those handlers.
This means that if the events happen after the DLL has been unloaded
it will dispatch into non-loaded code. This is, obviously, bad.

It's very dubious if a DLL should install these handlers at all.
At least there should be a flag if they should be installed or not.
And if installed they should be removed on exit.

Change History (5)

comment:1 Changed 9 years ago by guest

I forgot to sign my bug repotr.

-- Lennart

comment:2 Changed 9 years ago by simonmar

  • Milestone set to 6.6

comment:3 Changed 8 years ago by simonpj

  • Resolution set to duplicate
  • Status changed from new to closed

Dup of #804, which has more info

comment:4 Changed 6 years ago by simonmar

  • Architecture changed from Multiple to Unknown/Multiple

comment:5 Changed 6 years ago by simonmar

  • Operating System changed from Multiple to Unknown/Multiple
Note: See TracTickets for help on using tickets.