> LD_PRELOAD=./libasyncsafe.so cobcrun PROG
Segmentation fault
> LD_PRELOAD=./libasyncsafe.so gdb --args cobcrun -version
asyncsafe violation! handler for signal 17 called [__errno_location]
Segmentation fault
Any ideas?
Note: the signal handling is not done in the main executable cobcrun but in its shared library.