Exception handling not working in dynamic libraries
Summary
Exception handling not working in dynamic libraries on MacOS
System Information
Tried on MacOS 10.8 and 13.3
Steps to reproduce
fpc crashlib.pas fpc callcrashlib.pas ./callcrashlib
Example Project
What is the current bug behavior?
Crashes
What is the expected (correct) behavior?
the crash should be handled by the try except block