Skip to content

libraries-jitstress-random assert failed (igInLoop->igLoopBackEdge == nullptr) || (igInLoop->igLoopBackEdge == igLoopHeader) #79986

Closed

Description

@BrianBohe

Pipeline: runtime-coreclr libraries-jitstress-random

Job: Libraries test run linux arm 64 Release

Env vars:

  • export DOTNET_TieredCompilation=0
  • export DOTNET_DbgEnableMiniDump=1
  • export DOTNET_DbgMiniDumpName=$HELIX_DUMP_FOLDER/coredump.%d.dmp
  • export DOTNET_JitStress=148

Error:

----- start Sat Dec 24 18:46:23 UTC 2022 =============== To repro directly: =====================================================
pushd .
/root/helix/work/correlation/dotnet exec --runtimeconfig System.Data.Common.Tests.runtimeconfig.json --depsfile System.Data.Common.Tests.deps.json xunit.console.dll System.Data.Common.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
popd
===========================================================================================================
/root/helix/work/workitem/e /root/helix/work/workitem/e
  Discovering: System.Data.Common.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Data.Common.Tests (found 1818 of 1820 test cases)
  Starting:    System.Data.Common.Tests (parallel test collections = on, max threads = 4)

Assert failure(PID 27 [0x0000001b], Thread: 43 [0x002b]): Assertion failed '(igInLoop->igLoopBackEdge == nullptr) || (igInLoop->igLoopBackEdge == igLoopHeader)' in 'System.Data.SqlTypes.SqlDecimal:MpDiv(System.ReadOnlySpan`1[uint],int,System.Span`1[uint],int,System.Span`1[uint],byref,System.Span`1[uint],byref)' during 'Generate code' (IL size 993; hash 0xa9c408c9; FullOpts)

    File: /__w/1/s/src/coreclr/jit/emit.cpp Line: 5385
    Image: /root/helix/work/correlation/dotnet

[createdump] Gathering state for process 27 dotnet
[createdump] Crashing thread 0000002b signal 00000006
apply_reg_state: ip and cfa unchanged; stopping here (ip=0x7f9bfd741c)
apply_reg_state: ip and cfa unchanged; stopping here (ip=0x7f9bfe21d8)
apply_reg_state: ip and cfa unchanged; stopping here (ip=0x7f9bfe21d8)
[createdump] Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.27.dmp
[createdump] Written 141262848 bytes (34488 pages) to core file
[createdump] Target process is alive
[createdump] waitpid() returned successfully (wstatus 00000000)
[createdump] Dump successfully written in 42183ms
./RunTests.sh: line 168:    27 Aborted                 (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Data.Common.Tests.runtimeconfig.json --depsfile System.Data.Common.Tests.deps.json xunit.console.dll System.Data.Common.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/root/helix/work/workitem/e
----- end Sat Dec 24 18:47:42 UTC 2022 ----- exit code 134 ----------------------------------------------------------

Full error log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-c4772b058e14414797/System.Data.Common.Tests/1/console.e97ee6e4.log?helixlogtype=result

Seems similar to 70152

Activity

  1. ghost added
    area-CodeGen-coreclr
    on Dec 27, 2022
  2. ghost added
    untriaged
    on Dec 27, 2022
  3. self-assigned this
    on Dec 27, 2022
  4. kunalspathak commented on Dec 27, 2022

    @kunalspathak
    Contributor

    I will take a look.

  5. added
    blocking-clean-ci-optional
    on Dec 27, 2022
  6. removed
    untriaged
    on Dec 27, 2022
  7. added this to the 8.0.0 milestone on Dec 27, 2022
  8. kunalspathak commented on Jan 31, 2023

    @kunalspathak
    Contributor

    I am no longer able to repro the issue on latest main

    I have no name!@random_GUID:~/testuser/helix/79986/work_items$ printenv | grep DOTNET
    DOTNET_TieredCompilation=0
    DOTNET_JitDisasmSummary=1
    DOTNET_DbgEnableMiniDump=1
    DOTNET_JitStress=148
    
    I have no name!@random_GUID:~/testuser/helix/79986/work_items$ ./RunTests.sh --runtime-path ../CORE_ROOT/ | grep MpDiv
    6042: JIT compiled System.Data.SqlTypes.SqlDecimal:MpDiv(System.ReadOnlySpan`1[uint],int,System.Span`1[uint],int,System.Span`1[uint],byref,System.Span`1[uint],byref) [FullOpts, IL size=993, code size=1778, hash=0xa9c408c9 JitStress]
    
    I have no name!@random_GUID:~/testuser/helix/79986/work_items$ unset DOTNET_JitDisasmSummary
    
    I have no name!@random_GUID:~/testuser/helix/79986/work_items$ ./RunTests.sh --runtime-path ../CORE_ROOT/ 
    ----- start Tue Jan 31 18:37:23 UTC 2023 =============== To repro directly: =====================================================
    pushd .
    ../CORE_ROOT//dotnet exec --runtimeconfig System.Data.Common.Tests.runtimeconfig.json --depsfile System.Data.Common.Tests.deps.json xunit.console.dll System.Data.Common.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
    popd
    ===========================================================================================================
    ~/testuser/helix/79986/work_items ~/testuser/helix/79986/work_items
      Discovering: System.Data.Common.Tests (method display = ClassAndMethod, method display options = None)
      Discovered:  System.Data.Common.Tests (found 1818 of 1820 test cases)
      Starting:    System.Data.Common.Tests (parallel test collections = on, max threads = 4)
        System.Data.SqlTypes.Tests.SqlStringSortingTest.SqlStringValidComparisonTest(cultureName: "ja-JP", localeId: 1041) [SKIP]
          PlatformDetection.IsIcuGlobalization and cultureName == ja-JP
      Finished:    System.Data.Common.Tests
    === TEST EXECUTION SUMMARY ===
       System.Data.Common.Tests  Total: 11724, Errors: 0, Failed: 0, Skipped: 1, Time: 56.205s
    ~/testuser/helix/79986/work_items
    ----- end Tue Jan 31 18:38:35 UTC 2023 ----- exit code 0 ----------------------------------------------------------
    exit code 0 means Exited Successfully
    I have no name!@random_GUID:~/testuser/helix/79986/work_items$ 
  9. ghost locked as resolved and limited conversation to collaborators on Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrblocking-clean-ci-optional

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions