From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,e315b3232f1093b0 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.doubleslash.org!open-news-network.org!news.teledata-fn.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Exception handler does not catch an exception Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <2f479ca7-b081-4dc4-9ca9-bcee141e4df8@n21g2000vba.googlegroups.com> Date: Tue, 9 Jun 2009 09:26:25 +0200 Message-ID: <1jj8p0dami3eb$.1t8zzo12b84uo.dlg@40tude.net> NNTP-Posting-Date: 09 Jun 2009 09:26:23 CEST NNTP-Posting-Host: 194426cf.newsspool2.arcor-online.net X-Trace: DXC=J[3E3cG\kgb8Oi>aVjEO[c X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:6385 Date: 2009-06-09T09:26:23+02:00 List-Id: 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