Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4955487
Votes 0
Synopsis -Xmx1891M causes "Unexpected signal 11"
Category hotspot:runtime_system
Reported Against 1.4.2
Release Fixed
State 11-Closed, duplicate of 4779077, bug
Priority: 4-Low
Related Bugs 4779077
Submit Date 17-NOV-2003
Description




FULL PRODUCT VERSION :
java version "1.4.2_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)

FULL OS VERSION :
Linux histeng 2.4.20 #1 Tue Sep 9 15:49:09 BST 2003 i686 unknown
Debian woody (3.0 stable)

A DESCRIPTION OF THE PROBLEM :
I have a similar issue to bug 4779077 with 1.4.2_01, although the precise -Xmx value is different:

$ java -Xmx1891M java.awt.Frame

Unexpected Signal : 11 occurred at PC=0x403A23F2
Function=(null)+0x403A23F2
Library=/usr/local/lib/j2sdk1.4.2_01/jre/lib/i386/client/libjvm.so

NOTE: We are unable to locate the function name  customer  for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.


Current Java thread:

Dynamic libraries:
08048000-0804e000 r-xp 00000000 09:00 14123023   /usr/local/lib/j2sdk1.4.2_01/jre/bin/java
0804e000-0804f000 rw-p 00005000 09:00 14123023   /usr/local/lib/j2sdk1.4.2_01/jre/bin/java
40000000-40013000 r-xp 00000000 09:00 163928     /lib/ld-2.2.5.so
40013000-40014000 rw-p 00013000 09:00 163928     /lib/ld-2.2.5.so
40017000-40024000 r-xp 00000000 09:00 163947     /lib/libpthread-0.9.so
40024000-4002b000 rw-p 0000d000 09:00 163947     /lib/libpthread-0.9.so
4002b000-4002d000 r-xp 00000000 09:00 163934     /lib/libdl-2.2.5.so
4002d000-4002e000 rw-p 00001000 09:00 163934     /lib/libdl-2.2.5.so
4002f000-40142000 r-xp 00000000 09:00 163931     /lib/libc-2.2.5.so
40142000-40148000 rw-p 00113000 09:00 163931     /lib/libc-2.2.5.so
4014c000-40546000 r-xp 00000000 09:00 4407306    /usr/local/lib/j2sdk1.4.2_01/jre/lib/i386/client/libjvm.so
40546000-40562000 rw-p 003f9000 09:00 4407306    /usr/local/lib/j2sdk1.4.2_01/jre/lib/i386/client/libjvm.so
40574000-40585000 r-xp 00000000 09:00 163936     /lib/libnsl-2.2.5.so
40585000-40586000 rw-p 00010000 09:00 163936     /lib/libnsl-2.2.5.so
40588000-405a8000 r-xp 00000000 09:00 163935     /lib/libm-2.2.5.so
405a8000-405a9000 rw-p 0001f000 09:00 163935     /lib/libm-2.2.5.so
405a9000-405b1000 r-xp 00000000 09:00 3178500    /usr/local/lib/j2sdk1.4.2_01/jre/lib/i386/native_threads/libhpi.so
405b1000-405b2000 rw-p 00007000 09:00 3178500    /usr/local/lib/j2sdk1.4.2_01/jre/lib/i386/native_threads/libhpi.so
405b2000-405bc000 r-xp 00000000 09:00 163937     /lib/libnss_compat-2.2.5.so
405bc000-405bd000 rw-p 00009000 09:00 163937     /lib/libnss_compat-2.2.5.so
405bd000-405c1000 rw-s 00000000 09:00 8077328    /tmp/hsperfdata_peter/15936
405c1000-405d1000 r-xp 00000000 09:00 2195466    /usr/local/lib/j2sdk1.4.2_01/jre/lib/i386/libverify.so
405d1000-405d3000 rw-p 0000f000 09:00 2195466    /usr/local/lib/j2sdk1.4.2_01/jre/lib/i386/libverify.so
405d3000-405f3000 r-xp 00000000 09:00 2195467    /usr/local/lib/j2sdk1.4.2_01/jre/lib/i386/libjava.so
405f3000-405f5000 rw-p 0001f000 09:00 2195467    /usr/local/lib/j2sdk1.4.2_01/jre/lib/i386/libjava.so
405f5000-40609000 r-xp 00000000 09:00 2195469    /usr/local/lib/j2sdk1.4.2_01/jre/lib/i386/libzip.so
40609000-4060c000 rw-p 00013000 09:00 2195469    /usr/local/lib/j2sdk1.4.2_01/jre/lib/i386/libzip.so
4060c000-41fa4000 r--s 00000000 09:00 1032238    /usr/local/lib/j2sdk1.4.2_01/jre/lib/rt.jar
41fee000-42004000 r--s 00000000 09:00 1032198    /usr/local/lib/j2sdk1.4.2_01/jre/lib/sunrsasign.jar
42004000-420df000 r--s 00000000 09:00 1032235    /usr/local/lib/j2sdk1.4.2_01/jre/lib/jsse.jar
420df000-420f0000 r--s 00000000 09:00 1032199    /usr/local/lib/j2sdk1.4.2_01/jre/lib/jce.jar
420f0000-42649000 r--s 00000000 09:00 1032236    /usr/local/lib/j2sdk1.4.2_01/jre/lib/charsets.jar

Heap at VM Abort:
Heap
 def new generation   total 576K, used 100K [0x44700000, 0x447a0000, 0x4d880000)
  eden space 512K,  19% used [0x44700000, 0x44719398, 0x44780000)
  from space 64K,   0% used [0x44780000, 0x44780000, 0x44790000)
  to   space 64K,   0% used [0x44790000, 0x44790000, 0x447a0000)
 tenured generation   total 1408K, used 0K [0x4d880000, 0x4d9e0000, 0xbab00000)
   the space 1408K,   0% used [0x4d880000, 0x4d880000, 0x4d880200, 0x4d9e0000)
 compacting perm gen  total 4096K, used 822K [0xbab00000, 0xbaf00000, 0xbeb00000)
   the space 4096K,  20% used [0xbab00000, 0xbabcdb80, 0xbabcdc00, 0xbaf00000)

Local Time = Mon Oct 27 13:09:31 2003
Elapsed Time = 0
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
#
# An error report file has been saved as hs_err_pid15936.log.
# Please refer to the file for further information.
#
Aborted

Any other value of -Xmx causes either a NoSuchMethodError (because Frame has no main - for smaller Xmx) or a graceful error message and exit (for greater Xmx).

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -Xmx1891M java.awt.Frame

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
NoSuchMethodError: main
ACTUAL -
See above.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
See above.

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Use a smaller -Xmx.
(Incident Review ID: 217985) 
======================================================================
Work Around
N/A
Evaluation
This is a duplicate of 4779077
  xxxxx@xxxxx   2003-11-18
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang