Subject: Oracle8 (was: Re: linux_to_native_sigaction: sa_restorer ignored )
To: Jasper Wallace <jasper@staff.argonet.co.uk>
From: Andreas Wrede <andreas@planix.com>
List: current-users
Date: 09/29/1998 10:06:36
On Tue, 29 Sep 1998 15:07:30 +0200 Jasper Wallace writes
> On Tue, 29 Sep 1998, Feico Dillema wrote:
> 
> > BTW: Has anyone ordered/received/tested the developers pre-release of Oracle-8
> > for Linux on NetBSD? Does/Should it work?
> 
> I've got one, but havn't had time to play with it.

I got it installed, but any attempt to create a database dumps core when the 
front end process (svrmgrl) appears to setup communications with the backend 
process (oracle):

[...]
  2997 oracle   CALL  getppid
  2997 oracle   RET   getppid 2995/0xbb3
  2997 oracle   CALL  write(0x9,0xefbf92b8,0xa)
  2997 oracle   GIO   fd 9 wrote 10 bytes
       "NTP0 2997
       "
  2995 svrmgrl  GIO   fd 8 read 10 bytes
       "NTP0 2997
       "
  2995 svrmgrl  RET   read 10/0xa
  2995 svrmgrl  PSIG  SIGSEGV SIG_DFL
  2995 svrmgrl  NAMI  "svrmgrl.core"
  2997 oracle   RET   write 10/0xa
  2997 oracle   CALL  getpid
  2997 oracle   RET   getpid 2997/0xbb5
  2997 oracle   CALL  fcntl(0x6,0x2,0x1)
  2997 oracle   RET   fcntl 0
  2997 oracle   CALL  brk(0x8cb1000)
  2997 oracle   RET   brk 147525632/0x8cb1000
[...]

I don't know how useful the gdb backtrace is, but here it is:

Program terminated with signal 11, Segmentation fault.
#0  0x4836ce6b in ?? ()
(gdb) bt
#0  0x4836ce6b in ?? ()
#1  0x8330030 in ?? ()
#2  0x4836fe26 in ?? ()
#3  0x4836de61 in ?? ()
#4  0x815f07e in sntpcall ()
#5  0x815e425 in ntpcon ()
#6  0x8145a7b in ntconn ()
#7  0x8135fdb in nsopen ()
#8  0x812b044 in nscall1 ()
#9  0x812aa0e in nscall ()
#10 0x812764f in nricdt ()
#11 0x81271af in nricall ()
#12 0x82c753a in niotns ()
#13 0x82c3bf1 in nigcall ()
#14 0x82c3a5f in osncon ()
#15 0x81cc7b3 in upiini ()
#16 0x81c18ad in upiahs ()
#17 0x804cacb in mausho ()
#18 0x804b0f4 in malmaho ()
#19 0x804b460 in malmli ()

Right now,  have neither enough time or knowledge to debug this, but I 
can make the environment available to any Linux emulation specialist 
who wants to give it try.
 
BTW, to get the binaries to run at all, I had to get and install newer Linux
libraries, Oracle needs libc-2.0.7 (aka libc6). 

-- 
Andreas Wrede              Planix, Inc.
andreas@planix.com         Networking, System Administration, Consulting
http://www.planix.com      Toronto, Ontario, Canada