core dump when executing Precompiler samples

core dump when executing Precompiler samples

Post by Remigiusz Rzeszowsk » Sun, 31 Dec 1899 09:00:00



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

 
 
 

core dump when executing Precompiler samples

Post by Geoff Mountfor » Sun, 31 Dec 1899 09:00:00


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
  *** process killed ***

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

Cheers
 Geoff


>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


 
 
 

1. execute ProC leads to core dump

Hi,

I have a problem w ProC, it crashes for any input:

 $ touch foo
 $ proc iname=foo

 Pro*C/C++: Release 2.2.2.0.0 - Production on Wed Nov 12 13:39:35 1997

 Copyright (c) Oracle Corporation 1979, 1996.  All rights reserved.

 System default option values taken from:
/u1/home/dba/oracle/732/precomp/admin/pcscfg.h

 Segmentation Fault - core dumped
 $

Just 'proc' works fine, greets w banner. Oracle and other tools work
fine. Tried rebuilding proc, no change.
Any ideas what can be wrong? Something in the environment; env, path?

Server: 7.3.2.3.0
OS: Solaris 2.5.1

Regards,

/Dag W

2. Interesting Problem (Background Processing and Timers)

3. PREPARE/EXECUTE core dumps in 4GL

4. how to retrieve table PK in system table??

5. core dump on a prepare statement

6. Truncating the Transaction Log

7. Core dump on HP

8. Database Contructs

9. pfree() core dump in 7.2.3

10. PG 7.2.1 core dump

11. postmaster core dumps with SPI_repalloc

12. Troubleshooting cored dumps