qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Handle terminating signals.


From: Stefano Stabellini
Subject: Re: [Qemu-devel] [PATCH] Handle terminating signals.
Date: Tue, 12 Aug 2008 12:46:06 +0100
User-agent: Thunderbird 2.0.0.14 (X11/20080505)

Ian Jackson wrote:

> Gerd Hoffmann writes ("Re: [Qemu-devel] [PATCH] Handle terminating signals."):
>> Ian Jackson wrote:
>>> SIGQUIT should not be in this list.  QUIT does not mean `please
>>> terminate'.  It's a signal used for debugging purposes and usually
>>> means `please pretend this program took a SEGV'.  The default action
>>> is to die and dump core, and this should be preserved.
>> Ok, we could take the SIGSEGV cleanup route, then call abort().  That
>> should come close enougth.  Does that sound ok?
> 
> No, because the program should not attempt to catch SEGV either.
> 

I agree.
The idea of trying a clean exit when a termination signal is received is
good, but do we really need the complicated fatalsig_call_handlers and
fatalsig_register_handler system?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]