Segmentation fault in TF_Cleanup

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?

Hmmm... we'll look into this. Unfortunately it's not enough information to find the bug, but we'll keep an eye out for it. Also, if you're calling TF_Cleanup() at the end of your program, then you don't need it at all (because everything in the process will be disposed of).

Thanks for answer.Then I will comment this cleanup code for now.You can send me some debug library, if you would like to get more information from my testing on my email: martin.mikita@klokantech.com. I will send you results in email response also.