Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Core Dump Running Pro*C Code on Linux

Core Dump Running Pro*C Code on Linux

From: aj <aj_at_bookac.com>
Date: Mon, 10 Dec 2007 13:50:41 -0800 (PST)
Message-ID: <099ec91d-5add-4126-821d-45533951fd18@x69g2000hsx.googlegroups.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US