un-catched segfault exception

Jarrett Billingsley kb3ctd2 at yahoo.com
Wed Jan 9 20:27:27 PST 2008


"philippe quesnel" <philippe.quesnel at gmail.com> wrote in message 
news:fm3q1p$su3$1 at digitalmars.com...
>I have a bug that causes a segmentation fault (null object)...
> but try/catch fails to catch it !! ??
>
> even with
> catch (Exception e)
>   ...
> catch (Error e)
>   ...
> catch // "last catch"
>   ...
>
> I still cant catch the exception & the app crashes.
>
> I'm on Windows (XP), with
> gdc.exe (GCC) 3.4.5 (mingw special) (gdc 0.24, using dmd 1.020).
>
> I must be missing some important point here .. this cant be the normal 
> behaviour !!??
>
> any help / suggestions would be appreciated.
> thank you
> Philippe

That's funny, cause on DMDWin you _can_ catch them. 





More information about the Digitalmars-d mailing list