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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2cad261dc7af856 X-Google-Attributes: gid103376,public From: ppwasko@dux.ru (Nikolay P. Vasilyev) Subject: Re: Invalid page fault with gnat304a on Win95 Date: 1996/10/02 Message-ID: <52t1b8$d6p@rise.dux.ru>#1/1 X-Deja-AN: 186637626 distribution: world references: <19961001002056.aaaa000RR@babyblue.cs.yale.edu> content-type: text/plain; charset="iso-8859-1" organization: Bliss mime-version: 1.0 reply-to: ppwasko@dux.ru newsgroups: comp.lang.ada Date: 1996-10-02T00:00:00+00:00 List-Id: In message <19961001002056.aaaa000RR@babyblue.cs.yale.edu> - Vinicius Fernando Arcaro writes: >Dear gnat user: > > This program runs correctly only with maxn less than 93, >otherwise it runs into a page fault. Is there a way to use a >maxn greater than 92? I am compiling and linking through >gnatmake test.adb > >procedure test is > > maxn : constant integer := 93; > a : array (1 .. maxn, 1 .. maxn) of long_float; > >begin > for i in 1 .. maxn loop > for j in 1 .. maxn loop > a(i,j) := 0.0; > end loop; > end loop; >end test; > >TEST caused an invalid page fault in >module TEST.EXE at 0137:004012e1. >Registers: >EAX=015700b0 CS=0137 EIP=004012e1 EFLGS=00010206 >EBX=00550000 SS=013f ESP=0154efcc EBP=0155fe1c >ECX=00401090 DS=013f ESI=815a1b70 FS=0d4f >EDX=00401078 ES=013f EDI=8159baf0 GS=0000 >Bytes at CS:EIP: >c7 85 b4 f1 fe ff 01 00 00 00 83 bd b4 f1 fe ff >Stack dump: I think you must somewhere point out that you want stack size more than default (8K).