*BSD News Article 88274


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!www.nntp.primenet.com!nntp.primenet.com!feed1.news.erols.com!news
From: "Lee Cremeans (at home)" <mcampbel@erols.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Problems with JDK-FreeBSD
Date: Mon, 03 Feb 1997 21:09:25 -0500
Organization: This house? Are you crazy?
Lines: 61
Message-ID: <32F69A55.41C67EA6@erols.com>
NNTP-Posting-Host: man-as9s64.erols.com
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------446B9B3D2781E494167EB0E7"
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.1.6-RELEASE i386)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35011

This is a multi-part message in MIME format.

--------------446B9B3D2781E494167EB0E7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I got the JDK port from freefall, and it works on simple ("Hello World!)
programs.  If I try it on Corel Office for Java (or any other
substantial applet), however, it won't work (either segfaults or gives
me a "void main(String argv[]) is not defined").  Also, appletviewer
always segfaults, no matter what I use with it.

Lee C.

[I've attached the errorlog as plain text.  I'm using netscape, so it's
going to be MIME'd. :( ]

--------------446B9B3D2781E494167EB0E7
Content-Type: text/plain; charset=us-ascii; name="errorlog"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="errorlog"

SIGSEGV   11*  segmentation violation
    sig 11, code 12 or 0xc, sc 0xefbfb76c, addr 0x93f5fff
	stackbase=0xefbfd630, stackpointer=0xefbfd47c

Full thread dump:
    "Finalizer thread" (TID:0x857e3b0, sys_thread_t:0x9382f28) prio=1
    "Async Garbage Collector" (TID:0x857e368, sys_thread_t:0x9361f28) prio=1
    "Idle thread" (TID:0x857e320, sys_thread_t:0x9340f28) prio=0
    "clock handler" (TID:0x857e1f8, sys_thread_t:0x931ff28) prio=11
    "main" (TID:0x857e0a0, sys_thread_t:0x168300) prio=5 *current thread*
	sun.awt.motif.MToolkit.<init>(MToolkit.java:49)
	java.awt.Toolkit.getDefaultToolkit(Toolkit.java:199)
	sun.applet.AppletCopyright.<init>(AppletCopyright.java:41)
	sun.applet.AppletViewer.mainInit(AppletViewer.java:869)
	sun.applet.AppletViewer.main(AppletViewer.java:878)
Monitor Cache Dump:
    java.lang.Class@857F9A0/1B0980 (key=0x857f9a0):     monitor owner: "main"
    sun.awt.motif.MToolkit@857FAA8/85B9408 (key=0x857faa8):     monitor owner: "main"
Registered Monitor Dump:
    Finalize me queue lock:     unowned
    Thread queue lock:     unowned
    Class lock:     unowned
    Java stack lock:     unowned
    Code rewrite lock:     unowned
    Heap lock:     unowned
    Has finalization queue lock:     unowned
    Monitor IO lock:     unowned
    Child death monitor:     unowned
    Event monitor:     unowned
    I/O monitor:     unowned
    Alarm monitor:     unowned
	Waiting to be notified:
	    "clock handler"
    Monitor cache lock:     unowned
    Monitor registry:     monitor owner: "main"
Thread Alarm Q:

--------------446B9B3D2781E494167EB0E7--