Steve Teale wrote:
> ...
> 
> So it seems there is a safety net in Windows, but not in Linux. Is this how 
> it is supposed to be?

Under Windows, access violations cause the OS to throw an exception.
Since D uses the same EH mechanism as the OS, this integrates nicely.

Under linux, SIGSEGV is a signal, and you can't safely throw exceptions
from signal handlers, so D just aborts.

As far as I understand it, it's a limitation of the way linux is designed.

Reply via email to