Skip to content

OOME in RegexIgnoreCaseTests.Unicode_IgnoreCase_Tests on osx-arm64 #68545

Closed

Description

@am11

console logs: https://helix.dot.net/api/2019-06-17/jobs/52f72296-9fe2-4b47-b578-43af71d24964/workitems/System.Text.RegularExpressions.Tests/console

noticed in PR: #68541

/private/tmp/helix/working/A2C008CC/w/AF78093A/e /private/tmp/helix/working/A2C008CC/w/AF78093A/e
  Discovering: System.Text.RegularExpressions.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Text.RegularExpressions.Tests (found 25 of 313 test cases)
  Starting:    System.Text.RegularExpressions.Tests (parallel test collections = on, max threads = 8)
    System.Text.RegularExpressions.Tests.RegexIgnoreCaseTests.Unicode_IgnoreCase_Tests(engine: Compiled, culture: "tr-TR", options: None) [FAIL]
      System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown.
      Stack Trace:
           at Regex9773_TryFindNextPossibleStartingPosition(RegexRunner, ReadOnlySpan`1)
           at Regex9773_Scan(RegexRunner, ReadOnlySpan`1)
           at System.Text.RegularExpressions.CompiledRegexRunner.Scan(ReadOnlySpan`1 text)
           at System.Text.RegularExpressions.Regex.ScanInternal(RegexRunnerMode mode, Boolean reuseMatchObject, String input, Int32 beginning, RegexRunner runner, ReadOnlySpan`1 span, Boolean returnNullIfReuseMatchObject)
           at System.Text.RegularExpressions.Regex.RunSingleMatch(RegexRunnerMode mode, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
           at System.Text.RegularExpressions.Regex.IsMatch(String input)
           at System.Text.RegularExpressions.Tests.RegexIgnoreCaseTests.<>c__DisplayClass9_0.<<Unicode_IgnoreCase_Tests>g__ValidateMatch|0>d.MoveNext()
        --- End of stack trace from previous location ---
           at System.Text.RegularExpressions.Tests.RegexIgnoreCaseTests.Unicode_IgnoreCase_Tests(RegexEngine engine, String culture, RegexOptions options)
        --- End of stack trace from previous location ---
  Finished:    System.Text.RegularExpressions.Tests
=== TEST EXECUTION SUMMARY ===
   System.Text.RegularExpressions.Tests  Total: 862, Errors: 0, Failed: 1, Skipped: 0, Time: 216.093s
/private/tmp/helix/working/A2C008CC/w/AF78093A/e
----- end Tue Apr 26 04:21:22 PDT 2022 ----- exit code 1 ----------------------------------------------------------

Activity

  1. ghost added
    untriaged
    on Apr 26, 2022
  2. joperezr commented on May 4, 2022

    @joperezr
    Member

    Closing as a dupe of #67793

  3. ghost removed
    untriaged
    on May 4, 2022
  4. ghost locked as resolved and limited conversation to collaborators on Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions