asyncsafe icon indicating copy to clipboard operation
asyncsafe copied to clipboard

Segmentation fault when using asyncsafe on program / with gdb

Open GitMensch opened this issue 3 years ago • 0 comments

> 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.

GitMensch avatar Jun 13 '22 12:06 GitMensch