Re: a segfault-handler?



I assume you mean a Unix signal handler, in which case the answer is yes.

Padraig

> Delivered-To: gtk-list gnome org
> To: gtk-list gnome org
> Subject: a segfault-handler?
> Mime-Version: 1.0
> Content-Transfer-Encoding: 8bit
> X-BeenThere: gtk-list gnome org
> X-Loop: gtk-list gnome org
> 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 : rbultje ronald bitfreak net |
> -- /(   )\  | WWW    : http://ronald.bitfreak.net/ |
> --  ^^-^^   |    *** Warning: Unix Addicted ***    |
> ---------------------------------------------------'
> 
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list





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