comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: STACK_OVERFLOW_EXCEPTION
Date: 22 Feb 2003 14:13:19 -0500
Date: 2003-02-22T14:13:19-05:00	[thread overview]
Message-ID: <wccptpk1640.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: b2h68d$cui$04$1@news.t-online.com

"Carsten Schnedler" <cschnedler@web.de> writes:

> Programming a simple E-Mail-System I recognized the following problem.
> I am using gant3.14p on a WIN98-system and during programm-execution the
> exception STORAGE-ERROR: EXCEPTION_STACK_OVERFLOW is raised. The debugger
> gdb ends in the follwoing message:
>  > Program received signal SIGSEGV, Segmentation fault.
>  > 0x4041f6 in standard_types."=" (l=0x26b0758, r=(null))
>  >    at E:/projekte/bibliothek/src/standard_types.adb:10
> According to GNAT-Users's-Guide I tried to increase stack-size by
> implementing
> the variable GNAT_STACK_LIMIT in autoexec.bat which showed no result.
> Checking the
> recursion-depth showed a depth of 7.
> Does anybody know, how to solve this problem?

GNAT sometimes says "storage error" when an erroneous program get a seg
fault for some reason that has nothing to do with stack overflow.
Look for dangling pointers, and other things like that.

- Bob



      parent reply	other threads:[~2003-02-22 19:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-14  0:28 STACK_OVERFLOW_EXCEPTION Carsten Schnedler
2003-02-14  2:21 ` STACK_OVERFLOW_EXCEPTION David C. Hoos, Sr.
2003-02-22 19:13 ` Robert A Duff [this message]
replies disabled

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