Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: core dump when executing Precompiler samples

Re: core dump when executing Precompiler samples

From: Geoff Mountfort <geoffm_at_fast.fujitsu.com.au>
Date: 2000/04/14
Message-ID: <8d666u$2v6@newshost.fujitsu.com.au>#1/1

G'day.

If I give my

   Pro*C/C++: Release 8.1.5.0.0 - Production on Fri Apr 14 13:42:06 2000 on

   SunOS intstg1 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-4 this source:
 EXEC SQL begin declare section;
 float staffSalary;
 EXEC SQL end declare section;

 void transaction0()
 {

        EXEC SQL SELECT salary FROM emp WHERE empno=3217 INTO :staffSalary;  }

it core dumps, and truss gives

 close(8)                    = 0

 open("/apps3/oracle8i01/app/oracle/product/8.1.5/precomp/mesg/pcsus.msb", O_RDONLY) = 8
 fcntl(8, F_SETFD, 0x00000001)           = 0
 lseek(8, 0, SEEK_SET)               = 0
 read(8, "1513 "011303\t\t\0\0\0\0".., 256) = 256   Incurred fault #6, FLTBOUNDS %pc = 0x0003F70C   siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000   Received signal #11, SIGSEGV [default]   siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000

It seems to me that it is something to do with my setup (and yours ?). Sadly, I have no idea what.

Cheers
 Geoff

Remigiusz Rzeszowski wrote in message <8d2p9n$a97$1_at_unlisys.unlisys.net>...
>Hi!
>
>When I execute 'sample1' I get a core dump.
>Here are the last few lines of the 'truss' output:
>
>open("/ocl01/oracle8i/ocommon/nls/admin/data/lx20001.nlb", O_RDONLY) = 3
>read(3, " Z Z\0\00210\0\0\002\0\0".., 5696) = 5693
>close(3) = 0
>open("/ocl01/oracle8i/ocommon/nls/admin/data/lx10001.nlb", O_RDONLY) = 3
>read(3, " Z Z\0\00210\0\0\001\0\0".., 748) = 748
>close(3) = 0
>brk(0x0002F690) = 0
>brk(0x00031690) = 0
>getcontext(0xFFBEEE50)
> Incurred fault #6, FLTBOUNDS %pc = 0xFEDB092C
> siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
> Received signal #11, SIGSEGV [caught]
> siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
>sysconfig(_CONFIG_SIGRT_MIN) = 38
>sigprocmask(SIG_SETMASK, 0xFEBBBEF0, 0x00000000) = 0
>sigaction(SIGSEGV, 0xFFBEEB90, 0x00000000) = 0
>sysconfig(_CONFIG_SIGRT_MIN) = 38
>setcontext(0xFFBEE9F0)
> Incurred fault #6, FLTBOUNDS %pc = 0xFEDB092C
> siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
> Received signal #11, SIGSEGV [default]
> siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
> *** process killed ***
>
>I'm using Oracle 8.1.5 and SUN Solaris.
>
>Please, help me!
>I don't know what to do any more. :-(
>
>
>regards
>Remigiusz Rzeszowski
>
>
Received on Fri Apr 14 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US