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=-1.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d29352214f90bc6f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-16 04:58:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!newspump.monmouth.com!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!teaser.fr!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: Stack Problem? Date: Thu, 16 Jan 2003 06:56:38 -0600 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1042721883 51979 137.194.161.2 (16 Jan 2003 12:58:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 16 Jan 2003 12:58:03 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:33080 Date: 2003-01-16T06:56:38-06:00 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" Newsgroups: comp.lang.ada To: 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 > >