Skip to content

APP_CRASH SIGABRT during coreclr_initialize on tvOS device (vm_map_enter allocation failure) #123396

@matouskozak

Description

@matouskozak

Note: This issue was automatically generated by AI-Test-Triage. Please review and triage accordingly.

Build Information

Build: 20260118.2, 20260119.1, 20260119.4, 20260120.1, 20260120.8

Build error leg or test failing: baseservices.WorkItemExecution, threading_group2.WorkItemExecution, threading_group1.WorkItemExecution, baseservices-exceptions.WorkItemExecution

Affected CI jobs: build_tvos_arm64_Release_AllSubsets_CoreCLR_RuntimeTests

Causing Commit Range Information

Commit range: {TODO: Insert commit range or link to changes}

Summary

  • Application crashes with EXC_CRASH (SIGABRT) during CoreCLR startup (coreclr_initialize); XHarness exits with code 80.
  • Failures occur on tvOS devices run via mlaunch/XHarness in build_tvos_arm64_Release_AllSubsets_CoreCLR_RuntimeTests; no test results produced.
  • Crash reports consistently show a kernel VM allocation failure: mach_vm_allocate_kernel failed within vm_map_enter (ktriage arg=0x3).
  • Device-side file retrieval failures observed when collecting results (e.g., 'Failed to retrieve file node', CoreDeviceError 7000 copying test-results.xml), indicating crash before results were written.

Failure Statistics

Note: These statistics are based on the configured time range and might not reflect the full history of the failure.

  • Occurrence Count: 12
  • First Failure: 2026-01-19 01:01:59 UTC
  • Last Failure: 2026-01-21 03:02:39 UTC

Work Items

Showing 10 most recent of 12 occurrences

Work Item Console Log Build Job Name
threading_group1 Work Item
View Extract
[05:18:35] dbug: Downloaded crash report threading_group1-2026-01-19-021822.ips to /tmp/helix/working/AD2D0966/w/9DB508C0/uploads/threading_group1-2026-01-19-021822.ips
[05:18:36] fail: Application test run crashed
No test log file was produced

[05:18:29] dbug: Failed to copy results file from device. Expected at: /tmp/helix/working/AD2D0966/w/9DB508C0/uploads/test-tvos-device-20260119_051818.log
[05:18:29] dbug: Test results file not found, app may have crashed before tests started.
[05:18:29] dbug: Attempting to retrieve crash report from device...

... crash report excerpt ...
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"threading_group1","byPid":5736},
"ktriageinfo" : "VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\n",
"asi" : {"libsystem_c.dylib":["abort() called"]},
... backtrace ...
"imageOffset":17196,"symbol":"coreclr_initialize","symbolLocation":716,"imageIndex":1,
"imageOffset":35640,"symbol":"mono_ios_runtime_init","symbolLocation":388,"imageIndex":0,

XHarness exit code: 80 (APP_CRASH)
Full Log
20260119.1 build_tvos_arm64_Release_AllSubsets_CoreCLR_RuntimeTests
threading_group2 Work Item
View Extract
[05:18:32] dbug: Downloaded crash report threading_group2-2026-01-19-021819.ips to /tmp/helix/working/AD2D0966/w/AE1B0937/uploads/threading_group2-2026-01-19-021819.ips
[05:18:33] fail: Application test run crashed
No test log file was produced
[05:18:33] dbug: Log file: /tmp/helix/working/AD2D0966/w/AE1B0937/uploads/net.dot.threading_group2.log
XHarness exit code: 80 (APP_CRASH)
[05:18:26] dbug: Test results file not found, app may have crashed before tests started.
..."exception" : {"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"indicator":"Abort trap: 6","byProc":"threading_group2","byPid":5365},
"ktriageinfo" : "VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\n",
...frames...{"symbol":"abort","symbolLocation":96,...},{"symbol":"NativeImage::Open(SString const&, char const*, AssemblyBinder*, LoaderAllocator*, bool, bool*)","symbolLocation":1868,...},{"symbol":"ReadyToRunInfo::Initialize(Module*, AllocMemTracker*)","symbolLocation":528,...},{"symbol":"Module::Initialize(AllocMemTracker*, char16_t const*)","symbolLocation":412,...}
Full Log
20260119.1 build_tvos_arm64_Release_AllSubsets_CoreCLR_RuntimeTests
threading_group2 Work Item
View Extract
[17:39:50] dbug: Downloaded crash report threading_group2-2026-01-19-143942.ips to /tmp/helix/working/C9740AC9/w/A7A0092D/uploads/threading_group2-2026-01-19-143942.ips
[17:39:51] fail: Application test run crashed
No test log file was produced
Check logs for more information
[17:39:51] dbug: ==================== ApplicationLog ====================
[17:39:51] dbug: Log file: /tmp/helix/working/C9740AC9/w/A7A0092D/uploads/net.dot.threading_group2.log
...
XHarness exit code: 80 (APP_CRASH)
...
"exception" : {"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"indicator":"Abort trap: 6","byProc":"threading_group2","byPid":2019},
"ktriageinfo" : "VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter",
... stack shows abort called during CoreCLR startup: NativeImage::Open -> ReadyToRunInfo::Initialize -> Module::Initialize -> Assembly::Create
Full Log
20260119.4 build_tvos_arm64_Release_AllSubsets_CoreCLR_RuntimeTests
baseservices Work Item
View Extract
[05:11:52] dbug: Failed to copy results file from device. Expected at: /tmp/helix/working/9CE708DF/w/B17E09A6/uploads/test-tvos-device-20260120_051142.log
[05:11:52] dbug: Test results file not found, app may have crashed before tests started.
[05:11:57] dbug: Downloaded crash report baseservices-2026-01-20-021146.ips to /tmp/helix/working/9CE708DF/w/B17E09A6/uploads/baseservices-2026-01-20-021146.ips
[05:11:57] dbug: Failed to symbolicate /tmp/helix/working/9CE708DF/w/B17E09A6/uploads/baseservices-2026-01-20-021146.ips.
[05:11:58] fail: Application test run crashed
No test log file was produced

"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"baseservices","byPid":2170},
"ktriageinfo" : "VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\n",
...
"frames":[...{"imageOffset":45484,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":7},{"imageOffset":23308,"symbol":"pthread_kill","symbolLocation":208,"imageIndex":13},{"imageOffset":466520,"symbol":"abort","symbolLocation":96,"imageIndex":14},{"imageOffset":4297288,"symbol":"PROCAbort","symbolLocation":68,"imageIndex":1},{"imageOffset":4296968,"symbol":"RaiseFailFastException","symbolLocation":28,"imageIndex":1},{"imageOffset":2097504,"symbol":"NativeImage::Open(SString const&, char const*, AssemblyBinder*, LoaderAllocator*, bool, bool*)","symbolLocation":1868,"imageIndex":1},{"imageOffset":1498688,"symbol":"AssemblyBinder::LoadNativeImage(Module*, char const*, bool)","symbolLocation":156,"imageIndex":1},{"imageOffset":2406584,"symbol":"ReadyToRunInfo::Initialize(Module*, AllocMemTracker*)","symbolLocation":528,"imageIndex":1},{"imageOffset":1431908,"symbol":"SystemDomain::Init()","symbolLocation":192,"imageIndex":1},{"imageOffset":4154412,"symbol":"EEStartupHelper()","symbolLocation":1480,"imageIndex":1},{"imageOffset":17196,"symbol":"coreclr_initialize","symbolLocation":716,"imageIndex":1},...]
...
XHarness exit code: 80 (APP_CRASH)
Full Log
20260120.1 build_tvos_arm64_Release_AllSubsets_CoreCLR_RuntimeTests
threading_group1 Work Item
View Extract
[05:11:58] dbug: Downloaded crash report threading_group1-2026-01-20-021147.ips to /tmp/helix/working/9CE708DF/w/BB6D099C/uploads/threading_group1-2026-01-20-021147.ips
[05:11:59] fail: Application test run crashed
No test log file was produced
[05:11:59] dbug: ==================== ApplicationLog ====================
[05:12:01] info: Application 'net.dot.threading_group1' was uninstalled successfully
XHarness exit code: 80 (APP_CRASH)

... crash report excerpt ...
"exception" : {"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"indicator":"Abort trap: 6","byProc":"threading_group2"},
"ktriageinfo" : "VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter",
... stack frames ...
pthread_kill -> abort -> PROCAbort -> RaiseFailFastException -> NativeImage::Open -> ReadyToRunInfo::Initialize -> SystemDomain::Init -> EEStartup -> EnsureEEStarted -> CorHost2::Start -> coreclr_initialize
Full Log
20260120.1 build_tvos_arm64_Release_AllSubsets_CoreCLR_RuntimeTests
baseservices-exceptions Work Item
View Extract
[05:18:34] dbug: Downloaded crash report baseservices-exceptions-2026-01-19-021826.ips to /tmp/helix/working/AD2D0966/w/9CA608B8/uploads/baseservices-exceptions-2026-01-19-021826.ips
[05:18:34] dbug: Failed to symbolicate /tmp/helix/working/AD2D0966/w/9CA608B8/uploads/baseservices-exceptions-2026-01-19-021826.ips.
[05:18:35] fail: Application test run crashed
No test log file was produced

Check logs for more information
[05:18:29] dbug: ERROR: Failed to retrieve the file node for /Library/Caches/Documents/test-results.xml (com.apple.dt.CoreDeviceError error 7000 (0x1B58))
[05:18:29] dbug: Failed to copy results file from device. Expected at: /tmp/helix/working/AD2D0966/w/9CA608B8/uploads/test-tvos-device-20260119_051820.log
[05:18:29] dbug: Test results file not found, app may have crashed before tests started.
XHarness exit code: 80 (APP_CRASH)
[05:18:23] dbug: Process mlaunch exited with 1
[05:18:37] info: Application 'net.dot.baseservices-exceptions' was uninstalled successfully
Full Log
20260119.1 build_tvos_arm64_Release_AllSubsets_CoreCLR_RuntimeTests
baseservices Work Item
View Extract
[17:38:57] dbug: ERROR: Failed to retrieve the file node for /Library/Caches/Documents/test-results.xml (com.apple.dt.CoreDeviceError error 7000 (0x1B58))
[17:38:57] dbug: Process bash exited with 1
[17:38:57] dbug: Failed to copy results file from device. Expected at: /tmp/helix/working/C9740AC9/w/ACE8095A/uploads/test-tvos-device-20260119_173846.log
[17:38:57] dbug: Test results file not found, app may have crashed before tests started.
[17:38:57] dbug: Attempting to retrieve crash report from device...
[17:38:57] dbug: Device log captured in /tmp/helix/working/C9740AC9/w/ACE8095A/uploads/device-DNCENGTVOS-003-20260119_173846.log
...
[17:39:03] dbug: Downloaded crash report baseservices-2026-01-19-143851.ips to /tmp/helix/working/C9740AC9/w/ACE8095A/uploads/baseservices-2026-01-19-143851.ips
[17:39:03] dbug: Failed to symbolicate /tmp/helix/working/C9740AC9/w/ACE8095A/uploads/baseservices-2026-01-19-143851.ips.
[17:39:05] fail: Application test run crashed
No test log file was produced

Check logs for more information
[17:39:06] dbug: Command Completed, took 0.562 seconds
[17:39:06] info: Application 'net.dot.baseservices' was uninstalled successfully
XHarness exit code: 80 (APP_CRASH)
Full Log
20260119.4 build_tvos_arm64_Release_AllSubsets_CoreCLR_RuntimeTests
baseservices-exceptions Work Item
View Extract
[05:11:44] dbug: Running /private/tmp/helix/working/9CE708DF/p/.../mlaunch 
[05:11:46] dbug: Process mlaunch exited with 1
[05:11:46] dbug: Test run failed
[05:11:52] dbug: ERROR: Failed to retrieve the file node for /Library/Caches/Documents/test-results.xml (com.apple.dt.CoreDeviceError error 7000 (0x1B58))
[05:11:52] dbug: Test results file not found, app may have crashed before tests started.
[05:11:52] dbug: Attempting to retrieve crash report from device...
[05:11:57] dbug: Downloaded crash report baseservices-exceptions-2026-01-20-021146.ips to /tmp/helix/working/9CE708DF/w/BB9D0A2C/uploads/baseservices-exceptions-2026-01-20-021146.ips
[05:11:57] dbug: Failed to symbolicate /tmp/helix/working/9CE708DF/w/BB9D0A2C/uploads/baseservices-exceptions-2026-01-20-021146.ips.
[05:11:58] fail: Application test run crashed
No test log file was produced
[05:12:00] info: Application 'net.dot.baseservices-exceptions' was uninstalled successfully
XHarness exit code: 80 (APP_CRASH)
Full Log
20260120.1 build_tvos_arm64_Release_AllSubsets_CoreCLR_RuntimeTests
threading_group2 Work Item
View Extract
[19:07:03] dbug: Downloaded crash report threading_group2-2026-01-20-160652.ips to /tmp/helix/working/AE5909C8/w/B01609CA/uploads/threading_group2-2026-01-20-160652.ips
[19:07:03] dbug: Failed to symbolicate /tmp/helix/working/AE5909C8/w/B01609CA/uploads/threading_group2-2026-01-20-160652.ips.
[19:07:04] fail: Application test run crashed
No test log file was produced
[19:06:58] dbug: Test results file not found, app may have crashed before tests started.
XHarness exit code: 80 (APP_CRASH)
...
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"threading_group2","byPid":3150},
"ktriageinfo" : "VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\n",
... frames show abort -> RaiseFailFastException -> NativeImage::Open -> ReadyToRunInfo::Initialize -> EnsureEEStarted -> coreclr_initialize
[19:06:58] dbug: ERROR: Failed to retrieve the file node for /Library/Caches/Documents/test-results.xml (com.apple.dt.CoreDeviceError error 7000 (0x1B58))
Full Log
20260120.8 build_tvos_arm64_Release_AllSubsets_CoreCLR_RuntimeTests
threading_group1 Work Item
View Extract
[19:07:04] dbug: Downloaded crash report threading_group1-2026-01-20-160652.ips to /tmp/helix/working/AE5909C8/w/A87B08D7/uploads/threading_group1-2026-01-20-160652.ips
[19:07:06] fail: Application test run crashed
No test log file was produced

Check logs for more information
[19:07:06] dbug: ==================== ApplicationLog ====================
[19:07:06] dbug: Log file: /tmp/helix/working/AE5909C8/w/A87B08D7/uploads/net.dot.threading_group1.log

XHarness exit code: 80 (APP_CRASH)

[19:06:59] dbug: Test results file not found, app may have crashed before tests started.
[19:06:59] dbug: Attempting to retrieve crash report from device...

... crash report excerpt ...
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"threading_group2","byPid":547},
"ktriageinfo" : "VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter\n",
... stack frames ...
"imageOffset":466520,"symbol":"abort","symbolLocation":96 ...
"imageOffset":2099180,"symbol":"NativeImage::Open(SString const&, char const*, AssemblyBinder*, LoaderAllocator*, bool, bool*)","symbolLocation":1868 ...
"ReadyToRunInfo::Initialize(...)" -> "SystemDomain::Init()" -> "coreclr_initialize" -> "mono_ios_runtime_init"
Full Log
20260120.8 build_tvos_arm64_Release_AllSubsets_CoreCLR_RuntimeTests

Error Message

{
  "ErrorMessage": [
    "mach_vm_allocate_kernel failed within call to vm_map_enter"
  ],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
1260596 dotnet/runtime System.Globalization.Extensions.Tests.WorkItemExecution #122373
1260123 dotnet/runtime threading_group2.WorkItemExecution #122371
1259961 dotnet/runtime threading_group1.WorkItemExecution
1259547 dotnet/runtime threading_group2.WorkItemExecution #119575
1259210 dotnet/runtime System.Runtime.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
5 5 5

Report

Build Definition Test Pull Request
1260702 dotnet/runtime threading_group2.WorkItemExecution
1260596 dotnet/runtime System.Globalization.Extensions.Tests.WorkItemExecution #122373
1260123 dotnet/runtime threading_group2.WorkItemExecution #122371
1259961 dotnet/runtime threading_group1.WorkItemExecution
1259547 dotnet/runtime threading_group2.WorkItemExecution #119575
1259210 dotnet/runtime System.Runtime.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
6 6 6

Report

Build Definition Test Pull Request
1267581 dotnet/runtime System.IO.FileSystem.DriveInfo.Tests.WorkItemExecution #122373
1267072 dotnet/runtime System.IO.FileSystem.Tests.WorkItemExecution #122373
1267257 dotnet/runtime reflection.WorkItemExecution #123617
1267156 dotnet/runtime threading_group2.WorkItemExecution
1266686 dotnet/runtime System.IO.Packaging.Tests.WorkItemExecution #122373
1266509 dotnet/runtime Regression_5.WorkItemExecution
1266257 dotnet/runtime threading_group2.WorkItemExecution
1265954 dotnet/runtime threading_group2.WorkItemExecution
1265645 dotnet/runtime baseservices.WorkItemExecution
1265579 dotnet/runtime threading_group2.WorkItemExecution #123248
1265241 dotnet/runtime System.Diagnostics.DiagnosticSource.Switches.Tests.WorkItemExecution
1264989 dotnet/runtime threading_group2.WorkItemExecution
1264815 dotnet/runtime System.IO.FileSystem.Manual.Tests.WorkItemExecution #122373
1264235 dotnet/runtime threading_group2.WorkItemExecution
1263409 dotnet/runtime System.Formats.Tar.Manual.Tests.WorkItemExecution
1263719 dotnet/runtime System.Diagnostics.TraceSource.Tests.WorkItemExecution
1263525 dotnet/runtime threading_group2.WorkItemExecution
1263219 dotnet/runtime System.IO.Compression.ZipFile.Tests.WorkItemExecution #122373
1263290 dotnet/runtime System.Runtime.Tests.WorkItemExecution #123502
1262577 dotnet/runtime Regression_3.WorkItemExecution
1262405 dotnet/runtime System.IO.FileSystem.Primitives.Tests.WorkItemExecution #122373
1262109 dotnet/runtime System.Drawing.Primitives.Tests.WorkItemExecution
1261293 dotnet/runtime System.Diagnostics.StackTrace.Tests.WorkItemExecution
1261127 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #122556
1260702 dotnet/runtime threading_group2.WorkItemExecution
1260596 dotnet/runtime System.Globalization.Extensions.Tests.WorkItemExecution #122373
1260123 dotnet/runtime threading_group2.WorkItemExecution #122371
1259961 dotnet/runtime threading_group1.WorkItemExecution
1259547 dotnet/runtime threading_group2.WorkItemExecution #119575
1259210 dotnet/runtime System.Runtime.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
5 30 30

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions