dbTalk Databases Forums  

Core Dump Running Pro*C Code on Linux

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Core Dump Running Pro*C Code on Linux in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
aj
 
Posts: n/a

Default Core Dump Running Pro*C Code on Linux - 12-10-2007 , 03:50 PM






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.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.