From alan@pyrex.batie.org  Thu Jan 15 21:15:13 2004
Return-Path: <alan@pyrex.batie.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B830516A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jan 2004 21:15:13 -0800 (PST)
Received: from pyrex.batie.org (dsl-209-162-200-178.dsl.easystreet.com [209.162.200.178])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 316FE43D58
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jan 2004 21:15:11 -0800 (PST)
	(envelope-from alan@pyrex.batie.org)
Received: from pyrex.batie.org (localhost [127.0.0.1])
	by pyrex.batie.org (8.12.7/8.12.6) with ESMTP id i0G5F5Hl045818
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jan 2004 21:15:06 -0800 (PST)
	(envelope-from alan@pyrex.batie.org)
Received: (from alan@localhost)
	by pyrex.batie.org (8.12.7/8.12.6/Submit) id i0G5F5Vt045817;
	Thu, 15 Jan 2004 21:15:05 -0800 (PST)
Message-Id: <200401160515.i0G5F5Vt045817@pyrex.batie.org>
Date: Thu, 15 Jan 2004 21:15:05 -0800 (PST)
From: Alan Batie <alan@pyrex.batie.org>
Reply-To: Alan Batie <alan@pyrex.batie.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: jdk14 port aborts making html32dtd
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         61407
>Category:       java
>Synopsis:       jdk14 port aborts making html32dtd
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    phantom
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 15 21:20:03 PST 2004
>Closed-Date:    Sun Oct 23 18:50:51 GMT 2005
>Last-Modified:  Sun Oct 23 18:50:51 GMT 2005
>Originator:     Alan Batie
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
RainDrop Laboratories
>Environment:
System: FreeBSD pyrex.batie.org 4.8-STABLE FreeBSD 4.8-STABLE #1: Sun Nov 9 03:18:36 PST 2003 root@pyrex.batie.org:/usr/src/freebsd/src/sys/compile/PYREX i386


	Latest jdk14 port using patchset 6:
	# $FreeBSD: ports/java/jdk14/Makefile,v 1.71 2004/01/14 21:21:52 glewis Exp $

>Description:

>How-To-Repeat:
	cvsup (this morning about 5:30 or so PST)
	cvs update ports
	cd ports/java/jdk14
	make

>Fix:
>Release-Note:
>Audit-Trail:

From: Panagiotis Astithas <past@noc.ntua.gr>
To: freebsd-gnats-submit@FreeBSD.org, alan@pyrex.batie.org
Cc:  
Subject: Re: java/61407: jdk14 port aborts making html32dtd
Date: Fri, 16 Jan 2004 13:53:06 +0200

 Since from time to time I experience it too, here is a trace from the 
 corefile:
 
 #0  0x380a982c in kill () from /usr/lib/libc_r.so.4
 #1  0x380f7a8a in abort () from /usr/lib/libc_r.so.4
 #2  0x3846d892 in os::abort ()
    from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/
 libjvm.so
 #3  0x38469fd4 in os::handle_unexpected_exception ()
    from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/
 libjvm.so
 #4  0x3846eca4 in JVM_handle_bsd_signal ()
    from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/
 libjvm.so
 #5  0x3846e2e3 in signalHandler ()
    from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/
 libjvm.so
 #6  0x380bb696 in _thread_sig_handler () from /usr/lib/libc_r.so.4
 #7  0x380bb516 in _thread_sig_handler () from /usr/lib/libc_r.so.4
 #8  0xbfbfffac in ?? ()
 #9  0x38449bc0 in LinkResolver::linktime_resolve_static_method ()
    from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/
 libjvm.so
 #10 0x38448133 in LinkResolver::resolve_static_call ()
    from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/
 libjvm.so
 #11 0x3837d8c9 in JavaCalls::call_static ()
    from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/
 libjvm.so
 #12 0x384c385a in JavaThread::exit ()
    from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/
 libjvm.so
 #13 0x384c7548 in Threads::destroy_vm ()
    from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/
 libjvm.so
 #14 0x383a9ff3 in jni_DestroyJavaVM ()
    from /var/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/i386/client/
 libjvm.so
 #15 0x80495f2 in free ()
 #16 0x8048bc6 in free ()
 
Responsible-Changed-From-To: freebsd-java->phantom 
Responsible-Changed-By: glewis 
Responsible-Changed-When: Thu Apr 1 23:13:26 PST 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61407 

From: Gerald <gcoon@inch.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: alan@pyrex.batie.org
Subject: Re: java/61407: jdk14 port aborts making html32dtd
Date: Wed, 9 Jun 2004 20:23:36 -0400 (EDT)

 I see this PR is still open and doesn't have the workaround mentioned in
 it. I found this:
 http://lists.freebsd.org/mailman/htdig/freebsd-java/2003-December/001333.html
 
 Which at least let me install jdk14.
 
 I did this specifically:
 
 pkg_delete -f linux-sun-jdk...
 cd /usr/ports/java/linux-sun-jdk14 && make install <-- Don't clean yet
 2. cd /usr/ports/java/jdk14 && make install <-- installs, and works
 3. cd /usr/ports/java/linux-sun-jdk14 && make clean
 
 Hopefully putting this near the PR will make it easier to find for the
 next person.
 
 Gerald
State-Changed-From-To: open->feedback 
State-Changed-By: phantom 
State-Changed-When: Fri Dec 24 07:36:19 GMT 2004 
State-Changed-Why:  
Cannot be reproduced here.  Do you expirience this problem with recent 
jdk 1.4 patchsets? 


http://www.freebsd.org/cgi/query-pr.cgi?pr=61407 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Oct 23 18:48:35 GMT 2005 
State-Changed-Why:  
Feedback timeout (> 6 months). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61407 
>Unformatted:
 >>>Recursively making html32dtd html32dtd @ Thu Jan 15 20:56:04 PST 2004 ...
 gmake[4]: Entering directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd'
 gmake make-html32dtd
 gmake[5]: Entering directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd'
 /bin/mkdir -p /usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/obj
 /bin/mkdir -p /usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/dtdgenclasses
 rm -f /usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/.classes.list
 if [ -s /usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/.classes.list ] ; \
 then /usr/src/ports/java/jdk14/work/control/build/bsd-i586/bin/javac  -J-XX:ThreadStackSize=768 -J-Xms64m -J-Xmx256m -J-Xmaxf1 -classpath /usr/src/ports/java/jdk14/work/control/build/bsd-i586/classes -bootclasspath "/usr/src/ports/java/jdk14/work/control /build/bsd-i586/lib/jce.jar:/usr/src/ports/java/jdk14/work/control/build/bsd-i586/lib/jsse.jar" -sourcepath "/usr/src/ports/java/jdk14/work/control/build/bsd-i586/gensrc:../../../../src/solaris/classes:../../../../src/share/classes" -d /usr/src/ports/jav a/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/dtdgenclasses  -source 1.4 \
     ../../../tools/dtdbuilder/PublicMapping.java ../../../tools/dtdbuilder/DTDParser.java ../../../tools/dtdbuilder/DTDInputStream.java ../../../tools/dtdbuilder/DTDBuilder.java ; \
 fi
 rm -f /usr/src/ports/java/jdk14/work/control/build/bsd-i586/classes/javax/swing/text/html/parser/html32.bdtd
 (/usr/src/ports/java/jdk14/work/control/build/bsd-i586/bin/java -ms16m -mx64m \
         -classpath "/usr/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/javax/swing/html/dtbuilder/dtdgenclasses:" \
         -Ddtd_home=../../../tools/dtdbuilder/dtds \
         dtdbuilder.DTDBuilder html32 > /usr/src/ports/java/jdk14/work/control/build/bsd-i586/classes/javax/swing/text/html/parser/html32.bdtd) || exit 1
 [Parsed DTD html32 in 197ms]
 Abort trap (core dumped)
 gmake[5]: *** [/usr/src/ports/java/jdk14/work/control/build/bsd-i586/classes/javax/swing/text/html/parser/html32.bdtd] Error 1
 gmake[5]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd'
 gmake[4]: *** [swing-html32dtd] Error 2
 gmake[4]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing/html32dtd'
 gmake[3]: *** [html32dtd] Error 1
 gmake[3]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make/javax/swing'
 gmake[2]: *** [all] Error 1
 gmake[2]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make/javax'
 gmake[1]: *** [all] Error 1
 gmake[1]: Leaving directory `/usr/src/ports/java/jdk14/work/j2se/make'
 gmake: *** [j2se-build] Error 2
 *** Error code 2
 
 Stop in /usr/src/ports/java/jdk14.
 
