Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> SIGSEGV on AIX 4.x w/ Oracle 7.3.2
Hi.
We have problems on AIX 4.[12] with processes getting SIGSEGV.
It seems as only processes connecting or connected to an oracle 7.3.2 DB
are crashing. Obviously all works fine on AIX 3.2.5 or HP-UX 10.20
(same sources!). Not only our own C programs are concerned, but also
a 4gl application (written in UnifAce) which is translated to a little C
stub
module by the 4gl compiler and has to be linked with a bunch of oracle
and UnifAce libs (and our own C libraries, to be honest).
All of these processes die in epcrid_add_regid(). I produced a crash
in the EXEC SQL CONNECT right now. Astonishingly in most cases
there is a crash, if - in dbx - I stop before the call to sqlcxt() which
is
about to do the connect, and then 'return' to calling function (believe
me: there is only a "if (sqlca.sqlcode < 0) goto ..." prior to a "return
(0)").
I NEVER ended up in SIGSEGV if I step over sqlcxt() and up to the
calling routine with dbx next statement.
ANY SUGGESTIONS WHAT IS HAPPENING??? For all those oracle or aix programmers out there let me give you some dbx output:
618 sqlcxt((void **)0, &sqlctx,&sqlstm, &sqlfpn);
619 if (sqlca.sqlcode < 0) gotosql_fehler;
Segmentation fault in epcrid_add_regid at 0x10071bd0
0x10071bd0 (epcrid_add_regid+0x548) 93230008 stw r25,0x8(r3)
(dbx) where
epcrid_add_regid(??, ??, ??, ??, ??, ??, ??, ??) at 0x10071bd0
epc_init(??, ??, ??, ??, ??, ??, ??, ??) at 0x1007b898
nldtotinit(??, ??, ??, ??, ??) at 0x1005c88c nlstddt_do_alter_trace(??, ??, ??) at 0x100ff988 nlstdgg(??, ??, ??, ??, ??) at 0x100fe208osnqig1(??, ??, ??) at 0x10161cd4
upiini(??, ??, ??, ??) at 0x1000c6bc upiah0(??, ??, ??, ??) at 0x1000b180 sqllam(??, ??, ??, ??, ??, ??, ??, ??) at 0x1018aa10 sqllo3t(??, ??, ??, ??, ??, ??, ??, ??) at 0x10166c74 sqlcnt(??, ??, ??) at 0x101652d8 sqlexp(??, ??, ??, ??) at 0x10165c40
iox0400(), line 618 in "iox0400.c" /* our libfunction performing the connect */
Object name: ipa935 Text origin: 0x10000000 Text length: 0x1de8a7 Data origin: 0x20000900 Data length: 0x16fb2
Entry 2:
Object name: /usr/lib/libc.a Member name: shr.o Text origin: 0xd0000940 Text length: 0x1033e9 Data origin: 0xf0090800 Data length: 0x48420
Condition status = 0:e 1:e 2:e 3:e 4:e 5:g 6:e 7:g [unset $noflregs to view floating point registers] in epcrid_add_regid at 0x10071bd0 0x10071bd0 (epcrid_add_regid+0x548) 93230008 stw r25,0x8(r3) **********************************
Condition status = 0:l 1:g 2:e 3:e 4:e 5:l 6:g 7:e [unset $noflregs to view floating point registers] in main at 0x10000240 0x10000240 (main) 7c0802a6 mflr r0(dbx) map
Object name: ibix Text origin: 0x10000000 Text length: 0x4e5eb4 Data origin: 0x200008a8 Data length: 0x4a3ea
Entry 2:
Object name: /usr/lib/libc.a Member name: shr.o Text origin: 0xd0000380 Text length: 0xf6416 Data origin: 0xf041af48 Data length: 0x52df0
Thank you
Harald
--
Harald Fischer-Hohlweck email: harald.fischer-hohlweck_at_ibix.de
IBIX Informationssysteme GmbH URL : http://www.ibix.de Vor dem Lauch 19 Phone: +49-711-7256-324 70567 Stuttgart (Germany) Fax : +49-711-7256-414 Received on Mon May 31 1999 - 19:59:26 CDT
![]() |
![]() |