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

HotSpot segfaults if given -XX options with an empty string argument

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs14, 6u11
    • Fix Version/s: hs14
    • Component/s: hotspot
    • Subcomponent:
    • Introduced In Build:
      b07
    • Introduced In Version:
    • Resolved In Build:
      b06
    • CPU:
      generic, x86
    • OS:
      generic, solaris_2.5.1
    • Verification:
      Verified

      Backports

        Description

        There's a regression in the argument parsing code
        of the HotSpot which leads to a segmentation fault if an -XX option
        with an empty string argument (e.g. -XX:SyncKnobs= or
        -XX:SyncKnobs="") is given on the command line.

        The regression must have appeared somewhere in HS 11, because Java
        1.6.0_06 (which contains HS 10.0_b22) doesn't show the problem while
        both Java 1.6.0_10 (HS 11.0_b11) and Java 1.7.0-ea-b24 (HS 12.0_b01)
        as well as the latest OpenJDK snapshot (Rev. 292 with tag jdk7-b34)
        are affected.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kamg Keith Mcguigan
                  Reporter:
                  rasbold Chuck Rasbold
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: