Re: How To Trap fatal errors in a GTK Application.
- From: "Harsha Kodnad" <harsha km tallysolutions com>
- To: "James Henstridge" <james jamesh id au>
- Cc: gnome-devel-list gnome org
- Subject: Re: How To Trap fatal errors in a GTK Application.
- Date: Tue, 24 Aug 2004 18:19:31 +0530
Hi James,
Thanks for the answer,
Can you tell me how to set my own handler ?
is there any api available for this ?
Thanks
Regards,
Harsha Kodnad
Senior Software Engineer
Tally Solutions Pvt. Ltd.
Bangalore
Ph : +91 80 302 82559 Ext : 327
Email : harsha km tallysolutions com
----- Original Message -----
From: "James Henstridge" <james jamesh id au>
To: "Harsha Kodnad" <harsha km tallysolutions com>
Cc: <gnome-devel-list gnome org>
Sent: Tuesday, August 24, 2004 4:10 PM
Subject: Re: How To Trap fatal errors in a GTK Application.
> On 23/08/04 20:01, Harsha Kodnad wrote:
>
> > I have written a GTK+ application. (Gnome) When ever my
> > application crashes a Gnome Dialog is displayed. How can I trap this
> > fatal and segfault errors so that I can display my dialog and exit ?
>
> The crash dialog is called from a SIGSEGV signal handler. If you set
> your own handler for this, you can probably do your own thing.
>
> Note that if this gets called, then your app has done something bad that
> you probably won't be able to recover from. You'd be better off trying
> to fix the problems that cause your app to segfault.
>
> James.
>
> --
> Email: james jamesh id au
> WWW: http://www.jamesh.id.au/
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]