I assume you mean a Unix signal handler, in which case the answer is yes.
Padraig
> Delivered-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: a segfault-handler?
> Mime-Version: 1.0
> Content-Transfer-Encoding: 8bit
> X-BeenThere: [EMAIL PROTECTED]
> X-Loop: [EMAIL PROTECTED]
> X-Mailman-Version: 2.0beta5
> List-Id: General discussion of GTK+ <gtk-list.gnome.org>
>
> Hi,
>
> is it possible to conect a signal handler to a segmentation fault? I would
> like to stop child processes (the pipe-processes, to prevent "ghost
> processes") and release the hardware devices I use before quitting and
> dumping core, since otherwise, the device will report as being busy and you
> need a full restart to correct that (and a message that you need to send
> bug report could come in handy as well here :-) )...
>
> Ronald
>
> --
> ---------------------------------------------------.
> -- .-. | Ronald Bultje |
> -- /V\ | Running: Linux 2.4.2 and OpenBSD 2.8 |
> -- // \\ | E-mail : [EMAIL PROTECTED] |
> -- /( )\ | WWW : http://ronald.bitfreak.net/ |
> -- ^^-^^ | *** Warning: Unix Addicted *** |
> ---------------------------------------------------'
>
>
> _______________________________________________
> gtk-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list