[fpc-pascal] catch segfaults

Xiangrong Fang xrfang at gmail.com
Thu Mar 14 09:23:17 CET 2013


I am sorry that was what I thought, but does not work, see screenshot
attached.

My environment:

xrfang at fxrlm ~ $ uname -a
Linux fxrlm 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
xrfang at fxrlm ~ $ cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=14
DISTRIB_CODENAME=nadia
DISTRIB_DESCRIPTION="Linux Mint 14 Nadia"
xrfang at fxrlm ~ $


2013/3/14 Mattias Gaertner <nc-gaertnma at netcologne.de>

> On Thu, 14 Mar 2013 07:05:21 +0800
> Xiangrong Fang <xrfang at gmail.com> wrote:
>
> > Is it possible to use try...except to catch SIGSEGV?
>
> yes. The exception class is EAccessViolation.
>
>
> Mattias
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130314/2a7de43d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: segfault.png
Type: image/png
Size: 93259 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130314/2a7de43d/attachment.png>


More information about the fpc-pascal mailing list