From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Exception handler does not catch an exception
Date: Tue, 9 Jun 2009 09:26:25 +0200
Date: 2009-06-09T09:26:23+02:00 [thread overview]
Message-ID: <1jj8p0dami3eb$.1t8zzo12b84uo.dlg@40tude.net> (raw)
In-Reply-To: 2f479ca7-b081-4dc4-9ca9-bcee141e4df8@n21g2000vba.googlegroups.com
On Mon, 8 Jun 2009 19:01:53 -0700 (PDT), rickduley wrote:
> addr2line obviously does not like GtkAda because the output was
> unintelligible.
It does not like C. If an exception is propagated through GTK/Glib etc,
which is almost always the case with GtkAda, you almost certainly get the
call stack corrupted.
> I am
> not too sure what I did that fixed it but I suspect that I was trying
> to add something to an unitialised widget in GtkAda.
When you extend a GTK class, you have to initialize the parent widget
before Initialize_Class_Record. Further, some GTK calls are allowed only
when the widget is so called "realized". There is a countless number of
things one could do wrong in GTK...
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2009-06-09 7:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-08 3:19 Exception handler does not catch an exception Rick
2009-06-08 5:16 ` anon
2009-06-08 7:21 ` rickduley
2009-06-08 11:40 ` anon
2009-06-08 7:37 ` Ludovic Brenta
2009-06-09 10:50 ` Stephen Leake
2009-06-09 2:01 ` rickduley
2009-06-09 7:26 ` Dmitry A. Kazakov [this message]
2009-06-10 10:06 ` Stephen Leake
2009-06-14 14:12 ` Alex R. Mosteo
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox