JDK-6415362 : Reg: pressing "v" in Java Console crashes in jvm.dll
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 5.0u7
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-04-19
  • Updated: 2010-12-06
  • Resolved: 2006-04-25
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 JDK 6
5.0u7 b03Fixed 6Fixed
Description
To reproduce the problem:
- install JRE 5.0u7 b02 on a windows XP machine
- start the IE browser
- open Java Console from the IE's "Tools" menu
- pressing the "v" option to get Java thread dump at the Java Concole
IE crashes.

I"ve tried using the jvm.dll from 5.0u6 on JRE 5.0u7 and couldn't reproduce the crash. So the problem has been introduced in 5.0u7. Note that deployment team did not change the jpishare.dll in 5.0u7.

Using the jvm.pdb, I've collected a native stack trace as follows:
 	ntdll.dll!7c911e58() 	
 	ntdll.dll!7c918251() 	
 	ntdll.dll!7c911c76() 	
 	ntdll.dll!7c91056d() 	
 	ntdll.dll!7c9105c8() 	
>	jvm.dll!outputStream::print_cr(const char * format=0x05d76740, ...)  Line 103	C++
 	jvm.dll!GenerateOopMap::ppush1(CellTypeState in={...})  Line 1683	C++
 	ntdll.dll!7c9106eb() 	
 	ntdll.dll!7c91056d() 	
 	msvcrt.dll!77c2c2de() 	
 	kernel32.dll!7c839001() 	
 	ntdll.dll!7c9105c8() 	
 	ntdll.dll!7c910551() 	
 	ntdll.dll!7c91056d() 	
 	jvm.dll!jio_vfprintf(_iobuf * f=0x77c5fca0, const char * fmt=0x6d803b5c, char * args=0x00030178)  Line 2246	C++
 	jvm.dll!jio_fprintf(_iobuf * f=0x00030000, const char * fmt=0x00000000, ...)  Line 2230 + 0x12	C++
 	msvcrt.dll!77c2c3c9() 	
 	msvcrt.dll!77c2c3e7() 	
 	msvcrt.dll!77c2c42e() 	
 	jpishare.dll!CJavaJNI::print_to_console(_iobuf * fp=0x77c5fca0, const char * format=0x6d803b5c, char * args=0x000001de)  Line 1431 + 0xa	C++
 	jvm.dll!jio_vfprintf(_iobuf * f=0x77c5fca0, const char * fmt=0x6d803b5c, char * args=0x035af644)  Line 2246	C++
 	jvm.dll!jio_fprintf(_iobuf * f=0x77c5fca0, const char * fmt=0x6d803b5c, ...)  Line 2230 + 0x12	C++
 	jvm.dll!jio_print(const char * s=0x6d816344)  Line 2263 + 0x21	C++
 	jvm.dll!defaultStream::write(const char * s=0x6d816344, unsigned int len=17)  Line 487	C++
 	jvm.dll!outputStream::print(const char * format=0x6d816344, ...)  Line 93	C++
 	jvm.dll!OSThread::print()  Line 38 + 0x10	C++
 	jvm.dll!Thread::print()  Line 685 + 0xe	C++
 	jvm.dll!JavaThread::print()  Line 2329	C++
 	jvm.dll!Threads::print(int print_stacks=1, int internal_format=0)  Line 3548	C++
 	jvm.dll!VM_PrintThreads::doit()  Line 289 + 0x9	C++
 	jvm.dll!VM_Operation::evaluate()  Line 32	C++
 	jvm.dll!VMThread::evaluate_operation(VM_Operation * op=0x066ff434)  Line 282	C++
 	jvm.dll!VMThread::loop()  Line 377	C++
 	jvm.dll!VMThread::run()  Line 200	C++
 	jvm.dll!_start(Thread * thread=0x00039500)  Line 305 + 0x8	C++
 	msvcrt.dll!77c3a3b0() 	
 	kernel32.dll!7c80b50b() 	
 	kernel32.dll!7c8399f3()

Comments
EVALUATION Will fix this in 5.0u8 b01.
19-04-2006