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.
It cannot even release instances of plugins because this code is in already freed memory.
--
WBR, SD.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel