Skip to content

Test failure baseservices/exceptions/simple/ParallelCrash/ParallelCrash.sh #72755

Closed

Description

@VincentBu

Run: runtime-coreclr gcstress-extra 20220723.1

Failed test:

coreclr Linux x64 Checked gcstress0xc_jitminopts_heapverify1 @ Ubuntu.1804.Amd64.Open

- baseservices/exceptions/simple/ParallelCrash/ParallelCrash.sh

coreclr OSX arm64 Checked gcstress0xc_jitminopts_heapverify1 @ OSX.1200.ARM64.Open

- JIT/Methodical/Arrays/lcs/lcs2_d/lcs2_d.cmd

coreclr OSX arm64 Checked gcstress0xc_jitstress1 @ OSX.1200.ARM64.Open

- JIT/Methodical/Arrays/lcs/lcs2_r/lcs2_r.cmd

coreclr OSX arm64 Checked gcstress0xc_zapdisable_heapverify1 @ OSX.1200.ARM64.Open

- JIT/Methodical/Boxing/boxunbox/KeepAliveBoxOpt/KeepAliveBoxOpt.cmd

Error message:

Process terminated. Parallel crash in main thread
at System.Environment.FailFast(System.String)
at ParallelCrash.Main(System.String[])

cmdLine:/datadisks/disk1/work/AD4109E9/w/9F5508E7/e/baseservices/exceptions/simple/ParallelCrash/ParallelCrash.sh Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 7/24/2022 12:39:10 AM, end: 7/24/2022 2:09:10 AM)

Return code:      -100
Raw output file:      /datadisks/disk1/work/AD4109E9/w/9F5508E7/uploads/Reports/baseservices.exceptions/simple/ParallelCrash/ParallelCrash.output.txt
Raw output:
BEGIN EXECUTION
/datadisks/disk1/work/AD4109E9/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false ParallelCrash.dll ''
[createdump] Gathering state for process 14588 corerun
[createdump] Crashing thread 000038fc signal 00000006
[createdump] Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.14588.dmp
[createdump] Written 219791360 bytes (53660 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 1438ms

cmdLine:/datadisks/disk1/work/AD4109E9/w/9F5508E7/e/baseservices/exceptions/simple/ParallelCrash/ParallelCrash.sh Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 7/24/2022 12:39:10 AM, end: 7/24/2022 2:09:10 AM)
Test Harness Exitcode is : -100
To run the test:

set CORE_ROOT=/datadisks/disk1/work/AD4109E9/p
/datadisks/disk1/work/AD4109E9/w/9F5508E7/e/baseservices/exceptions/simple/ParallelCrash/ParallelCrash.sh
Expected: True
Actual:   False


Stack trace
   at baseservices_exceptions._simple_ParallelCra_ParallelCra_._simple_ParallelCrash_ParallelCrash_sh()
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Queued OS Arch Column1
2022-07-24T00:09:19.457Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr gcstress-extra Checked-gcstress0xc_jitminopts_heapverify1
2022-07-17T14:50:14.532Z ubuntu.1804.armarch.open arm64 runtime-coreclr gcstress0x3-gcstress0xc Checked-gcstress0xc
2022-07-10T11:00:50.23Z osx.1200.arm64.open arm64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
2022-06-26T05:34:58.745Z osx.1200.arm64.open arm64 runtime-coreclr r2r-extra Checked-gcstress0xc
2022-06-19T14:53:47.255Z ubuntu.1804.armarch.open arm64 runtime-coreclr gcstress0x3-gcstress0xc Checked-gcstress0xc
2022-06-18T23:07:33.226Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr gcstress-extra Checked-gcstress0xc_zapdisable_heapverify1
2022-05-29T14:55:06.304Z ubuntu.1804.armarch.open arm runtime-coreclr gcstress0x3-gcstress0xc Checked-gcstress0xc
2022-06-12T08:37:37.57Z osx.1200.arm64.open arm64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_zapdisable_jitstress2
2022-05-29T00:10:21.895Z osx.1200.arm64.open arm64 runtime-coreclr gcstress-extra Checked-gcstress0xc_jitminopts_heapverify1

Activity

  1. added
    os-linux
    os-macos
    blocking-clean-ci-optional
    on Jul 25, 2022
  2. ghost added
    untriaged
    on Jul 25, 2022
  3. removed
    untriaged
    on Jul 30, 2022
  4. added this to the 7.0.0 milestone on Jul 30, 2022
  5. VincentBu commented on Aug 2, 2022

    @VincentBu
    ContributorAuthor

    Failed again in: runtime-coreclr gcstress-extra 20220731.1

    Failed Test:

    coreclr Linux arm64 Checked gcstress0xc_jitstress2 @ (Ubuntu.1804.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-20210531091519-97d8652
    
    - baseservices/exceptions/simple/ParallelCrash/ParallelCrash.sh
    

    Error message:

    Process terminated. Parallel crash in main thread
    at System.Environment.FailFast(System.String)
    at ParallelCrash.Main(System.String[])
    apply_reg_state: ip and cfa unchanged; stopping here (ip=0x7f7b5e5b68)
    
    cmdLine:/root/helix/work/workitem/e/baseservices/exceptions/simple/ParallelCrash/ParallelCrash.sh Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 8/1/2022 12:40:15 AM, end: 8/1/2022 2:10:15 AM)
    
    Return code:      -100
    Raw output file:      /root/helix/work/workitem/uploads/Reports/baseservices.exceptions/simple/ParallelCrash/ParallelCrash.output.txt
    Raw output:
    BEGIN EXECUTION
    /root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false ParallelCrash.dll ''
    [createdump] Gathering state for process 1758 corerun
    [createdump] Crashing thread 000006de signal 00000006
    [createdump] Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.1758.dmp
    [createdump] Written 219217920 bytes (53520 pages) to core file
    [createdump] Target process is alive
    [createdump] Dump successfully written in 3569ms
    
    cmdLine:/root/helix/work/workitem/e/baseservices/exceptions/simple/ParallelCrash/ParallelCrash.sh Timed Out (timeout in milliseconds: 5400000 from variable __TestTimeout, start: 8/1/2022 12:40:15 AM, end: 8/1/2022 2:10:15 AM)
    Test Harness Exitcode is : -100
    To run the test:
    
    set CORE_ROOT=/root/helix/work/correlation
    /root/helix/work/workitem/e/baseservices/exceptions/simple/ParallelCrash/ParallelCrash.sh
    Expected: True
    Actual:   False
    
    
    Stack trace
       at baseservices_exceptions._simple_ParallelCra_ParallelCra_._simple_ParallelCrash_ParallelCrash_sh()
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
    
  6. VincentBu commented on Aug 2, 2022

    @VincentBu
    ContributorAuthor
    Queued OS Arch Column1
    2022-08-01T10:39:41.436Z osx.1200.arm64.open arm64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
    2022-08-01T00:31:13.607Z ubuntu.1804.armarch.open arm64 runtime-coreclr gcstress-extra Checked-gcstress0xc_jitstress2
    2022-07-24T00:09:19.457Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr gcstress-extra Checked-gcstress0xc_jitminopts_heapverify1
    2022-07-17T14:50:14.532Z ubuntu.1804.armarch.open arm64 runtime-coreclr gcstress0x3-gcstress0xc Checked-gcstress0xc
    2022-07-10T11:00:50.23Z osx.1200.arm64.open arm64 runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_jitminopts_heapverify1
    2022-06-26T05:34:58.745Z osx.1200.arm64.open arm64 runtime-coreclr r2r-extra Checked-gcstress0xc
    2022-06-19T14:53:47.255Z ubuntu.1804.armarch.open arm64 runtime-coreclr gcstress0x3-gcstress0xc Checked-gcstress0xc
    2022-06-18T23:07:33.226Z ubuntu.1804.amd64.open.rt x64 runtime-coreclr gcstress-extra Checked-gcstress0xc_zapdisable_heapverify1
  7. AntonLapounov commented on Aug 7, 2022

    @AntonLapounov
    Contributor

    @mikem8361 This test intentionally crashes and then it seems to hang on the close(parent_pipe); line in the PROCCreateCrashDump function. That line was added in #69663. Could you please take a look?

    libpthread_2_27+0x11d5c
    libcoreclr!PROCCreateCrashDump+0x338 [/__w/1/s/src/coreclr/pal/src/thread/process.cpp @ 2460] 
    libcoreclr!PROCCreateCrashDumpIfEnabled+0x5d0 [/__w/1/s/src/coreclr/pal/src/thread/process.cpp @ 2637] 
    libcoreclr!PROCAbort+0x20 [/__w/1/s/src/coreclr/pal/src/thread/process.cpp @ 2664] 
    libcoreclr!PROCEndProcess+0x304 [/__w/1/s/src/coreclr/pal/src/thread/process.cpp @ 1346] 
    libcoreclr!TerminateProcess+0x90 [/__w/1/s/src/coreclr/pal/src/thread/process.cpp @ 1241] 
    libcoreclr!SafeExitProcess+0x180
    libcoreclr!EEPolicy::HandleFatalError+0x190 [/__w/1/s/src/coreclr/vm/eepolicy.cpp @ 797] 
    libcoreclr!SystemNative::GenericFailFast+0x334 [/__w/1/s/src/coreclr/classlibnative/bcltype/system.cpp @ 291] 
    libcoreclr!SystemNative::FailFast+0x10c [/__w/1/s/src/coreclr/classlibnative/bcltype/system.cpp @ 310] 
    
  8. 11 remaining items

  9. hoyosjs commented on Aug 9, 2022

    @hoyosjs
    Member

    Mike, I see this in an old log:

    Process terminated. Parallel crash in main thread
       at System.Environment.FailFast(System.String)
       at ParallelCrash.Main(System.String[])
    apply_reg_state: ip and cfa unchanged; stopping here (ip=0x7fa6a5a538)
    

    Looks like it comes from libunwind.

  10. mikem8361 commented on Aug 12, 2022

    @mikem8361
    Contributor

    How can I see more recent failures (with a runtime with my new logging) with this test?

  11. tommcdon commented on Aug 12, 2022

    @tommcdon
    Member

    How can I see more recent failures (with a runtime with my new logging) with this test?

    Here's a runfo query that should provide the latest failures: https://runfo.azurewebsites.net/search/tests/?q=started%3A%7E7+definition%3A662+name%3AParallelCrash.sh. You can change the timeframe by altering "started" to filter within a specific date range.

  12. hoyosjs commented on Aug 12, 2022

    @hoyosjs
    Member

    According to kusto, last failure was 2022-08-07T08:53:38.06Z, so nothing since your PR went in.

  13. AntonLapounov commented on Aug 13, 2022

    @AntonLapounov
    Contributor

    Very likely a duplicate of #57621. Please reopen if you hit this again.

  14. AntonLapounov commented on Aug 13, 2022

    @AntonLapounov
    Contributor

    Reopening, I did not check dates properly.

  15. hoyosjs commented on Aug 15, 2022

    @hoyosjs
    Member

    This hasn't reproed since 8/7; moving to future until we have something to make it actionable.

  16. modified the milestones: 7.0.0, Future on Aug 15, 2022
  17. tommcdon commented on Aug 30, 2022

    @tommcdon
    Member

    ParallelCrash - no failures in the last 3 weeks, closing.

  18. ghost locked as resolved and limited conversation to collaborators on Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GCStressarch-arm64arch-x64area-Diagnostics-coreclrblocking-clean-ci-optionalos-linuxos-macos

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions