United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4693620 : Tomcat http servet crashed when try to debugging JSP

Details
Type:
Bug
Submit Date:
2002-05-30
Status:
Resolved
Updated Date:
2002-11-13
Project Name:
JDK
Resolved Date:
2002-11-13
Component:
core-svc
OS:
windows_2000
Sub-Component:
debugger
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
1.0,1.4.0
Fixed Versions:
1.4.2 (mantis)

Related Reports
Relates:

Sub Tasks

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



Hardware and Software, Engineered to Work Together