14.07.2021 12:38, Dimitry Sibiryakov wrote:
14.07.2021 11:27, Alex Peshkoff via Firebird-devel wrote:
  I'll do a couple more experiments to determine if the problem is with thread races or library unloading order by OS because I suspect that on exit they are unloaded in reverse order

As far as I know yes - reverse.

so trace plugin is unloaded before UnloadDetectorHelper in the engine is fired.

  In this case the engine's UnloadDetector must not call routines from other libraries.

  Why do you think it does ? Do you have a stack trace ?
Does your embedded app calls fb_shutdown() before exit() ?
Does your dll module conains code that detects "unxpected" unload (as 
UnloadDetectorHelper do) ?
Does your dll module run cleanup code in this case ?

Regards,
Vlad



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to