dbTalk Databases Forums  

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

comp.databases.oracle.server comp.databases.oracle.server


Discuss segmentation fault in olog () of oci7 on Linux/Oracle client 11g R2 in the comp.databases.oracle.server forum.



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

Default segmentation fault in olog () of oci7 on Linux/Oracle client 11g R2 - 09-14-2011 , 02:21 AM






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

Reply With Quote
  #2  
Old   
joel garry
 
Posts: n/a

Default Re: segmentation fault in olog () of oci7 on Linux/Oracle client 11g R2 - 09-14-2011 , 11:09 AM






On Sep 14, 12:21*am, monty <manishgandh... (AT) gmail (DOT) com> wrote:
Quote:
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 whichuses 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 Ihave 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.

jg
--
@home.com 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.
http://www.signonsandiego.com/news/2...na-overfished/

Reply With Quote
  #3  
Old   
Stefan Ninu
 
Posts: n/a

Default Re: It has a oracle 11g R2 client installed. - 09-16-2011 , 01:59 AM



Hi,

I have had the same issue.
Please choose Oracle DB client 11.2.0.2 instead of 11.2.0.1 and your problem will get fixed.

Stefan

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.