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,FORGED_GMAIL_RCVD, FREEMAIL_FROM,NORMAL_HTTP_TO_IP,NUMERIC_HTTP_ADDR autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,75d2eb9e2e52a8c5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!h9g2000yqk.googlegroups.com!not-for-mail From: Anh Vo Newsgroups: comp.lang.ada Subject: Re: Problem where a function is invoked once but called twice (when invocation is within an allocator). Date: Mon, 9 May 2011 09:01:12 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <87r58dxeia.fsf@mid.deneb.enyo.de> <17caa8eb-8113-4199-83b7-9b199887a758@k15g2000pri.googlegroups.com> NNTP-Posting-Host: 149.32.224.34 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1304956875 3741 127.0.0.1 (9 May 2011 16:01:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 9 May 2011 16:01:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h9g2000yqk.googlegroups.com; posting-host=149.32.224.34; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6.6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; MS-RTC LM 8),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:20166 Date: 2011-05-09T09:01:12-07:00 List-Id: On May 6, 6:38=A0pm, Rod Kay wrote: > On May 7, 9:41=A0am, Anh Vo wrote: > > > > > What compiler do you use? Do you mind to post the complete (minimum > > required) source. I would like to see if I get the same result on my > > machine. > > > Anh Vo > > =A0 =A0I'm using the GPL10 edition of Gnat on Ubuntu 10.04 (32bit). > > =A0 =A0Here's a tarball of the testcase ...http://109.74.196.91:8080/doub= le_next_frame_call.tar.gz > > =A0 =A0You may need to install ffmpeg development packages (libavutil-dev= , > libswscale-dev, libavcodec-dev, libavformat-dev on debian/ubuntu). > > =A0 =A0Also, it should be built with gprbuild. Thank you for posting the code. However, I had problem to download this tar file. Any one else had problem as I did? Anh Vo