Skip to content

XUnitLogChecker: In OSX, no dumps are being found in the /cores directory #94720

@carlossanlop

Description

@carlossanlop

Examples from #93906:

At least one dump file should've been found, as the log says:

----- start =============== XUnitLogChecker Output ===========================================================================================================
/private/tmp/helix/working/A7DC0945/w/B17809AC/e /private/tmp/helix/working/A7DC0945/w/B17809AC/e
  Discovering: System.IO.Compression.Brotli.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.IO.Compression.Brotli.Tests (found 69 of 80 test cases)
  Starting:    System.IO.Compression.Brotli.Tests (parallel test collections = on, max threads = 6)
[createdump] Gathering state for process 30700 
[createdump] Crashing thread 34239a signal 11 (000b)
[createdump] Writing crash report to file /cores/coredump.30700.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /cores/coredump.30700.dmp
[createdump] Written 457769336 bytes (111760 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 2699ms
./RunTests.sh: line 174: 30700 Segmentation fault: 11  "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.IO.Compression.Brotli.Tests.runtimeconfig.json --depsfile System.IO.Compression.Brotli.Tests.deps.json xunit.console.dll System.IO.Compression.Brotli.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/private/tmp/helix/working/A7DC0945/w/B17809AC/e
----- end Mon Nov 13 22:12:18 PST 2023 ----- exit code 139 ----------------------------------------------------------
exit code 139 means SIGSEGV Illegal memory access. Deref invalid pointer, overrunning buffer, stack overflow etc. Core dumped.
ulimit -c value: 0
Unable to obtain kernel buffer: Operation not permitted
usage: sudo dmesg
Waiting a few seconds for any dump to be written...
usage: sleep seconds
----- start =============== XUnitLogChecker Output =====================================================
No dumps found in /cores.
No dumps found in /cores.
----- end =============== XUnitLogChecker Output - exit code 0 ===========================

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions