Subject: Re: Netscape - the plot thickens
To: None <neil@demon.net>
From: Greg Earle <earle@isolar.Tujunga.CA.US>
List: port-sparc
Date: 11/16/1995 05:30:32
>> (I was gonna ask why not just do a "clr %o0" before the mmap(), but of
>>  course having looked at it your solution of where to make the change is
>>  much better.)
>> 
>> Oh - should probably note that this 0x450628 address is for the DNS-enabled
>> SunOS Netscape (i.e., "netscape_dns") binary ... the address for the plain
>> Netscape (i.e., "netscape") binary is 0x44e330.
> 
> Hmm, I'm getting a Bus Error when I visit java.sun.com:
> 
> 27979 netscape RET  break 0
> 27979 netscape CALL mmap(0x40000000,0x100000,0x7,0x80000002,0x3,0)
                           ^^^^^^^^^^

ARGGGGHHH!  Another bloody broken mmap() call still in the thing ...

Time for another Search & Destroy mission ...

(This time I suspect you can't use 0xE0000000 instead, since that's already
 being used for the broken mmap() Paul already fixed  (-: )

> 27979 netscape RET  mmap 1073741824/0x40000000
> 27979 netscape PSIG SIGSEGV caught handler=0x4400ba0 mask=0x0 code=0x40000000
> 27979 netscape CALL getpid
> 27979 netscape RET  getpid 27979/0x6d4b
> 27979 netscape CALL kill(0x6d4b,0xa)
> 27979 netscape PSIG SIGBUS SIG_DFL
> 27979 netscape NAMI "netscape.core"
> 
> Anyone else?

Geez, I was so happy that it came up with Paul's fix that I didn't even bother
to check and see if it could still work with Java applets  :-)

Hmmmn ... (goes off and has a look)

Try this additional patch to "netscape_dns" (i.e., in addition to Paul's):

0x45061c?W 0

This stops it from core dumping, but now I can't get any applets to work  :-(

(All the Beta applets cause "start: applet not initialized" diagnostics to
 appear on the bottom, and nothing happens.  Sigh.)

"Dear Netscape ... please get a clue about mmap() ... thank you"

	- Greg