Michael Van Canneyt wrote:
On Tue, 27 May 2008, Jon Foster wrote:
  
SIGSEGV (otherwise known as a segfault) is a *nix signal indicating that the an illegal address was
accessed. Normally it can't be caught with a try...except. [...]
    

This is not correct.
The RTL catches this signal and converts this to an exception, if you use the sysutils unit.

Michael.
_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
  
This is good to know. I'm certain that I've had segfaults without it being turned into an exception and I always include SysUtils for the exception handling.

THX - Jon
-- 
Jon Foster
JF Possibilities, Inc.
[EMAIL PROTECTED]
541-410-2760
Making computers work for you!
_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to