dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15k stars 4.67k forks source link

DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist #108202

Open BruceForstall opened 1 hour ago

BruceForstall commented 1 hour ago

I see the message:

DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /root/helix/work/correlation/crossgen2/createdump

in a log file for pipeline "runtime-coreclr outerloop", job "R2R-CG2 linux arm64 Checked", test "jit64_5 Work Item":

https://dev.azure.com/dnceng-public/public/_build/results?buildId=816716&view=ms.vss-test-web.build-test-results-tab&runId=21180418&paneView=debug&resultId=123183

with some context:

+ cat /root/helix/work/workitem/u/SetStressModes_normal.sh
#!/usr/bin/env bash
export DOTNET_DbgEnableMiniDump=1
export DOTNET_EnableCrashReport=1
export DOTNET_DbgMiniDumpName=$HELIX_DUMP_FOLDER/coredump.%d.dmp
+ export PATH=/root/helix/work/correlation/dotnet-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export DOTNET_ROOT=/root/helix/work/correlation/dotnet-cli
+ export DOTNET_CLI_TELEMETRY_OPTOUT=1
+ export DOTNET_CLI_HOME=/root/helix/work/workitem/e/.dotnet
+ export NUGET_PACKAGES=/root/helix/work/workitem/e/.nuget
+ export TEST_HARNESS_STRIPE_TO_EXECUTE=.0.1
+ chmod +x JIT/jit64/jit64_5/jit64_5.sh
+ JIT/jit64/jit64_5/jit64_5.sh -usewatcher
BEGIN EXECUTION
in takeLock
JIT/jit64/jit64_5/jit64_5.sh: line 316: -r:/root/helix/work/workitem/e/JIT/jit64/jit64_5/IL-CG2/*.dll: No such file or directory
/root/helix/work/workitem/e/JIT/jit64/jit64_5/IL-CG2/103087.dll
11:23:56
Response file: /root/helix/work/workitem/e/JIT/jit64/jit64_5/103087.dll.rsp
/root/helix/work/workitem/e/JIT/jit64/jit64_5/IL-CG2/103087.dll
-o:/root/helix/work/workitem/e/JIT/jit64/jit64_5/103087.dll
-r:/root/helix/work/correlation/System.*.dll
-r:/root/helix/work/correlation/Microsoft.*.dll
-r:/root/helix/work/correlation/xunit.*.dll
-r:/root/helix/work/correlation/mscorlib.dll
--verify-type-and-field-layout
--method-layout:random
--targetarch:arm64
--targetos:linux
Running CrossGen2:  /root/helix/work/correlation/crossgen2/crossgen2 @/root/helix/work/workitem/e/JIT/jit64/jit64_5/103087.dll.rsp  
DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /root/helix/work/correlation/crossgen2/createdump
Emitting R2R PE file: /root/helix/work/workitem/e/JIT/jit64/jit64_5/103087.dll
Running R2RDump:  dotnet /root/helix/work/correlation/R2RDump/R2RDump.dll --header --sc --in /root/helix/work/workitem/e/JIT/jit64/jit64_5/103087.dll --out /root/helix/work/workitem/e/JIT/jit64/jit64_5/103087.dll.r2rdump --val
11:23:56
/root/helix/work/workitem/e/JIT/jit64/jit64_5/IL-CG2/118414.dll

So, are we not going to get dumps on this platform due to incorrect configuration?

dotnet-policy-service[bot] commented 1 hour ago

Tagging subscribers to this area: @hoyosjs See info in area-owners.md if you want to be subscribed.

hoyosjs commented 27 minutes ago

It's coming from crossgen - we don't get to collect them for it since native AOT apps don't sip with createdump in it.