comp.lang.ada
 help / color / mirror / Atom feed
* Re: Stack size with GNAT for Windows
@ 2001-04-14 20:30 gautier
  0 siblings, 0 replies; 3+ messages in thread
From: gautier @ 2001-04-14 20:30 UTC (permalink / raw)
  To: comp.lang.ada

About this affair: there was indeed a bug in
the source location given by Storage_error and
another one that generated that Storage_error:
a loop with somewhere a "An_Array:= (others=> False)".
So it could be a memory leak, since there is
no allocation in that loop.
With "for i in An_Array'range loop An_Array(i):= False;
end loop" everything goes well.
Little moral: debug with "Put()", and in 2001
the ":= (others=> False)"-likes are not yet robust
(at least on the compilers I've met).

Thanks for help.

__________________________________________
Gautier  --  http://www.diax.ch/users/gdm/




^ permalink raw reply	[flat|nested] 3+ messages in thread
* Stack size with GNAT for Windows
@ 2001-04-10 12:19 gautier
  2001-04-11 12:05 ` Marc A. Criley
  0 siblings, 1 reply; 3+ messages in thread
From: gautier @ 2001-04-10 12:19 UTC (permalink / raw)
  To: comp.lang.ada

Hello. Sorry for the banal question, but is there
a mean to increase the stack size with GNAT (3.13p)
for Windows ? I obtain a stack overflow in a numerics
program for a middle-sized problem, with all big data
taken on heap (via New), this when entering a procedure
with only 3 integer as local variables. So, I suspect
a bug, but would like to test a bit before sending a bug
report. Of course I have searched through the GNAT user's
guide and what remains of Deja News.

TIA

__________________________________________
Gautier  --  http://www.diax.ch/users/gdm/




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-14 20:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-14 20:30 Stack size with GNAT for Windows gautier
  -- strict thread matches above, loose matches on Subject: below --
2001-04-10 12:19 gautier
2001-04-11 12:05 ` Marc A. Criley

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