[dmd-internals] changeset 455

Andrei Alexandrescu andrei at erdani.com
Wed Apr 28 13:54:52 PDT 2010


On 04/28/2010 03: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.

I agree. But couldn't the process printf() a string before dying?

Andrei


More information about the dmd-internals mailing list