Hello,
I was testing TurboFloat licenses, when running application on Linux (either Linux Mint as Virtual Machine, or Debian 8 within docker image) sometimes throws segfault.
Each time it failed in TF_Cleanup() function. Lease was released correctly.
I tried now gdb with debug build binaries, and this I get:Program received signal SIGSEGV, Segmentation fault.0x0000000000000000 in ?? ()(gdb) bt#0 0x0000000000000000 in ?? ()#1 0x00007ffff646ca29 in ?? () from /build/bin/libTurboFloat.so#2 0x00007ffff646caea in ?? () from /build/bin/libTurboFloat.so#3 0x00007ffff6473d87 in ?? () from /build/bin/libTurboFloat.so#4 0x00007ffff64703f4 in ?? () from /build/bin/libTurboFloat.so#5 0x00007ffff6470435 in ?? () from /build/bin/libTurboFloat.so#6 0x00007ffff64773a6 in TF_Cleanup () from /build/bin/libTurboFloat.so
It is very very hard to find best way to reproduces. Basically, program done only this:Set server, get Lease, print license custom fields, drop Lease, call Cleanup, finish.Now I tried start this debug program 15 times, and after that it crashed once.Without debug library running outside of gdb program, it was crashing after ~7 times, sometimes only 2-3 run without crash.
Is it enough for you to find problem?