[Lazarus] External: SIGSEGV

Bogusław Brandys brandys at o2.pl
Tue May 27 21:15:40 CEST 2008


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. You have to muck about with signals to catch it
>> with 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 at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
> 

My advice: test program outside of the Lazarus IDE.If it crashes then 
it's not an IDE, but I suspect it's all about gdb.


Regards
Boguslaw



More information about the Lazarus mailing list