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 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.8.97 with SMTP id 94mr5071056ioi.71.1474863033448; Sun, 25 Sep 2016 21:10:33 -0700 (PDT) X-Received: by 10.157.10.196 with SMTP id 62mr1279171otq.2.1474863033382; Sun, 25 Sep 2016 21:10:33 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!x192no4621012itb.0!news-out.google.com!b4ni12620iti.0!nntp.google.com!u18no4491600ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 25 Sep 2016 21:10:33 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=124.171.67.91; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo NNTP-Posting-Host: 124.171.67.91 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: OpenGL gl.getstring produces erroneous memory access under GLOBE_3D on Mac From: Roger Injection-Date: Mon, 26 Sep 2016 04:10:33 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:31893 Date: 2016-09-25T21:10:33-07:00 List-Id: Mac OSX 10.11.6 XCode 8.0 GNAT GPL 2016 (20160515-49) globe_3d_release_2016-07-05 I have been writing quite a lot of OPenGL in Ada using GLOBE_3D. However, I have just tried to "Checking for OpenGL functionality" as described in Apple's OpenGL Programming Guide for Mac. However, gl.GetString(GL.VENDOR) and other calls to gl.GetString result in: raised CONSTRAINT_ERROR : erroneous memory access even if gl.GetString(GL.VENDOR) is in the only instruction in the program. Any ideas on what's causing this will be appreciated. Roger