JDK-4450810 : java -version gave assertion on Redhat 7 machine.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_2.4
  • CPU: x86
  • Submitted: 2001-04-25
  • Updated: 2001-05-02
  • Resolved: 2001-05-02
Related Reports
Duplicate :  
Description
When running "java -version"on Redhat 7 machine, I hit following assertion
in either client & server VM. It passed on all Redhat 6.2 machine.

$ uname -a
Linux roborooter 2.4.1-0.1.9smp #1 SMP Wed Feb 14 21:52:02 EST 2001 i686 unknown

$ /net/jdk/export/disk8/local.java/jdk1.4/linux-i386/bin/java_g -version
#
# HotSpot Virtual Machine Error, assertion failure
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# assert(thread != __null, "just checking")
#
# Error ID: /usr/re/hotspot/hotspot1.4/ws/build/linux/../../src/share/vm/runtime/thread.hpp, 282
#
# Problematic Thread: [error occured during error reporting]
Unexpected Signal: 11, PC: 0x403c89a2
An error has just occurred, do you want to debug the problem?


Unexpected Signal : 11 occurred at PC=0x403C89A2
Function=osthread__C6Thread+0x6
Library=/.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/i386/client/libjvm_g.so

Cannot obtain thread information

Dynamic libraries:
08048000-08051000 r-xp 00000000 00:be 2365920    /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/bin/i386/native_threads/java_g
08051000-08053000 rw-p 00008000 00:be 2365920    /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/bin/i386/native_threads/java_g
40000000-40015000 r-xp 00000000 03:01 252048     /lib/ld-2.2.2.so
40015000-40017000 rw-p 00014000 03:01 252048     /lib/ld-2.2.2.so
40017000-40021000 r-xp 00000000 00:be 1143203    /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/i386/native_threads/libhpi_g.so
40021000-40022000 rw-p 00009000 00:be 1143203    /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/i386/native_threads/libhpi_g.so
4002c000-40039000 r-xp 00000000 03:01 252091     /lib/libpthread-0.9.so
40039000-40041000 rw-p 0000c000 03:01 252091     /lib/libpthread-0.9.so
40041000-40543000 r-xp 00000000 00:be 1573051    /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/i386/client/libjvm_g.so
40543000-41755000 rw-p 00501000 00:be 1573051    /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/i386/client/libjvm_g.so
417ac000-417af000 r-xp 00000000 03:01 252059     /lib/libdl-2.2.2.so
417af000-417b0000 rw-p 00002000 03:01 252059     /lib/libdl-2.2.2.so
417b0000-418d2000 r-xp 00000000 03:01 252055     /lib/libc-2.2.2.so
418d2000-418d7000 rw-p 00121000 03:01 252055     /lib/libc-2.2.2.so
418db000-418ee000 r-xp 00000000 03:01 252064     /lib/libnsl-2.2.2.so
418ee000-418ef000 rw-p 00012000 03:01 252064     /lib/libnsl-2.2.2.so
418f1000-41925000 r-xp 00000000 03:01 330798     /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
41925000-41931000 rw-p 00033000 03:01 330798     /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
41933000-41953000 r-xp 00000000 03:01 252061     /lib/libm-2.2.2.so
41953000-41954000 rw-p 0001f000 03:01 252061     /lib/libm-2.2.2.so
41954000-4196a000 r-xp 00000000 00:be 829965     /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/i386/libverify_g.so
4196a000-4196d000 rw-p 00015000 00:be 829965     /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/i386/libverify_g.so
4196d000-41993000 r-xp 00000000 00:be 829966     /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/i386/libjava_g.so
41993000-41996000 rw-p 00025000 00:be 829966     /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/i386/libjava_g.so
41997000-419ab000 r-xp 00000000 00:be 829967     /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/i386/libzip_g.so
419ab000-419ae000 rw-p 00013000 00:be 829967     /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/i386/libzip_g.so
419ae000-42e1c000 r--s 00000000 00:be 571785     /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/rt.jar
42e5b000-4314e000 r--s 00000000 00:be 571938     /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/i18n.jar
4314e000-43163000 r--s 00000000 00:be 571773     /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/sunrsasign.jar
43163000-431dd000 r--s 00000000 00:be 571775     /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/jsse.jar
431dd000-431ef000 r--s 00000000 00:be 571774     /.automount/jdk/root/export/disk8/local.java/jdk1.4/linux-i386/jre/lib/jce.jar

Local Time = Wed Apr 25 15:36:52 2001
Elapsed Time = 31
#
# HotSpot Virtual Machine Error : 11
# Error ID : /usr/re/hotspot/hotspot1.4/ws/build/linux/../../src/share/vm/runtime/os.cpp, 729
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-beta-b61-debug mixed mode)
#
# An error report file has been saved as /tmp/hs_err_pid2114.log.
# Please refer to the file for further information.
#
Current thread is 0x402

Comments
EVALUATION This is the same Redhat 7.1 bug (see 4415774 and 4447270). The submitter has confirmed the problem is solved after installing 7.1FCS and applying the suggested workaround in 4447270. The complete fix is in both Ladybird and Merlin hotspot workspace, but it's not in promoted Merlin builds yet (today's promotion b63 does not have it either). hui.huang@Eng 2001-05-02
02-05-2001