Segmentation fault during sqlcxt call in DB Connect [message #619596] |
Wed, 23 July 2014 12:41 |
|
xcov449
Messages: 1 Registered: July 2014 Location: India
|
Junior Member |
|
|
We are on HP UX 11 using Oracle 10g.
The DBConnect method which ses EXEC SQL CONNECT statement to connect to a remote database. Pro*C generates relevant c code. During running the executable, program crashes during database connect as below
Program terminated with signal 11, Segmentation fault.
#0 0xc0197ce0 in <unknown_procedure> + 0x608 () from /usr/lib/libc.2
(gdb) bt
#0 0xc0197ce0 in <unknown_procedure> + 0x608 () from /usr/lib/libc.2
#1 0xc0197be0 in <unknown_procedure> + 0x508 () from /usr/lib/libc.2
#2 0xc01957a4 in <unknown_procedure> + 0x66c () from /usr/lib/libc.2
#3 0xc019ae7c in malloc+0x18c () from /usr/lib/libc.2
#4 0xc93389bc in sqlalc+0x54 () from /software/oracle/cli-10.02.00.02/lib32/libclntsh.sl.10.1
#5 0xc9350e1c in sqrini+0x18 () from /software/oracle/cli-10.02.00.02/lib32/libclntsh.sl.10.1
#6 0xc93511a0 in sqllkc+0x90 () from /software/oracle/cli-10.02.00.02/lib32/libclntsh.sl.10.1
#7 0xc933fa00 in sqgrct+0x34 () from /software/oracle/cli-10.02.00.02/lib32/libclntsh.sl.10.1
#8 0xc9325a80 in sqlcmex+0x3e0 () from /software/oracle/cli-10.02.00.02/lib32/libclntsh.sl.10.1
#9 0xc9326084 in sqlcxt+0x78 () from /software/oracle/cli-10.02.00.02/lib32/libclntsh.sl.10.1
#10 0x31fc in myDBConnect () at ../DBLogger.C:333
#11 0x2f9c in main () at ../DBLoggerClient.C:25
Any help is appreciated.
|
|
|
|