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.4 required=5.0 tests=BAYES_00,FAKE_REPLY_C, MAILING_LIST_MULTI autolearn=unavailable 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-20 04:16:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!teaser.fr!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: Stack Problem? Date: Mon, 20 Jan 2003 06:16:32 -0600 Organization: ENST, France Message-ID: Reply-To: "comp.lang.ada mail to news gateway" 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 1043065003 68682 137.194.161.2 (20 Jan 2003 12:16:43 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 20 Jan 2003 12:16:43 +0000 (UTC) To: "comp.lang.ada mail to news gateway" 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 X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:33235 Date: 2003-01-20T06:16:32-06:00 Have you followed the instructions in the GNAT User's Guide, section 3.2.6? ----- Original Message ----- From: "Petter Fryklund" Newsgroups: comp.lang.ada To: Sent: January 20, 2003 4:05 AM Subject: Re: Stack Problem? > The problem was really an erronous free of an instance of a global > data array. > > But for future ... what can we do about monitoring stack usage in > general. We're using several different GNAT's but this specific is > 3.15 on Solaris 5.5, 5.6 or 5.8. > > > kcline17@hotmail.com (Kevin Cline) wrote in message news:... > > petter.fryklund.konsult@dynamics.saab.se (Petter Fryklund) wrote in message news:... > > > 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. > > > > Crashes below malloc are almost always caused by heap > > corruption. Your code or some library code has probably corrupted > > the heap by freeing the same object twice, or by modifying an object > > after it was deallocated. > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > >