Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Core Dump Running Pro*C Code on Linux
Hello all.
I am experiencing a core dump in a "OracleConnect" method we have written.
Here is the stack trace:
#0 0xb695fdd1 in sqlsadr () from /opt/oracle/product/10.2.0/lib/
libclntsh.so.10.1
#1 0xb695fff8 in sqlcmex () from /opt/oracle/product/10.2.0/lib/
libclntsh.so.10.1
#2 0xb696082e in sqlcxt () from /opt/oracle/product/10.2.0/lib/
libclntsh.so.10.1
#3 0x08077767 in OracleConnect (ipDbUid=0x808d02a "username",
ipDbPwd=0x808d021 "password",
ipDbService=0x808d018 "database", opErrorCode=0xbfffc26c, opErrorString=0xbfffc060 "\001", ipCx=0)
at RechDbConnSql.C:516
#4 0x0804cfcf in CallOracleConnect (ipDbUid=0x808d02a "username",
ipDbPwd=0x808d021 "password",
ipDbService=0x808d018 "database", opErrorCode=0xbfffc26c, opErrorString=0xbfffc060 "\001", ipCx=0)
at ProCFunctions_test.C:226
#5 0x0805950f in test_GetRechargeHandler () at
test_GetRechargeHandler.C:89
#6 0x0805dc4b in main () at test_rechagent.C:64
And here is the offending Pro*C:
EXEC SQL CONNECT :lUserName
IDENTIFIED BY :lPassword
USING :lService;
As you can see, that is pretty straightforward Pro*C code that is core dumping.
Any ideas would be appreciated. Received on Mon Dec 10 2007 - 15:50:41 CST
![]() |
![]() |