From arlankfo@141.com  Sun Jul 13 22:31:57 2003
Return-Path: <arlankfo@141.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 17CE837B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Jul 2003 22:31:57 -0700 (PDT)
Received: from 141.com (mail.141.com [65.168.139.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 43C6C43FB1
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Jul 2003 22:31:56 -0700 (PDT)
	(envelope-from arlankfo@141.com)
Message-Id: <200307132335.AA1188692254@141.com>
Date: Sun, 13 Jul 2003 23:35:30 -0600
From: "Andrew Lankford" <arlankfo@141.com>
Reply-To: <arlankfo@141.com>
To: <FreeBSD-gnats-submit@freebsd.org>
Subject: Apparent bug in jdk13

>Number:         54463
>Category:       java
>Synopsis:       Apparent bug in jdk13
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    glewis
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 13 22:40:08 PDT 2003
>Closed-Date:    Sun Mar 06 15:53:29 EST 2011
>Last-Modified:  Sun Mar 06 15:53:29 EST 2011
>Originator:     Andrew Lankford
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
N/A
>Environment:
System: FreeBSD bogushost2 5.1-CURRENT FreeBSD 5.1-CURRENT #8: Wed Jul 9 03:30:5
8 EDT 2003 root@bogushost2:/usr/obj/usr/src/sys/ARL5KERNEL i386

Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-root-030702-01:
23)
Classic VM (build 1.3.1-p8-root-030702-01:23, green threads, nojit)

(Tried compiling with native threads and got the same results)

>Description:
  Several demo applets included with 1.3.1 make java
 go into an endless loop

  $ cd /usr/local/jdk1.3.1/demo/applets/Dithertest/
  $ appletviewer example1.html

  appletviewer in free(): error: chunk is already free
  SIGABRT   6*   abort (generated by abort(3) routine)
  appletviewer in malloc(): error: recursive call
  SIGABRT   6*   abort (generated by abort(3) routine)
  appletviewer in malloc(): error: recursive call
  SIGABRT   6*   abort (generated by abort(3) routine)
  appletviewer in malloc(): error: recursive call
  SIGABRT   6*   abort (generated by abort(3) routine)

  ...and so on until you put it out of its misery
   with a "kill -9".

>How-To-Repeat:
 


 
                   
>Fix:

  Don't bother trying to run certain graphical applets
 or applications.



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-java->glewis 
Responsible-Changed-By: glewis 
Responsible-Changed-When: Mon Jul 14 07:48:10 PDT 2003 
Responsible-Changed-Why:  
Over to maintainer. 

Note:  This error only appears on 5-current.  I can't reproduce on 4.x 
or on my 5.1-R install.  My guess is this has something to do 
with the default malloc.conf settings on the development branch. 
Please let me know what malloc.conf is set to on your machine. 

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

From: "Andrew Lankford" <arlankfo@141.com>
To: <freebsd-gnats-submit@freebsd.org>
Cc:  
Subject: Re: java/54463: Apparent bug in jdk13
Date: Tue, 15 Jul 2003 20:13:40 -0600

 I don't have an /etc/malloc.conf.  No environment variables or
 tweaks to /etc/sysctl.conf & /boot/loader.conf apart
 from network, disk, and driver settings.  Is there a way of 
 getting some useful data by running jdk1.3.1/bin/i386/green_threads/appletviewer from GDB, perhaps?
 
 (I'm sending a reply via gnats because I'm not sure if it's reaching you via email)
 Andrew Lankford  
 
 
  
                    

From: "Andrew Lankford" <arlankfo@141.com>
To: <glewis@freebsd.org>, <FreeBSD-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: java/54463: Apparent bug in jdk13
Date: Wed, 16 Jul 2003 18:36:56 -0600

 >>  (I'm sending a reply via gnats because I'm not sure if it's >>reaching you via email)
 
 >I am, but I'm still a bit slow trying to catch up with email
 > from my trip.
 
 Sorry if I've been spamming you.  If it's any help, the problem
  appeared to show up around early May after a portupgrade.  I
 was following 5.1-BETA.
 
 Andrew Lankford 
 
 
  
                    
State-Changed-From-To: open->closed 
State-Changed-By: eadler 
State-Changed-When: Sun Mar 6 15:53:28 EST 2011 
State-Changed-Why:  
java has been updated multiple times; so has base; if this is still an 
issue, please let us know and we can re-open this PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54463 
>Unformatted:
