14.07.2021 15:14, Dimitry Sibiryakov wrote:
14.07.2021 13:06, Alex Peshkoff via Firebird-devel wrote:
Looks like it is not thread races or I did call gettid() wrongly.
But if all that chain was called from fb_shutdown() it does not matter - UnloadDetector is not needed. Can you show the stack
trace when doClean is called?
Here it is:
...
#35 0x00007ffff4d805dc in (anonymous namespace)::allClean () at
/home/sd/firebird/src/common/classes/init.cpp:132
#36 (anonymous namespace)::Cleanup::~Cleanup (this=<optimized out>,
__in_chrg=<optimized out>)
at /home/sd/firebird/src/common/classes/init.cpp:172
#37 0x00007ffff68f7161 in __run_exit_handlers (status=0, listp=0x7ffff6c9f718
<__exit_funcs>,
run_list_atexit=run_list_atexit@entry=true,
run_dtors=run_dtors@entry=true) at exit.c:108
#38 0x00007ffff68f725a in __GI_exit (status=<optimized out>) at exit.c:139
#39 0x00007ffff68d5bfe in __libc_start_main (main=0x5555555756e0 <main(int,
char**)>, argc=2, argv=0x7fffffffe378,
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fffffffe368) at ../csu/libc-start.c:344
#40 0x00005555555760fa in _start ()
Are you sure fb_shutdown() was called before exit() ?
Regards,
Vlad
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel