JDK-4693620 : Tomcat http servet crashed when try to debugging JSP
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 1.0,1.4.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2002-05-30
  • Updated: 2002-11-13
  • Resolved: 2002-11-13
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.2 mantisFixed
Related Reports
Relates :  
Description
start"FATAL ERROR in native method: JDWP"util.c"(Feb  7 2002), 
line 1156: Unexpected error, error code = 113 
(JVMDI_ERROR_INTERNAL)




Steps to reproduce:
1. Create and compile JSP file. Do not add any breakpoint.
2. Start debugging process by pressing menu Debug->Start.
3. When browser loaded jsp, press refresh button on 
browser. 
4. Press Refresh buttong on browser 10-20 times. 

Expected result: tomcat servlet do not crashed and browser 
correctly display jsp.

Actual result: tomcat server crashed. several outputs:
1st output:
========================================================
Starting service Tomcat-Netbeans
Apache Tomcat/4.0.1
C:\J2SDK1.4.0\JRE\..\bin\java  -Xdebug -Xnoagent -
Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=115
55 -classpath"C:\FFJ-RC5.W98\tomcat401\bin\bootstrap.jar";"C:\J2SDK1.4.0\JRE\..\lib\tools.jar"-
Dcatalina.home="C:\FFJ-RC5.W98\tomcat401"-
Dcatalina.base="c:\ffjuser\tomcat401_base"org.apache.catalina.startup.Bootstrap"start"FATAL ERROR in native method: JDWP"util.c"(Feb  7 2002), 
line 1156: Unexpected error, error code = 113 
(JVMDI_ERROR_INTERNAL)
========================================================

2nd output:
========================================================
C:\J2SDK1.4.0\JRE\..\bin\java  -Xdebug -Xnoagent -
Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=115
55 -classpath"C:\FFJ-RC5.W98\tomcat401\bin\bootstrap.jar";"C:\J2SDK1.4.0\JRE\..\lib\tools.jar"-
Dcatalina.home="C:\FFJ-RC5.W98\tomcat401"-
Dcatalina.base="c:\ffjuser\tomcat401_base"org.apache.catalina.startup.Bootstrap"start"Starting service Tomcat-Netbeans
Apache Tomcat/4.0.1
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed 
mode)
#
# Error ID: 5052455345525645255843455054494F4E0E435050001B
#
# Problematic Thread: prio=5 tid=0x00719160 nid=0xfffd8b5d 
runnable 
#
========================================================

Well reproduced under W98, W2K, RH Linux 7.2 with FFJ 4.0 
rc5

P.S. When i try to execute(!not debug!) jsp and press 10-
20 times refresh button, tomcatdonot crashed.

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

PUBLIC COMMENTS .
2004-06-10

SUGGESTED FIX ###@###.### 2002-10-24 See 4755938 for the fix.
2002-10-24

EVALUATION The error msg in the description comes from this code in jmdi::RawMonitorWait if (JvmdiInternal::catch_exception(r, THREAD) JVMDI_RETURN(JVMDI_ERROR_INTERNAL) This is called from debugMonitorWait in util.c. ----- The errorID is PreserveExceptionMark destructor expects no pending exceptions. See also 4755938. It is a duplicate. ###@###.### 2002-10-10 ###@###.### 2002-10-23 See 4755938 for the complete evaluation.
2002-10-10