Subject: Update: Solaris/i386 jdk-1.2RC2 under NetBSD compat/svr4
To: None <current-users@netbsd.org, port-i386@netbsd.org>
From: Thorsten Frueauf <s_frueau@ira.uka.de>
List: current-users
Date: 11/28/1998 00:40:49
Hello!

After I saw that christos did some changes to resolvepath in compat/svr4
(thanx!) I did not hesitate to build a new kernel with it ;)

Unfortunaltly the Solaris jdk-1.2RC2 java still dumps core, but differently:

[frueauf@cyberlap]/tmp> java -version

*** panic: out of memory
Abort (core dumped)

This is the end of the kdump output (the full thing is available via
http://wwwipd.ira.uka.de/~frueauf/solaris-jdk1.2fcs-kdumpoutput-2).

If I can help to track this down let me know...

[...]
  1414 java     CALL  open(0x1016b18,0,0x10150d4)
  1414 java     NAMI  "/emul/svr4/usr/lib/libmp.so.2"
  1414 java     NAMI  "/emul/svr4"
  1414 java     NAMI  "/emul/svr4/usr/lib/libmp.so.2"
  1414 java     RET   open 3
  1414 java     CALL  fxstat(0x2,0x3,0xefbfd1f8)
  1414 java     RET   fxstat 0
  1414 java     CALL  mmap(0x480c5000,0x1000,0x5,0x11,0x3,0)
  1414 java     RET   mmap 1208766464/0x480c5000
  1414 java     CALL  mmap(0,0x4000,0x5,0x2,0x3,0)
  1414 java     RET   mmap 1210322944/0x48241000
  1414 java     CALL  mmap(0x48244000,0x868,0x7,0x12,0x3,0x2000)
  1414 java     RET   mmap 1210335232/0x48244000
  1414 java     CALL  close(0x3)
  1414 java     RET   close 0
  1414 java     CALL  mprotect(0x8048000,0x2b57,0x7)
  1414 java     RET   mprotect 0
  1414 java     CALL  mprotect(0x8048000,0x2b57,0x5)
  1414 java     RET   mprotect 0
  1414 java     CALL  mprotect(0x4804c000,0xe1aa,0x7)
  1414 java     RET   mprotect 0
  1414 java     CALL  mprotect(0x4804c000,0xe1aa,0x5)
  1414 java     RET   mprotect 0
  1414 java     CALL  mprotect(0x4805c000,0x6020a,0x7)
  1414 java     RET   mprotect 0
  1414 java     CALL  mprotect(0x4805c000,0x6020a,0x5)
  1414 java     RET   mprotect 0
  1414 java     CALL  close(0x4)
  1414 java     RET   close 0
  1414 java     CALL  munmap(0x480c5000,0x1000)
  1414 java     RET   munmap 0
  1414 java     CALL  sysarch(0x28,0x4814e4ac)
  1414 java     RET   sysarch 0
  1414 java     CALL  sysconfig(0x6)
  1414 java     RET   sysconfig 4096/0x1000
  1414 java     CALL  break(0x804c1a0)
  1414 java     RET   break 0
  1414 java     CALL  break(0x804e1a0)
  1414 java     RET   break 0
  1414 java     CALL  #209 (unimplemented resolvepath)(0x10176a4,0xefbfcf38,0x400)
  1414 java     NAMI  "/source/Solaris/jdk1.2fcs/bin/../jre/lib/i386/classic/libjvm.so"
  1414 java     RET   #209 (unimplemented resolvepath) 64/0x40
  1414 java     CALL  sigprocmask(0x3,0,0x804e0fc)
  1414 java     RET   sigprocmask 0
  1414 java     CALL  context(0,0xefbfd128)
  1414 java     RET   context 0
  1414 java     CALL  getrlimit(0x3,0xefbfd120)
  1414 java     RET   getrlimit 0
  1414 java     CALL  sigaction(0xd,0xefbfd274,0)
  1414 java     RET   sigaction 0
  1414 java     CALL  sigpending(0x2,0x4814d248)
  1414 java     RET   sigpending 0
  1414 java     CALL  sigprocmask(0x2,0xefbfd2d0,0)
  1414 java     RET   sigprocmask 0
  1414 java     CALL  getrlimit(0x5,0xefbfd318)
  1414 java     RET   getrlimit 0
  1414 java     CALL  setrlimit(0x5,0xefbfd318)
  1414 java     RET   setrlimit 0
  1414 java     CALL  write(0x2,0x480bad50,0xc)
  1414 java     GIO   fd 2 wrote 12 bytes
       "
        *** panic: "
  1414 java     RET   write 12/0xc
  1414 java     CALL  write(0x2,0xefbfd204,0xd)
  1414 java     GIO   fd 2 wrote 13 bytes
       "out of memory"
  1414 java     RET   write 13/0xd
  1414 java     CALL  write(0x2,0x48149edc,0x1)
  1414 java     GIO   fd 2 wrote 1 bytes
       "
       "
  1414 java     RET   write 1
  1414 java     CALL  sigaction(0x6,0,0xefbfd1d0)
  1414 java     RET   sigaction 0
  1414 java     CALL  llseek(0,0,0,0x1)
  1414 java     RET   llseek 1895/0x767
  1414 java     CALL  sigaction(0x6,0xefbfd10c,0xefbfd168)
  1414 java     RET   sigaction 0
  1414 java     CALL  sigprocmask(0x2,0xefbfd19c,0)
  1414 java     RET   sigprocmask 0
  1414 java     CALL  getpid
  1414 java     RET   getpid 1414/0x586
  1414 java     CALL  kill(0x586,0x6)
  1414 java     PSIG  SIGABRT SIG_DFL
  1414 java     NAMI  "java.core"

Greets
      Thorsten