JDK-6475220 : sun.awt.windows.WTextComponentPeer.getText() crashes JVM on Windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 5.0u8
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-09-26
  • Updated: 2014-02-27
  • Resolved: 2007-03-14
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
5.0u8Resolved
Related Reports
Duplicate :  
Relates :  
Description
Customer's application crashes with following characteristics:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=192, tid=492
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode, sharing)
# Problematic frame:
# C  0x00000000
#

[ ... ]

Stack: [0x03590000,0x035d0000),  sp=0x035cf568,  free space=253k
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.awt.windows.WTextComponentPeer.getText()Ljava/lang/String;+0
j  java.awt.TextComponent.getText()Ljava/lang/String;+14
j  hob.te.dyn.DlgPromptUser.getUserText()Ljava/lang/String;+4
v  ~StubRoutines::call_stub
j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
j  hob.te.Macro.doPromptUser([Ljava/lang/String;)Z+227
j  hob.te.Macro.execMcrCmd(Ljava/lang/String;)Z+341
j  hob.te.Macro.run()V+72
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

[ ... ]

The problem can be quite easily reproduced.
Please find testcase attached.