malloc(3c) core dumps
Steinar Overbeck Cook
steinar at fdmetd.uucp
Tue Mar 14 22:43:53 AEST 1989
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 at fdmetd.uucp
<The opinions expressed, if any, do not represent Fellesdata a.s>
More information about the Comp.unix.questions
mailing list