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.36.121.66 with SMTP id z63mr2570340itc.38.1491197173887; Sun, 02 Apr 2017 22:26:13 -0700 (PDT) X-Received: by 10.157.45.133 with SMTP id g5mr669193otb.4.1491197173856; Sun, 02 Apr 2017 22:26:13 -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!y18no3418616itc.0!news-out.google.com!m191ni18646itc.0!nntp.google.com!y18no3418607itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 2 Apr 2017 22:26:13 -0700 (PDT) In-Reply-To: <8d270b57-8cec-499d-840e-97f43efecc4e@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=136.163.203.9; posting-account=g0yTkgoAAADdZGEYyZahxGlO3EkjH0Wv NNTP-Posting-Host: 136.163.203.9 References: <8d270b57-8cec-499d-840e-97f43efecc4e@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: gnatbind get stack overflow, how do I investigate the cause? From: Petter Fryklund Injection-Date: Mon, 03 Apr 2017 05:26:13 +0000 Content-Type: text/plain; charset=UTF-8 Xref: news.eternal-september.org comp.lang.ada:46522 Date: 2017-04-02T22:26:13-07:00 List-Id: Den fredag 31 mars 2017 kl. 20:13:13 UTC+2 skrev Anh Vo: > On Thursday, March 30, 2017 at 10:11:00 PM UTC-7, Petter Fryklund wrote: > > Hi again, > > Isn't -d for the produced output? it is the gnatbind itself that suffers from Storage_Error hinting at stack overflow. > > > > The output from gnatbind is: > > [gprbind]
.bexch > > [Ada]
.ali > > > > raised STORAGE_ERROR : stack overflow or erroneous memory access > > gprbind: invocation of gnatbind failed > > gprbuild: unable to bind
.adb > > Did the problem occur under Linux or W7 or both? I assume that your are porting host to host, not host to cross target, right? > > Anh Vo Hi again, the error occurred on Linux. I've yet to try on W7. We are porting host to host and also some cross to host, since ObjectAda where used as cross to VxWorks as well. I now have a ticket at AdaCore: [Q331-004] #1935. Regards, Petter