Bug 54463

Summary: Apparent bug in jdk13
Product: Base System Reporter: arlankfo <arlankfo>
Component: javaAssignee: Greg Lewis <glewis>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.1-CURRENT   
Hardware: Any   
OS: Any   

Description arlankfo 2003-07-14 06:40:08 UTC
  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".

Fix: 

Don't bother trying to run certain graphical applets
 or applications.
Comment 1 Greg Lewis freebsd_committer freebsd_triage 2003-07-14 15:48:10 UTC
Responsible Changed
From-To: freebsd-java->glewis

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.
Comment 2 arlankfo 2003-07-16 03:13:40 UTC
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
Comment 3 arlankfo 2003-07-17 01:36:56 UTC
>>  (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
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2011-03-06 20:53:28 UTC
State Changed
From-To: open->closed

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