Operating System - HP-UX
1752311 Members
5704 Online
108786 Solutions
New Discussion

Re: HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump

 
ranganath ramachandra
Esteemed Contributor

Re: HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump

since the change is in the oracle version and not in the system (OS,patches etc) it may help to approach oracle. they may be aware of what changes went in and where.
 
--
ranga
[i work for hpe]

Accept or Kudo

subramonian
New Member

Re: HP Unix 64 bit oracle 9i 9.2.0.5.0 Proc Abort Core Dump

Hello Srinivasan ,
We are also facing the same proble as you faced during oracle 9i migration. A simple proc program which connect to oracle 9i is giving coredump... We are using 64 bit HP-UX11i and oracle 9i 64 bit libraries. When we tried with oracle 9i lib32 , it is working fine. In case u come across the same and found solution , please share with us.

Thanks in advance
Subramonian

=============================================
For your reference

#include
#include
#include
#include
#include
#include
EXEC SQL INCLUDE SQLCA ;

int main()
{

EXEC SQL BEGIN DECLARE SECTION ;

char username[15]="" ;
char passwd[15] ="" ;
int count = 0 ;
EXEC SQL END DECLARE SECTION ;

strcpy(username,"ebooking4");
strcpy(passwd,"ebooking4");
EXEC SQL CONNECT :username IDENTIFIED BY :passwd ;
EXEC SQL select count(*) into :count from users ;
cout << "No of users ... " << count <}

compile options

aCC +DA2.0w -g -I $ORACLE_HOME/precomp/public/ -L $ORACLE_HOME/lib -lclntsh connect.cpp

We linked lpthread also , that time also got coredump
=============================================