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=-1.9 required=5.0 tests=BAYES_00,WEIRD_PORT autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNATCOLL JSON Parsing Date: Mon, 26 Nov 2018 15:56:33 +0000 Organization: A noiseless patient Spider Message-ID: References: <9524b3ee-476f-4af6-ab83-b15a6c2a417c@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader01.eternal-september.org; posting-host="bf49c685e17bed62906014b39e9e2a8f"; logging-data="26431"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kbC+pJaEJRhEZ3YfDOjdGVpUC6ri7CRA=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:YRt5+F/jb7RfPlPDTZB8Z4S7Go4= sha1:ZCx8ELA+MvNlDkWbXA6Hxk/PJmI= Xref: reader01.eternal-september.org comp.lang.ada:54897 Date: 2018-11-26T15:56:33+00:00 List-Id: Björn Lundin writes: > So my version crashes on AWS.Client.Get > I cannot really help you further here I think this is because of SSL not being supported (I'm using the unpatched CE 2018). For me, GDB says Catchpoint 1, PROGRAM_ERROR (SSL not supported.) at 0x00000001000018fe in test_json () at /Users/simon/tmp/cla/test_json.adb:12 12 Aws_Reply := Aws.Client.Get (gdb) c Continuing. Catchpoint 1, PROGRAM_ERROR (aws-client.ads:592 finalize/adjust raised exception) at 0x00000001000018fe in test_json () at /Users/simon/tmp/cla/test_json.adb:12 12 Aws_Reply := Aws.Client.Get I triet getting the JSON file and using a file:// URL to get it locally, but now I get a constraint error Catchpoint 1, CONSTRAINT_ERROR (aws-url.adb:374 range check failed) at 0x00000001000018de in test_json () at /Users/simon/tmp/cla/test_json.adb:12 12 Aws_Reply := Aws.Client.Get which seems to be something to do with a port number? Unfortunately the AWS in GNAT CE seems to have been compiled without debugging symbols, so I can't get any further.