segmentation fault in olog () of oci7 on Linux/Oracle client 11g R2

From: monty <manishgandhi13_at_gmail.com>
Date: Wed, 14 Sep 2011 00:21:17 -0700 (PDT)
Message-ID: <9c8e1e20-ad73-4e35-bd2c-b3d0fabd5185_at_glegroupsg2000goo.googlegroups.com>



Hello everyone,

I am facing a very strange problem in one of our Linux (5.3) environment. It has a oracle 11g R2 client installed. I have a simple C++ program which uses olog() oci function to connect to a remote database using the client. when I execute the program it gives a segmentation fault on olog() function, below is the error stack:

Program received signal SIGSEGV, Segmentation fault. 0x00002aaaaf00eae2 in kpuhhalp () from /oracle/112/lib/libclntsh.so.11.1

 0x00002aaaaf00eae2 in kpuhhalp () from /oracle/112/lib/libclntsh.so.11.1
#1 0x00002aaaaf04d3a5 in kpuadef () from /oracle/112/lib/libclntsh.so.11.1
#2 0x00002aaaaf02d9fb in upiini () from /oracle/112/lib/libclntsh.so.11.1
#3 0x00002aaaaf02756e in upiah0 () from /oracle/112/lib/libclntsh.so.11.1
#4 0x00002aaaaf027534 in upiahm () from /oracle/112/lib/libclntsh.so.11.1
#5 0x00002aaaaf0a22ed in upilgni () from /oracle/112/lib/libclntsh.so.11.1
#6 0x00002aaaaf0a2130 in upilgn () from /oracle/112/lib/libclntsh.so.11.1
#7 0x00002aaaafbd4f16 in upilogc () from /oracle/112/lib/libclntsh.so.11.1
#8 0x00002aaaafbd5092 in upilog () from /oracle/112/lib/libclntsh.so.11.1
#9 0x00002aaaaf9c0761 in ocilog () from /oracle/112/lib/libclntsh.so.11.1
#10 0x00002aaaafacdd47 in olog () from /oracle/112/lib/libclntsh.so.11.1

But on the other hand when I use OCILogon() function of OCI8 under same conditions it goes fine.

I am not able to think on whether this is a problem due to incorrect/incomplete installation of oracle client, or some thing else. Just to confirm I have re-installed the oracle 11g client but even then problem exists.

Please help me in resolving this.

Thanks,
Manish Received on Wed Sep 14 2011 - 02:21:17 CDT

Original text of this message