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

StackOverflowError by recursion invocation in java.util.regex.Pattern

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7u75
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      FULL PRODUCT VERSION :
      JDK 1.7.0_75

      ADDITIONAL OS VERSION INFORMATION :
      MAC OS X 10.9 (13A603)

      A DESCRIPTION OF THE PROBLEM :
      Application crash on startup with jdk 1.7.0_75. And find follows error in logs.
      Same application works fine under jdk 1.8.*

      java.lang.StackOverflowError
      at java.util.regex.Pattern$Branch.match(Pattern.java:4498)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$LazyLoop.match(Pattern.java:4745)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$Curly.match1(Pattern.java:4185)
      at java.util.regex.Pattern$Curly.match(Pattern.java:4134)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$LazyLoop.match(Pattern.java:4745)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$Curly.match1(Pattern.java:4185)
      at java.util.regex.Pattern$Curly.match(Pattern.java:4134)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$LazyLoop.match(Pattern.java:4745)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$Curly.match1(Pattern.java:4185)
      at java.util.regex.Pattern$Curly.match(Pattern.java:4134)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$LazyLoop.match(Pattern.java:4745)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$Curly.match1(Pattern.java:4185)
      at java.util.regex.Pattern$Curly.match(Pattern.java:4134)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$LazyLoop.match(Pattern.java:4745)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$Curly.match1(Pattern.java:4185)
      at java.util.regex.Pattern$Curly.match(Pattern.java:4134)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$LazyLoop.match(Pattern.java:4745)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$Curly.match1(Pattern.java:4185)
      at java.util.regex.Pattern$Curly.match(Pattern.java:4134)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$LazyLoop.match(Pattern.java:4745)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$Curly.match1(Pattern.java:4185)
      at java.util.regex.Pattern$Curly.match(Pattern.java:4134)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$LazyLoop.match(Pattern.java:4745)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$Curly.match1(Pattern.java:4185)
      at java.util.regex.Pattern$Curly.match(Pattern.java:4134)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$LazyLoop.match(Pattern.java:4745)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
      at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466)
      at java.util.regex.Pattern$Curly.match1(Pattern.java:4185)
      at java.util.regex.Pattern$Curly.match(Pattern.java:4134)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
      at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556)
      at java.util.regex.Pattern$Branch.match(Pattern.java:4502)
       


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              igerasim Ivan Gerasimov
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: