-
Notifications
You must be signed in to change notification settings - Fork 382
Description
Description
I am seeing the following problem when trying to dump the memory using the dotnet-monitor tool:
{"status":400,"detail":"Write dump failed - HRESULT: 0x00000000."}
After investigating a bit, and running ./usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.9/createdump -d -v -n 1
, I get:
[createdump] ffffffffff600000 - ffffffffff601000 (000001) 0000000000000000 --x-p- 21 [vsyscall]
[createdump] EnumerateElfInfo: phdr 0x562aef77e040 phnum 12
[createdump] ReadProcessMemory FAILED, addr: 0000562aef77e040, size: 56, ERRNO 38: Function not implemented
[createdump] ERROR: ReadMemory(0x562aef77e040, 38) phdr FAILED
[createdump] Target process is alive
May you please suggest what are the known requirements for the dump to work?
Configuration
Kubernetes
Linux 5.15.48-flatcar #1 SMP Tue Jun 21 05:55:04 -00 2022 x86_64 GNU/Linux
:/$ dotnet --info
global.json file:
Not found
Host:
Version: 6.0.9
Architecture: x64
Commit: 163a63591c
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.9 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.9 [/usr/share/dotnet/shared/Microsoft.NETCore.App]