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

JDWP: ClassType.NewInstance with incorrect list of arguments for constructor causes JVM to crash

XMLWordPrintable

    • generic
    • generic

      JDWP command ClassType.NewInstance with incorrect list of arguments for constructor causes
      both product and fastdebug JVM to crash with SIGSEGV:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0649581d, pid=13200, tid=3085101968
      #
      # Java VM: Java HotSpot(TM) Client VM (13.0-b02-fastdebug mixed mode linux-x86 )
      # Problematic frame:
      # V [libjvm.so+0x49581d]
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #

      --------------- T H R E A D ---------------

      Current thread (0x08068000): JavaThread "main" [_thread_in_vm, id=13203, stack(0xb7dde000,0xb7e2f000)]

      siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000;;

      Registers:
      EAX=0x00000000, EBX=0x000000a9, ECX=0xb7e2dab8, EDX=0xb7e2dbb8
      ESP=0xb7e2da1c, EBP=0xb7e2da20, ESI=0x00000000, EDI=0xb7e2dbb8
      EIP=0x0649581d, CR2=0x00000000, EFLAGS=0x00010292

      Top of Stack: (sp=0xb7e2da1c)
      0xb7e2da1c: 000000a9 b7e2da50 0649593e b7e2dbb8
      0xb7e2da2c: 08068000 b1db2140 08068000 00000001
      0xb7e2da3c: b7facd31 00000001 068d4aa8 0000000b
      0xb7e2da4c: b7e2dbb8 b7e2db80 06493169 b7e2dbb8
      0xb7e2da5c: 0000153c 00000000 00000001 00000000
      0xb7e2da6c: 0806889c b7e2db20 00000002 010f362c
      0xb7e2da7c: 0806889c b7e2dac0 08068898 068ccfe8
      0xb7e2da8c: b7facd31 080688a0 00000000 00000000


      The failure is reproduced at least with latest 6u6, 6u10, jdk7, both product and fastdebug bits.

            Unassigned Unassigned
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: