Subject: Java with Netscape 2.0 and compat_sunos?
To: None <port-sparc@NetBSD.ORG>
From: Michael K. Sanders <msanders@confusion.net>
List: port-sparc
Date: 02/27/1996 22:32:30
I thought someone had Java working at one point with one of the
betas. Does it work for anyone now? I'm using Netscrape 2.0, 
with SunOS 4.1.3_U1 libraries under a Feb 22nd -current kernel.

It starts to load a page with Java, and then locks... same 'doesn't
redraw itself' behavior that has been described before. 

As an example, http://www.javasoft.com/

the trace shows it looping ad nauseum after a colormap warning... 

Any ideas? :)


  4592 netscape2.0 CALL  write(0x11,0x6adc00,0xeb)
  4592 netscape2.0 GIO   fd 17 wrote 235 bytes
       "GET /graphics/sun-bar.gif HTTP/1.0\r
	Referer: http://www.javasoft.com/\r
	Connection: Keep-Alive\r
	User-Agent: Mozilla/2.0 (X11; I; NetBSD 1.1A sparc)\r
	Host: www.javasoft.com\r
	Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg\r
	\r
       "
  4592 netscape2.0 RET   write 235/0xeb
  4592 netscape2.0 PSIG  SIGALRM caught handler=0x4444ba0 mask=0x0 code=0x0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd178,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  sunos_sigreturn(0xf7ffd450)
  4592 netscape2.0 RET   sunos_sigreturn JUSTRETURN
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd910,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  sunos_ioctl(0x6,FIONREAD,0xf7ffd934)
  4592 netscape2.0 RET   sunos_ioctl 0
  4592 netscape2.0 CALL  sunos_ioctl(0x6,FIONREAD,0xf7ffd934)
  4592 netscape2.0 RET   sunos_ioctl 0
  4592 netscape2.0 CALL  sunos_ioctl(0x6,FIONREAD,0xf7ffd92c)
  4592 netscape2.0 RET   sunos_ioctl 0
  4592 netscape2.0 CALL  sunos_ioctl(0x6,FIONREAD,0xf7ffd92c)
  4592 netscape2.0 RET   sunos_ioctl 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd9f0,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd9f0,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd8b0,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd910,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  sunos_ioctl(0x6,FIONREAD,0xf7ffd934)
  4592 netscape2.0 RET   sunos_ioctl 0
  4592 netscape2.0 CALL  write(0x6,0x4a3000,0x1c)
  4592 netscape2.0 GIO   fd 6 wrote 28 bytes
       ">\^A\0\a\^B\M^@\0\M^Y\^B\M^@\^B>\^B\M^@\^Bk\0\0\0\0\0\^B\0\^B\0<\0<"
  4592 netscape2.0 RET   write 28/0x1c
  4592 netscape2.0 CALL  sunos_ioctl(0x6,FIONREAD,0xf7ffd934)
  4592 netscape2.0 RET   sunos_ioctl 0
  4592 netscape2.0 CALL  sunos_ioctl(0x6,FIONREAD,0xf7ffd92c)
  4592 netscape2.0 RET   sunos_ioctl 0
  4592 netscape2.0 CALL  sunos_ioctl(0x6,FIONREAD,0xf7ffd92c)
  4592 netscape2.0 RET   sunos_ioctl 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd9f0,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 PSIG  SIGALRM caught handler=0x4444ba0 mask=0x0 code=0x0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd118,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  sunos_sigreturn(0xf7ffd3f0)
  4592 netscape2.0 RET   sunos_sigreturn JUSTRETURN
  4592 netscape2.0 CALL  write(0x6,0x4a3000,0x10)
  4592 netscape2.0 GIO   fd 6 wrote 16 bytes
       "=\^A\0\^D\^B\M^@\^B0\09\0\0\0\M-x\0\^R"
  4592 netscape2.0 PSIG  SIGALRM caught handler=0x4444ba0 mask=0x0 code=0x0
  4592 netscape2.0 RET   write 16/0x10
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd2f0,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  sunos_sigreturn(0xf7ffd5c8)
  4592 netscape2.0 RET   sunos_sigreturn JUSTRETURN
  4592 netscape2.0 CALL  fsync(0x10)
  4592 netscape2.0 RET   fsync 0
  4592 netscape2.0 CALL  close(0x10)
  4592 netscape2.0 RET   close 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd540,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd4c8,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd4d8,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  write(0x6,0x4a3000,0xb0)
  4592 netscape2.0 GIO   fd 6 wrote 176 bytes
       "F\^A\0\^E\^B\M^@\^B2\^B\M^@\^B\\\0\0\0\0\0\M-H\0\^F=\0\0\^D\^B\M^@\^B7\
	\0\^B\0\^N\0\v\^A\M^BF\^A\0\^E\^B\M^@\^AV\^B\M^@\0\M-]\0\0\0\0\0\v\^Ai\
	B \0\v\^B\M^@\^AV\^B\M^@\0\r\0\0\0\0\0
	\0\0\0\0\0\^A\0	\0\^A\0\0\0\^B\0\0\^Ah\0\^A\0\^B\0\^A\^AgB\0\0\v\^B\
	\M^@\^AV\^B\M^@\0\^N\0\^A\^Ah\0
	\^Ah\0\^B\^Ag\0
	\^Ag\0
	\0\^A\0
	\^Ah\0	\0\^B\0	\^Ah>\0\0\a\^B\M^@\^AV\^B\M^@\^B7\^B\M^@\0\M-]\0\0\0\0\
	\0\^B\0\^N\0\v\^Ai+\^A\0\^A"
  4592 netscape2.0 RET   write 176/0xb0
  4592 netscape2.0 CALL  read(0x6,0xf7ffcc10,0x20)
  4592 netscape2.0 GIO   fd 6 read 32 bytes
       "\f\0\^S\M^D\^B\M^@\^B0\09\0\0\0\M-x\0\^R\0\0\M^Y\0\0\0\0\0\0\0\0\M-C\0\
	\0\^A\M-`"
  4592 netscape2.0 RET   read 32/0x20
  4592 netscape2.0 CALL  read(0x6,0xf7ffcc10,0x20)
  4592 netscape2.0 GIO   fd 6 read 32 bytes
       "\^N_\^S\M^E\^B\M^@\^B>\0\0>\^B\0\0\0\^B\0\f\^[,\0\0\0\^A\^B,\^C\r\^B,\
	\^C\r"
  4592 netscape2.0 RET   read 32/0x20
  4592 netscape2.0 CALL  read(0x6,0xf7ffcc10,0x20)
  4592 netscape2.0 GIO   fd 6 read 32 bytes
       "\f\0\^S\M^F\^B\M^@\^B0\09\0\0\0\M-x\0\^R\0\0\M^Y\0\0\0\0\0\0\0\0\M-C\0\
	\0\^A\M-`"
  4592 netscape2.0 RET   read 32/0x20
  4592 netscape2.0 CALL  read(0x6,0xf7ffcc10,0x20)
  4592 netscape2.0 PSIG  SIGALRM caught handler=0x4444ba0 mask=0x0 code=0x0
  4592 netscape2.0 RET   read RESTART
  4592 netscape2.0 CALL  gettimeofday(0xf7ffc7f0,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  sunos_sigreturn(0xf7ffcac8)
  4592 netscape2.0 RET   sunos_sigreturn JUSTRETURN
  4592 netscape2.0 CALL  read(0x6,0xf7ffcc10,0x20)
  4592 netscape2.0 GIO   fd 6 read 32 bytes
       "\^N[\^S\M^G\^B\M^@\^B>\0\0>\^B\0\0\0\^B\0\0it\0\0\0\0\^B\M-@\0\^R\0\0\
	\0\0"
  4592 netscape2.0 RET   read 32/0x20
  4592 netscape2.0 CALL  read(0x6,0xf7ffcc10,0x20)
  4592 netscape2.0 GIO   fd 6 read 32 bytes
       "\f\0\^S\M^H\^B\M^@\^B0\09\0\0\0\M-x\0\^R\0\0\0<\0\0\0\0\0\\\^S\0\0\0\0\
	\^A"
  4592 netscape2.0 RET   read 32/0x20
  4592 netscape2.0 CALL  read(0x6,0xf7ffcc10,0x20)
  4592 netscape2.0 GIO   fd 6 read 32 bytes
       "\^A\^A\^S\M^O\0\0\0\0\0\0\0\^A\0\0\^Ai\0\0\0\^B\0\0\0\^N\0\0\0\^A\0\0\
	\0\0"
  4592 netscape2.0 RET   read 32/0x20
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd910,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd9f0,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd910,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  sunos_ioctl(0x6,FIONREAD,0xf7ffd644)
  4592 netscape2.0 RET   sunos_ioctl 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd9f0,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd910,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd9f0,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd910,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  sunos_ioctl(0x6,FIONREAD,0xf7ffd92c)
  4592 netscape2.0 RET   sunos_ioctl 0
  4592 netscape2.0 CALL  write(0x6,0x4a3000,0x28)
  4592 netscape2.0 GIO   fd 6 wrote 40 bytes
       "J\^A\0
	\^B\M^@\^B0\^B\M^@\^A8\0;\0\r\^S\0Reading file...Done\0\0\^E"
  4592 netscape2.0 RET   write 40/0x28
  4592 netscape2.0 CALL  sunos_ioctl(0x6,FIONREAD,0xf7ffd92c)
  4592 netscape2.0 RET   sunos_ioctl 0
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd9f0,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  read(0xc,0x491850,0x3fe)
  4592 netscape2.0 GIO   fd 12 read 69 bytes
       "Warning: 
	    Cannot allocate colormap entry for default background
	
       "
  4592 netscape2.0 RET   read 69/0x45
  4592 netscape2.0 CALL  read(0xc,0x491895,0x3b9)
  4592 netscape2.0 PSIG  SIGALRM caught handler=0x4444ba0 mask=0x0 code=0x0
  4592 netscape2.0 RET   read RESTART
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd1c0,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  sunos_sigreturn(0xf7ffd498)
  4592 netscape2.0 RET   sunos_sigreturn JUSTRETURN
  4592 netscape2.0 CALL  read(0xc,0x491895,0x3b9)
  4592 netscape2.0 PSIG  SIGALRM caught handler=0x4444ba0 mask=0x0 code=0x0
  4592 netscape2.0 RET   read RESTART
  4592 netscape2.0 CALL  gettimeofday(0xf7ffd1c0,0)
  4592 netscape2.0 RET   gettimeofday 0
  4592 netscape2.0 CALL  sunos_sigreturn(0xf7ffd498)
  4592 netscape2.0 RET   sunos_sigreturn JUSTRETURN
  4592 netscape2.0 CALL  read(0xc,0x491895,0x3b9)
  4592 netscape2.0 PSIG  SIGALRM caught handler=0x4444ba0 mask=0x0 code=0x0
  4592 netscape2.0 RET   read RESTART

  ... 
  ...

  and on and on and on.