Subject: Netscape 2.0 beta 2 binary crashing with SIGILL?
To: None <port-sparc@NetBSD.ORG>
From: Greg Earle <earle@isolar.Tujunga.CA.US>
List: port-sparc
Date: 11/09/1995 14:48:32
I just pulled down the Netscape 2.0 beta 2 release yesterday, and when I
try to run the SunOS 4.1.3_U1 binary on my NetBSD/SPARC 1.0 system, it gets
just to the point where it brings up the License screen, and then it dies
with a SIGILL.  All a kdump will tell me is

...
  1108 netscape-2.0beta^->o0!W[ CALL  connect(0x7,0x450d38,0x10)
  1108 netscape-2.0beta^->o0!W[ RET   connect 0
  1108 netscape-2.0beta^->o0!W[ CALL  old.send(0x7,0xf7ffccd0,0x28,0)
  1108 netscape-2.0beta^->o0!W[ GIO   fd 7 wrote 40 bytes
       "\0\^A\^A\0\0\^A\0\0\0\0\0\0     netbsd4me\^Cjpl\^Dnasa\^Cgov\0\0\^A\0\
        \^A"
  1108 netscape-2.0beta^->o0!W[ RET   old.send 40/0x28
  1108 netscape-2.0beta^->o0!W[ CALL  gettimeofday(0xf7ffc828,0)
...
  1108 netscape-2.0beta^->o0!W[ CALL  old.sigblock(0)
  1108 netscape-2.0beta^->o0!W[ RET   old.sigblock 8192/0x2000
  1108 netscape-2.0beta^->o0!W[ CALL  old.sigstack(0,0xf7ffc734)
  1108 netscape-2.0beta^->o0!W[ RET   old.sigstack 0
  1108 netscape-2.0beta^->o0!W[ CALL  obs_4.2(0x45d158)
  1108 netscape-2.0beta^->o0!W[ PSIG  SIGALRM caught handler=0x4400c28 mask=0x0 code=0x0
  1108 netscape-2.0beta^->o0!W[ NAMI  "netscape-2.0beta.core"

The beta 1 binary that I hacked works fine, so I'll stick with that, but I'm
certainly curious to know what Illegal Instruction has crept into the new
beta 2 binary that makes it not run (it works fine on a normal SunOS system).

I'd be interested to hear from 1.1 Alpha users whether it works for them.

In the meantime, how the heck do you debug problems like this?  Since NetBSD
reports the resultant core dump as "data", can I drag it over to a SunOS box
and see anything useful?  I see no way of determining where it died, and on
what instruction.  NetBSD's gdb certainly won't have anything to do with it.

	- Greg