[fpc-pascal] Unhandled exception from library crashes host exe
    Mark Morgan Lloyd 
    markMLl.fpc-pascal at telemetry.co.uk
       
    Wed Jun 27 22:25:19 CEST 2012
    
    
  
Apologies for my poor threading. Sven said:
 > Unix based systems might be a different topic altogether. I've no
 > experience regarding cross module excetions on *nix, so I can't
 > comment whether it works or not...
 > Summa summarum: don't let exceptions travel past the DLL boundary. One
 > might be able to fix it on Windows, but *nix maybe not so much...
Forcing an integer divide-by-zero error in a routine in a .so on i386 
Linux, with an exception handler in the main program, I get a floating 
point error reported in the shell session. So it's definitely not 
trapped, and might be mis-reported.
-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
    
    
More information about the fpc-pascal
mailing list