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.7 required=5.0 tests=BAYES_00,NORMAL_HTTP_TO_IP, NUMERIC_HTTP_ADDR autolearn=ham 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!k15g2000pri.googlegroups.com!not-for-mail From: Rod Kay Newsgroups: comp.lang.ada Subject: Re: Problem where a function is invoked once but called twice (when invocation is within an allocator). Date: Fri, 6 May 2011 18:38:45 -0700 (PDT) Organization: http://groups.google.com Message-ID: <17caa8eb-8113-4199-83b7-9b199887a758@k15g2000pri.googlegroups.com> References: <87r58dxeia.fsf@mid.deneb.enyo.de> NNTP-Posting-Host: 110.174.207.98 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1304732325 27338 127.0.0.1 (7 May 2011 01:38:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 7 May 2011 01:38:45 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k15g2000pri.googlegroups.com; posting-host=110.174.207.98; posting-account=Uqu8JwoAAADsGt83KB06QWEVsML1fPO7 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Ubuntu/10.04 Chromium/11.0.696.57 Chrome/11.0.696.57 Safari/534.24,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:20149 Date: 2011-05-06T18:38:45-07:00 List-Id: 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 I'm using the GPL10 edition of Gnat on Ubuntu 10.04 (32bit). Here's a tarball of the testcase ... http://109.74.196.91:8080/double_ne= xt_frame_call.tar.gz You may need to install ffmpeg development packages (libavutil-dev, libswscale-dev, libavcodec-dev, libavformat-dev on debian/ubuntu). Also, it should be built with gprbuild.