From: darkestkhan <darkestkhan@gmail.com>
Subject: Re: ZLIB_ERROR with AWS
Date: Sat, 20 Oct 2012 23:17:13 -0700 (PDT)
Date: 2012-10-20T23:17:13-07:00 [thread overview]
Message-ID: <06aa88bb-6e6e-47a2-81cb-19c2f78a9af3@googlegroups.com> (raw)
In-Reply-To: <slrnk863bm.cna.oka.sux@localhost.localdomain>
On Saturday, October 20, 2012 8:46:31 PM UTC, Okasu wrote:
> On 2012-10-20, Dmitry A. Kazakov <mailbox@dmitry-kazakov.de> wrote:
>
> > If you want that and have access to the sources, you could modify the code
>
> > of the offending Finalize (where #2 propagates from) by adding at its
>
> > beginning something like:
>
> >
>
> > procedure Finalize (...) is
>
> > begin
>
> > Ada.Text_IO.Put_Line
>
> > ( "#1 was:"
>
> > & Ada.Exceptions.Exception_Information
>
> > ( GNAT.Most_Recent_Exception.Occurrence
>
> > ) );
>
> > ...
>
> >
>
> > at the end of the Finalize you add:
>
> >
>
> > ...
>
> > exception
>
> > when Error : others =>
>
> > Ada.Text_IO.Put_Line
>
> > ( "#2 was:"
>
> > & Ada.Exceptions.Exception_Information (Error)
>
> > );
>
> > raise;
>
> > end Finalize;
>
> >
>
> > Now in the output there should be lines "#1 was:" followed by "#2 was:",
>
> > which could give a hint what is going on.
>
>
>
> I made it (took ~1 hour to recompile AWS), and here is output:
>
> -----
>
> #1 was:Exception name: PROGRAM_ERROR
>
> Message: SSL not supported.
>
>
>
> #2 was:Exception name: PROGRAM_ERROR
>
> Message: SSL not supported.
>
>
>
>
>
> raised PROGRAM_ERROR : aws-client.adb:290 finalize/adjust raised exception
>
> -----
>
>
>
> Why it tells me that SSL not supported?
>
> I have openssl installed.
IIRC, OpenSSL isn't supported by default because of licence incompatibility.
Also for exception propagated too deep - you can attach gdb to the process ("catch exception" - Ada specific command for gdb which will catch every exception, before they get propagated). Though I understand not wanting to use debugger.
prev parent reply other threads:[~2012-10-21 6:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-20 0:35 ZLIB_ERROR with AWS Okasu
2012-10-20 7:23 ` Okasu
2012-10-20 7:47 ` Dmitry A. Kazakov
2012-10-20 8:32 ` Okasu
2012-10-20 9:04 ` Dmitry A. Kazakov
2012-10-20 20:46 ` Okasu
2012-10-20 20:58 ` Pascal Obry
2012-10-20 21:15 ` Okasu
2012-10-20 21:25 ` Pascal Obry
2012-10-20 21:30 ` Okasu
2012-10-20 22:26 ` Okasu
2012-10-21 7:29 ` Pascal Obry
2012-10-21 10:22 ` Marius Amado-Alves
2012-10-21 20:44 ` Okasu
2012-10-22 5:38 ` Pascal Obry
2012-10-22 8:08 ` Okasu
2012-10-22 15:39 ` Pascal Obry
2012-10-21 6:17 ` darkestkhan [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox