Subject: Java applet that trips up SunOS Netscape binary under NetBSD 1.2.1
To: None <port-sparc@NetBSD.ORG>
From: Greg Earle <earle@isolar.Tujunga.CA.US>
List: port-sparc
Date: 04/03/1997 23:21:26
Finally found something that runs under SunOS but not under NetBSD/SPARC 1.2.1:
http://junior.apk.net/~jbarta/idiot/idiot.html
It's got a little Java applet that puts up a "press" button and proceeds to
squirm away whenever you move the mouse near it :-)
Anyway, when I run it with a SunOS Netscape binary (it kills 2.02, 3.01 Gold
and 4.0beta2, an equal-opportunity crasher), it causes the binary to die with
a Bus Error and sometimes a "dlopen: stub interception failed" error message.
21682 netscape-3.01 CALL open(0x7cdd80,0,0)
21682 netscape-3.01 NAMI "/emul/sunos/usr/local/netscape/java/classes/java_301
"
21682 netscape-3.01 NAMI "/usr/local/netscape/java/classes/java_301"
[... reads a whole shitload of stuff from java_301 here ...]
21682 netscape-3.01 PSIG SIGALRM caught handler=0x455bc28 mask=0x0 code=0x0
21682 netscape-3.01 RET read 23571/0x5c13
21682 netscape-3.01 CALL gettimeofday(0xf7ffc638,0)
21682 netscape-3.01 RET gettimeofday 0
21682 netscape-3.01 CALL sigreturn(0xf7ffc928)
21682 netscape-3.01 RET sigreturn JUSTRETURN
21682 netscape-3.01 CALL break(0x80f000)
21682 netscape-3.01 RET break 0
21682 netscape-3.01 CALL break(0x810000)
21682 netscape-3.01 RET break 0
21682 netscape-3.01 CALL break(0x810000)
21682 netscape-3.01 RET break 0
21682 netscape-3.01 CALL break(0x811000)
21682 netscape-3.01 RET break 0
21682 netscape-3.01 CALL close(0x14)
21682 netscape-3.01 RET close 0
21682 netscape-3.01 CALL write(0x2,0xf7ffc670,0x21)
21682 netscape-3.01 GIO fd 2 wrote 33 bytes
"dlopen: stub interception failed
"
21682 netscape-3.01 RET write 33/0x21
21682 netscape-3.01 CALL getpid
21682 netscape-3.01 RET getpid 21682/0x54b2
21682 netscape-3.01 CALL kill(0x54b2,0xa)
21682 netscape-3.01 PSIG SIGBUS SIG_DFL
As I understand it, this error ("dlopen: stub interception failed") is only
supposed to happen if the SunOS dynamic linker has gotten confused and not
called the "real" dlopen() routine it was supposed to have called ...
Also, speaking of Netscape ... anyone use it enough to load enough images
over time such that eventually you start getting a rash of BadDrawable errors
and finally a failed XAlloc() or XRealloc() crashing your Xsun? This happened
to me under 1.2 with my own built X11R6 and now it's happening to me again
under 1.2.1 using Mat's X11R6.1 distribution as well ...
- Greg