Home » Developer & Programmer » Precompilers, OCI & OCCI » Segmentation Fault when i execute "exec sql connect"
Segmentation Fault when i execute "exec sql connect" [message #93883] Mon, 03 March 2003 09:07
Sergio Saiz
Messages: 1
Registered: March 2003
Junior Member
Hi.

I have a problem with my Pro*C compiler. My programs precompile, compile and link very well. When i execute the programs, they crash in the exec sql connect.

When i execute the programs in others servers they execute correctly.

I think the precompiler or the dynamic library may be bad configurated.

When i debug the program with the dbx utility, in Solaris, it show the next:

Running: ejemplo
(process id 3723)
signal SEGV (no mapping at the fault address) in kouogini at 0xfed74404
0xfed74404: kouogini+0x023c: ld [[%o0]], %o0
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) up
0xfed74b44: kouoini+0x00a0: call kouogini
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) up
0xfed39db4: kpuinit0+0x07bc: jmpl %o7, %o7
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) up
0xfed39538: kpuinit+0x0030: call _PROCEDURE_LINKAGE_TABLE_+0x22d4 [[PLT]]
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) up
0xfecb24d0: sqgctx+0x00f8: call _PROCEDURE_LINKAGE_TABLE_+0x69c [[PLT]]
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) up
0xfecb23a4: sqgrct+0x003c: call _PROCEDURE_LINKAGE_TABLE_+0x3a8 [[PLT]]
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) up
0xfecabdd8: sqlcmex+0x0214: call _PROCEDURE_LINKAGE_TABLE_+0x39c [[PLT]]
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) up
0xfecac490: sqlcxt+0x0058: call sqlcmex
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) up
0x00010af8: main+0x0110: call sqlcxt [[PLT]]
(/opt/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) up

The error is in call to the sqlcxt function

Please, if anyone could help me ...

Sergio Saiz.
Previous Topic: Upper range of fetch
Next Topic: Re: PRO C/C++ DOWNLOAD
Goto Forum:
  


Current Time: Mon May 20 09:33:16 CDT 2024