fido-asm crash due to shared library close before use