Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!ndosl!fdmetd!steinar From: steinar@fdmetd.uucp (Steinar Overbeck Cook) Newsgroups: comp.unix.questions Subject: malloc(3c) core dumps Keywords: malloc(3c) - Oracle Message-ID: <364@fdmetd.uucp> Date: 14 Mar 89 12:43:53 GMT Organization: Fellesdata a.s, Oslo, Norway Lines: 28 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: malloc: address 0x18a54 *malloc(1032,199,147564) _findbuf(147564,147564,14679000) _filbuf(147564,0,102) fgets(14679000,200,147564) upiref(157555,1403,1403) [upiexn.c] upigem(157280,157544,157280) sqlgem(1403,1403,14679284) sqlret(0,14679332,3818) sqlfch(151460,151464,171892) FETCHKol() [DYNSEL.c:852] main(argc=4,argv=0xdffd58,14679404) [DYNSEL.c:595] * Does anybody have a clue as to what is wrong ? My theory is that Oracle overwrites the internal tables of malloc(3c). -- Steinar Overbeck Cook, Fellesdata a.s, P.O. Box 248, 0212 OSLO 2, NORWAY Phone : +47 2 52 80 80 Fax : +47 2 52 85 10 E-mail : ...!mcvax!ndosl!fdmetd!steinar or steinar@fdmetd.uucp