JDK-4446677 : VM crash during debugging.
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 1.3.1,1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,solaris_2.3
  • CPU: generic,sparc
  • Submitted: 2001-04-17
  • Updated: 2022-06-01
  • Resolved: 2002-09-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 beta2Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
During debugging session (using JBuilder IDE) the VM crashed with the following message. I could not reproduce this consistently :

/usr/local/java/jdk1.3.1/solsparc/bin/java -classpath "/home/tram/rip/projects/corba_t/classes:/home/tram/rip/corba-ws/build/rename/ee/build/sparc/classes:/home/tram/rip/tests/hello/classes:/usr/local/java/jdk1.3.1/solsparc/jre/lib/sunrsasign.jar:/usr/local/java/jdk1.3.1/solsparc/jre/lib/rt.jar:/usr/local/java/jdk1.3.1/solsparc/jre/lib/i18n.jar:/usr/local/java/jdk1.3.1/solsparc/jre/lib/javaplugin.jar:/usr/local/java/jdk1.3.1/solsparc/lib/htmlconverter.jar:/usr/local/java/jdk1.3.1/solsparc/lib/tools.jar:/usr/local/java/jdk1.3.1/solsparc/lib/dt.jar:/usr/local/java/jdk1.3.1/solsparc/demo/jfc/Java2D/Java2Demo.jar"  -Dorg.omg.CORBA.ORBInitialPort=1050 -Djava.security.policy=/home/tram/rip/tests/hello/hello.policy -Dioser=/home/tram/rip/corba-ws/build/rename/ee/build/sparc/lib/sparc/libioser12.so -Djava.library.path=/home/tram/rip/corba-ws/build/rename/ee/build/sparc/lib/sparc -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=plydus:39289,suspend=y hello.HelloClient BasicTest
IOR of server is IOR:0000000000000021524d493a68656c6c6f2e48656c6c6f3a303030303030303030303030303030300000000000000001000000000000007000010100000000103132392e3134342e3235312e31363900997b000000000021afabcb0000000020fe3b63da0000000100000000000000000000000400000000030000000000000100000001000000200000000000010001000000020501000100010020000101090000000100010100
IOR of client is IOR:0000000000000021524d493a68656c6c6f2e48656c6c6f3a303030303030303030303030303030300000000000000001000000000000007000010100000000103132392e3134342e3235312e31363900997b000000000021afabcb0000000020fe3b63da0000000100000000000000000000000400000000030000000000000100000001000000200000000000010001000000020501000100010020000101090000000100010100
IOR of client is IOR:0000000000000021524d493a68656c6c6f2e48656c6c6f3a303030303030303030303030303030300000000000000001000000000000007000010200000000103132392e3134342e3235312e31363900996c000000000021afabcb0000000020fe36089c0000000100000000000000000000000400000001030000000000000100000001000000200000000000010001000000020501000100010020000101090000000100010100

Unexpected Signal : 11 occurred at PC=0xfe54f004
Function name=JVM_Close
Library=/usr/local/java/jdk1.3.1/solsparc/jre/lib/sparc/client/libjvm.so

Current Java thread:

Dynamic libraries:
0x10000 	/usr/local/java/jdk1.3.1/solsparc/bin/../bin/sparc/native_threads/java
0xff350000 	/usr/lib/libthread.so.1
0xff390000 	/usr/lib/libdl.so.1
0xff200000 	/usr/lib/libc.so.1
0xff330000 	/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
0xfe480000 	/usr/local/java/jdk1.3.1/solsparc/jre/lib/sparc/client/libjvm.so
0xff2d0000 	/usr/lib/libCrun.so.1
0xff1e0000 	/usr/lib/libsocket.so.1
0xff100000 	/usr/lib/libnsl.so.1
0xff0d0000 	/usr/lib/libm.so.1
0xff300000 	/usr/lib/libw.so.1
0xff0b0000 	/usr/lib/libmp.so.2
0xff080000 	/usr/local/java/jdk1.3.1/solsparc/jre/lib/sparc/native_threads/libhpi.so
0xff050000 	/usr/local/java/jdk1.3.1/solsparc/jre/lib/sparc/libverify.so
0xfe440000 	/usr/local/java/jdk1.3.1/solsparc/jre/lib/sparc/libjava.so
0xff020000 	/usr/local/java/jdk1.3.1/solsparc/jre/lib/sparc/libzip.so
0xfe240000 	/usr/local/java/jdk1.3.1/solsparc/bin/../jre/../lib/sparc/libjdwp.so
0xfe220000 	/usr/local/java/jdk1.3.1/solsparc/bin/../jre/../lib/sparc/libdt_socket.so
0xfe160000 	/usr/lib/nss_nis.so.1
0xfd3e0000 	/usr/local/java/jdk1.3.1/solsparc/jre/lib/sparc/libnet.so
0xfd3b0000 	/usr/local/java/jdk1.3.1/solsparc/jre/lib/sparc/libioser12.so
0xfd0d0000 	/home/tram/rip/dev-ws/build/rename/ee/build/sparc/lib/sparc/libioserEE_g.so

Local Time = Tue Apr 17 15:19:31 2001
Elapsed Time = 118
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002CC 01
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1-rc2-b22 interpreted mode)
#
# An error report file has been saved as hs_err_pid13970.log.
# Please refer to the file for further information.
#

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin-beta2 FIXED IN: merlin-beta2 INTEGRATED IN: merlin-beta2
14-06-2004

EVALUATION This bug is caused by the fact that the data structure pointed at by java.lang.Throwable.backtrace isn't a true java data structure. It contains an array of hotspot datatypes. When JPDA attempts to access this array as if it contained actual java objects, a null ptr exception occurs.
11-06-2004

WORK AROUND A workaround for the user of an IDE is to not attempt to display the contents of java.lang.Throwable.backtrace.
11-06-2004

SUGGESTED FIX One fix is to intercept accesses to this data structure and not attempt to access fields that aren't defined properly. ------------------------- Fixed in merlin-beta, build 75, hotspot files javaClasses.hpp and jvmdi_info.cpp. The fix filters out the reporting of java.lang.Throwable.backtrace thru jvmdi. james.holmlund@Eng 2001-08-02
02-08-2001