comp.lang.ada
 help / color / mirror / Atom feed
From: ppwasko@dux.ru (Nikolay P. Vasilyev)
Subject: Re: Invalid page fault with gnat304a on Win95
Date: 1996/10/02
Date: 1996-10-02T00:00:00+00:00	[thread overview]
Message-ID: <52t1b8$d6p@rise.dux.ru> (raw)
In-Reply-To: 19961001002056.aaaa000RR@babyblue.cs.yale.edu


In message <19961001002056.aaaa000RR@babyblue.cs.yale.edu> - Vinicius Fernando
Arcaro <vfa@turing.unicamp.br> 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).





  parent reply	other threads:[~1996-10-02  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-01  0:00 Invalid page fault with gnat304a on Win95 Vinicius Fernando Arcaro
1996-10-01  0:00 ` Sune Falck
1996-10-04  0:00   ` Jeff Creem
1996-10-04  0:00     ` Robert A Duff
1996-10-02  0:00 ` Nikolay P. Vasilyev [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-10-01  0:00 Vinicius Fernando Arcaro
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox