[dmd-internals] changeset 455

Sean Kelly sean at invisibleduck.org
Fri Apr 30 12:48:10 PDT 2010


On Apr 28, 2010, at 1:24 PM, Bernard Helyer wrote:

> On 29/04/10 08:06, Andrei Alexandrescu wrote:
>> On 04/28/2010 02:53 PM, Walter Bright wrote:
>>>> I'm not sure to what extent segfaulting is detectable, but we
>>>> definitely must find good ways to address that too.
>>>> 
>>> 
>>> Debuggers are the standard tool for that.
>> 
>> I hear you but don't have one, and I swore to never use gdb. Ideally we should find a solution within the confines of the compiler.
>> 
>> Andrei
>> __________
> 
> But surely once a process has been sent SIGSEGV, we can't really recover from a generic handler? The process at that point is in an unknown state. The correct behaviour on SIGSEGV is to die.

It depends on the source of the SIGSEGV.  I've worked on apps where clean recovery from a segfault was an integral part of the design.


More information about the dmd-internals mailing list