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

From: joel garry <>
Date: Wed, 14 Sep 2011 09:09:51 -0700 (PDT)
Message-ID: <>

On Sep 14, 12:21 am, monty <> wrote:
> 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/
>  0x00002aaaaf00eae2 in kpuhhalp () from /oracle/112/lib/
> #1  0x00002aaaaf04d3a5 in kpuadef () from /oracle/112/lib/
> #2  0x00002aaaaf02d9fb in upiini () from /oracle/112/lib/
> #3  0x00002aaaaf02756e in upiah0 () from /oracle/112/lib/
> #4  0x00002aaaaf027534 in upiahm () from /oracle/112/lib/
> #5  0x00002aaaaf0a22ed in upilgni () from /oracle/112/lib/
> #6  0x00002aaaaf0a2130 in upilgn () from /oracle/112/lib/
> #7  0x00002aaaafbd4f16 in upilogc () from /oracle/112/lib/
> #8  0x00002aaaafbd5092 in upilog () from /oracle/112/lib/
> #9  0x00002aaaaf9c0761 in ocilog () from /oracle/112/lib/
> #10 0x00002aaaafacdd47 in olog () from /oracle/112/lib/
> 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

Been way too many years and versions since I dealt with this sort of thing, but I'd guess you have either an include statement with a typo in your program, or somehow you are setting off something that isn't found in older versions, perhaps a sqlnet.ora issue. Maybe sqlnet tracing could help.


-- is bogus.
Give a man a fish and you've fed him for a day.  Teach a man to fish
and you have an apex problem.
Received on Wed Sep 14 2011 - 11:09:51 CDT

Original text of this message