Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6475220

sun.awt.windows.WTextComponentPeer.getText() crashes JVM on Windows

XMLWordPrintable

    • x86
    • windows_xp

      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.

            vkulkarnsunw Vaibhav Kulkarni (Inactive)
            thlenz Thomas Lenz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: