Pro*C not running in oracle11g R2 on AIX 6.1....


 
Thread Tools Search this Thread
Top Forums Programming Pro*C not running in oracle11g R2 on AIX 6.1....
# 1  
Old 12-15-2011
Pro*C not running in oracle11g R2 on AIX 6.1....

Hi All,

When I am running a pro*c executable on an AIX 6.1.0.0 and Oracle 11gR2 environment which is complied in AIX 6.1.0.0 and Oracle 11gR2 environment only , I am getting segment fault error . When the same code is getting compiled in AIX5.3 Oracle 10gR2 env and run in AIX5.3 Oracle 10gR2 , there is no error . I badly need help of you guys to resolve this issue :

The compilation details :
+Build date and time : Thu Dec 15 21:34:53 GMT+08:00 2011+
File to be built : test

Server Name : xxxxxxxxxx
proc include=.:/data/oracle/product/11.2.0.2/precomp/lib:/usr/lib sqlcheck=full ltype=none parse=full ireclen=500 oreclen=500 userid=xxxxxx/yyyyyyy@zzzzzzzzz lines=yes unsafe_null=yes CODE=ANSI_C mode=ORACLE dbms=v8 iname=test.pc

+Pro*C/C++: Release 11.2.0.2.0 - Production on Thu Dec 15 21:34:53 2011+

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

System default option values taken from: /data/oracle/product/11.2.0.2/precomp/admin/pcscfg.cfg

echo cc -qmaxmem=16384 -q64 -O3 -g -L/data/oracle/product/11.2.0.2/lib -c tbtfgrac.c -o tbtfgrac.o -lclntsh -lclient11 /data/oracle/product/11.2.0.2/lib/libsql11.a -lnro11 -lclient11 -lcommon11 -lgeneric11 -lnro11 -lclient11 -lcommon11 -lgeneric11 -lnls11 -lcore11 -lnls11 -lcore11 -lnls11 `cat /data/oracle/product/11.2.0.2/lib/sysliblist` -lm -lpthreads
cc -qmaxmem=16384 -q64 -O3 -g -L/data/oracle/product/11.2.0.2/lib -c tbtfgrac.c -o tbtfgrac.o -lclntsh -lclient11 /data/oracle/product/11.2.0.2/lib/libsql11.a -lnro11 -lclient11 -lcommon11 -lgeneric11 -lnro11 -lclient11 -lcommon11 -lgeneric11 -lnls11 -lcore11 -lnls11 -lcore11 -lnls11 /lib/crt0_64.o -ldl -lc -lm -lpthreads -lodm -lbsd_r -lld -lperfstat -lm -lpthreads

cc: 1501-262 One or more input object files contain IPA information: specify -qipa for additional optimization.
ld: 0711-224 WARNING: Duplicate symbol: .bcopy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
test created...
Execution Details :

$ ./test 784 BG
Leaves validate args
[/,]
You are accessing the TFII database using a secured database login. Hint : Connect string : zzzzzzzz
Memory fault(coredump)

$ dbx tbtfgrac core
Type 'help' for help.
warning: The core file is not a fullcore. Some info may
not be available.
[using memory image in core]
reading symbolic information ...

Segmentation fault in _sigsetmask at 0x900000000477214
+0x900000000477214 (_sigsetmask+0xd4) e8410028 ld r2,0x28(r1)+

(dbx) where

_sigsetmask(??, ??, ??) at 0x900000000477214
sigthreadmask(??, ??, ??) at 0x9000000004785d0
skgesig_sigactionHandler(??, ??, ??) at 0x90000000b9187f4
getenv(??) at 0x900000000010af8
is_posix_tz() at 0x90000000004aa10
localtime_tz_r(??, ??, ??) at 0x900000000049008
sLdiGetDate(??, ??, ??, ??) at 0x90000000b427ad0
kgstmComputeTranslation(??, ??, ??, ??) at 0x90000000b4269f0
kgstmRefreshTranslation(??, ??, ??, ??) at 0x90000000b426e04
dbgtfDirectWriteEpochTSGet(??, ??, ??, ??) at 0x90000000b2ee85c
dbgtfPutStr(??, ??, ??) at 0x90000000b2ee1fc
dbgc_wrf(0x0, 0x90000000cfadbe8, 0x90000000cfae06c, 0x1, 0x2, 0x0, 0xb, 0x1) at 0x90000000b2e53a0
dbgePostErrorDirect(0x1103ec230, 0x90000000d054054, 0x5fe600005fe6, 0x100000000000001, 0x200000002, 0x0, 0xb, 0x1) at 0x90000000b33330c
kpeDbgSignalHandler(??, ??) at 0x90000000b984748
skgesig_sigactionHandler(??, ??, ??) at 0x90000000b918824
getenv(??) at 0x900000000010af8
is_posix_tz() at 0x90000000004aa10
localtime_tz_r(??, ??, ??) at 0x900000000049008
sLdiGetDate(??, ??, ??, ??) at 0x90000000b427ad0
kgstmComputeTranslation(??, ??, ??, ??) at 0x90000000b4269f0
kgstmRefreshTranslation(??, ??, ??, ??) at 0x90000000b426e04
dbgtfDirectWriteEpochTSGet(??, ??, ??, ??) at 0x90000000b2ee85c
dbgtfPutStr(??, ??, ??) at 0x90000000b2ee1fc
dbgc_wrfn(0xffffffffffc5f24, 0x90000000cff8d20, 0x0, 0x7f7f7f7f, 0xffffffffffc5f24, 0x203f002e, 0x30, 0xffffffffffc5f34) at 0x90000000b2e5888
kgdsdst(??, ??) at 0x90000000b4d9ccc
kgdsdstsg(??, ??, ??) at 0x90000000b4dbd10
dbgc_dmp(??, ??) at 0x90000000b2e56b8
dbgexExecuteDiagDmp(??) at 0x90000000b915020
dbgeNoInvocationMode(??, ??, ??) at 0x90000000b331298
dbgeBeginInvoke(??, ??) at 0x90000000b33113c
dbgePostErrorDirect(0x1103ec230, 0x90000000d054054, 0x5fe600005fe6, 0x100000000000001, 0x200000002, 0x0, 0xb, 0x1) at 0x90000000b332a94
kpeDbgSignalHandler(??, ??) at 0x90000000b984748
skgesig_sigactionHandler(??, ??, ??) at 0x90000000b918824
getenv(??) at 0x900000000010af8
is_posix_tz() at 0x90000000004aa10
localtime_tz_r(??, ??, ??) at 0x900000000049008
sLdiGetDate(??, ??, ??, ??) at 0x90000000b427ad0
dbgristih_init(??, ??) at 0x90000000b33853c
dbgexCreateIncident(??, ??, ??, ??, ??) at 0x90000000b90bc88
dbgexProcessError(??, ??, ??, ??) at 0x90000000b90a8cc
dbgeExecuteForError(??, ??, ??, ??, ??) at 0x90000000b332728
dbgePostErrorDirect(0x1103ec230, 0x90000000d054054, 0x5fe600005fe6, 0x100000000000001, 0x200000002, 0x0, 0xb, 0x1) at 0x90000000b332afc
kpeDbgSignalHandler(??, ??) at 0x90000000b984748
skgesig_sigactionHandler(??, ??, ??) at 0x90000000b918824
sqlglmt(??, ??, ??, ??) at 0x90000000cf847a0
sqlglm(??, ??, ??) at 0x90000000cf84664
Initialize(prog_name = warning: Unable to access address 0x2020202020202020 from core
(invalid char ptr (0x2020202020202020))), line 930 in "test.pc"

(dbx) func
_sigsetmask
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

C++ executable is not loading in AIX 6.1 OS LEVEL 6100-09 with Oracle11g.

Hi Everybody, I am getting following error message during execution of my c++ executable "ofsrm" . I am using AIX 6.1 OS LEVEL 6100-09 with Oracle 11g database. Any suggestion on the same? Could not load program ofsrm: rtld: 0712-001 Symbol GetOracleDriver__FiPc was referenced from module ... (8 Replies)
Discussion started by: Ratikanta
8 Replies

2. Post Here to Contact Site Administrators and Moderators

C++ executable is not loading in AIX 6.1 OS LEVEL 6100-09 with Oracle11g.

Hi Everybody, I am getting following error message during execution of my c++ executable "ofsrm" . I am using AIX 6.1 OS LEVEL 6100-09 with Oracle 11g database. Any suggestion on the same? Could not load program ofsrm: rtld: 0712-001 Symbol GetOracleDriver__FiPc was referenced from module ... (1 Reply)
Discussion started by: Ratikanta
1 Replies

3. Hardware

No sound device in Solaris 11 running in Parallels (MacBook Pro)

I'm new to Solaris. I was able to installed Solaris 11 running GNOME. I tried to detect sound/audio but the message given that "No volume control GStreamer plugins and/or devices found". There is no dev/audio but there are audio drivers such as gstreamer installed when I checked using Solaris... (0 Replies)
Discussion started by: Abang Annuar
0 Replies

4. AIX

AIX 6.1 app running on 5.x?

Hi, A quick question. If I build an application on AIX 6.1 TL3 using XL C/C++ 8.0 and Oracle 10g, can I then take those binaries and run them on AIX 5.3 and previous? Regards Kevin (3 Replies)
Discussion started by: KevB
3 Replies

5. Programming

CORE_DUMP due to PRO C on AIX !! Help me !!

Hi All , i found two core files on aix customer machine due to two pro-c executables . we dont have any debugger like dbx . even i captured the log reports reg the core dumps .. i pasted the details here belo3w .please help me out h ow to resolve the issue :-( .... THANKS IN ADVANCE ... ... (1 Reply)
Discussion started by: vparunkumar
1 Replies

6. AIX

Error in setting up Pro*C on AIX 5.3

Error Code: ld: 0711-317 ERROR: Undefined symbol: .main Various Library Paths set to same: LIB_PATH=/usr/lib:/usr/vac/lib:/oracle/product/10.2.0/lib32:/oracle/product/10.2.0/lib LIBPATH=/usr/lib:/usr/vac/lib:/oracle/product/10.2.0/lib32:/oracle/product/10.2.0/lib ... (0 Replies)
Discussion started by: longojos
0 Replies

7. Programming

running Pro*C in unix

hai everyone : -> I want to execute Pro*c language in the unix environment..... -> could some one help me solving this issue,in a step-by-step manner.. -> I heard that some external paths sholud be set to execute them.. (2 Replies)
Discussion started by: bankpro
2 Replies

8. AIX

Error in running on AIX 5.2

A exe works fine on AIX 4.3 but when I run it on AIX 5.2, I can read the following message : Symbol resolution failed for pl2x because: Symbol connect (number 33) is not exported from dependent module /unix. Symbol select (number 36) is not exported from dependent ... (0 Replies)
Discussion started by: SMISS
0 Replies

9. UNIX for Dummies Questions & Answers

domain logon problem - FreeBSD PDC w/ win2k pro and winxp pro

this is the seventh problem i'm having with samba. for some reason, i cannot logon to the domain. i've created user accounts... and i was able to establish a connection between the samba server (my PDC) and my workstations by logging in as "root." however now when i try to logon it gives... (5 Replies)
Discussion started by: xyyz
5 Replies
Login or Register to Ask a Question