comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Stack Problem?
Date: Thu, 16 Jan 2003 06:56:38 -0600
Date: 2003-01-16T06:56:38-06:00	[thread overview]
Message-ID: <mailman.1042721882.15112.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: f74cb448.0301160210.3fa1bd66@posting.google.com

It is impossible to answer your question because the answer depends
on a number of factors of which you haven't informed us -- gnat version,
OS and version - shell and version, at least.

There is a wealth of information about the gnat-dependent part of your
question in both the GNAT User Guide, and the GNAT Reference Manual
included with GNAT distributions.

The shell environment in which you execute your programs may provide
control over how much stack and heap is available to a user program --
e.g., in the tcsh shell the limit and unlimit commands.

----- Original Message ----- 
From: "Petter Fryklund" <petter.fryklund.konsult@dynamics.saab.se>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: January 16, 2003 4:10 AM
Subject: Stack Problem?


> We are getting a SEGV out of realfree (/libc.so.1) call stack is
> 
> realfree
> cleanfree
> _malloc_unlocked
> malloc
> calloc
> netconfig_dup
> __rpc_getconfigip
> gethostbyname_r
> gnat__sockets__get_host_by_name
> ....
> 
> Parameters sent from gnat__... seems to be alright. I've no idea about
> the library, since it's not compiled with debug info.
> 
> I suspect that we've exceed the stack limit, but I can't find a way to
> verify that. How can I do that? How can I even find out the stack
> size? For heap usage there is gmem is there any similar for stacks?
> 
> Any suggestions?
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
> 
>




  reply	other threads:[~2003-01-16 12:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-16 10:10 Stack Problem? Petter Fryklund
2003-01-16 12:56 ` David C. Hoos, Sr. [this message]
2003-01-16 20:52 ` Kevin Cline
2003-01-20 10:05   ` Petter Fryklund
2003-01-21  7:06     ` Kevin Cline
  -- strict thread matches above, loose matches on Subject: below --
2003-01-20 12:16 David C. Hoos, Sr.
2003-01-21 17:24 ` Petter Fryklund
replies disabled

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