Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!osu-cis!att!ihlpb!gregg From: gregg@ihlpb.ATT.COM (Wonderly) Newsgroups: comp.unix.questions Subject: Re: malloc(3c) core dumps Message-ID: <9900@ihlpb.ATT.COM> Date: 17 Mar 89 02:32:12 GMT References: <364@fdmetd.uucp> Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 15 From article <364@fdmetd.uucp>, by steinar@fdmetd.uucp (Steinar Overbeck Cook): > We have an application which uses dynamic SQL against an Oracle > database. After extracting approx 480 records, the application core > dumps because of SIGSEGV (Segment violation). > > The stack trace in sdb comes out thus: While the trace is useful, the registers and the offending instruction are usually a little more enlightening to me. Try the 'x' command too and look for a register being used as a pointer with a value in hex that looks like part of a string as in 0x43546546. -- Gregg Wonderly DOMAIN: gregg@ihlpb.att.com AT&T Bell Laboratories UUCP: att!ihlpb!gregg