Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core dump generation FAILED 0x80004005 and orphaned process #624

Closed
Sean-Driscoll opened this issue Nov 18, 2019 · 11 comments
Closed

Core dump generation FAILED 0x80004005 and orphaned process #624

Sean-Driscoll opened this issue Nov 18, 2019 · 11 comments
Assignees
Labels
documentation Documentation related issue dotnet-dump
Milestone

Comments

@Sean-Driscoll
Copy link
Contributor

Sean-Driscoll commented Nov 18, 2019

On a RapspberryPI 3B+ with Raspbian OS (ARM32) I'm running a self-contained ASP.NET Core 3.0 app and currently investigating debugging it. The command and error message are as follows

pi@raspberrypi:~ $ sudo /home/pi/.dotnet/tools/dotnet-dump collect -p <pid>
Writing minidump with heap to /home/pi/core_20191118_083149
Core dump generation FAILED 0x80004005

Each time the command is run it results in what seems to be an orphaned process, which I either kill with sudo kill -9 <newPid> or have to restart the host application. Unlike one of the other related issues I found the dump file is not created.

In trying to understand the current landscape of .NET Core debugging, I've tried using both lldb and dotnet-dump for analyzing dump files, and tried creating dump files using gcore, dotnet-dump, and createdump with no success thus far. I've also tried live-debugging in lldb with no success (tried versions 5.0, 6.0, and the current 7.0.1). I thought using the dotnet-dump tool would eliminate any versioning issues between the various dump generation/analysis methods and the host process but I'm stuck on the issue described above. In all other cases I've been able to generate dump files, load them, load the sos plugin, but running an actual SOS command always fails with a load issue on one of the lib core so files, regardless of what I setclrpath to. It seems like the wild, wild west for .NET Core debugging - little, sparse, and out-dated documentation. I decided to start here but any help is much appreciated. I have several other questions to try and navigate all the information I've read, what is the best way to surface those questions?

@mikem8361 mikem8361 self-assigned this Nov 18, 2019
@mikem8361 mikem8361 added this to the 5.0 milestone Nov 18, 2019
@mikem8361
Copy link
Member

You should not need "sudo" on the dotnet-dump collect but regardless I'll have to investigate your failure. Could you add the "--diag" option to your dotnet-dump collect command and capture the output of the console where your ASP.NET Core app is running?

I tried this successfully on my pi3 arm32 raspbian v10 with the dotnet 3.0.100 SDK and version 3.0.52901 of dotnet-dump.

We have not found a lldb that works for ARM32 yet. lldb 9.0 looks promising but there are still some pending problems.

@Sean-Driscoll
Copy link
Contributor Author

The app runs as a systemd daemon under a 'service' account. I'm not sure where the output, using the --diag option, would show up. I looked in the apps logs, logs from journalctl, and I also ran the application interactively in the console but did not see any messages from dotnet-dump.

I suppose I should have added this to the initial message but I just assumed sudo was required... not running as sudo throws the following

Unhandled exception: System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (13): Permission denied /tmp/dotnet-diagnostic-19940-223819709-socket
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at Microsoft.Diagnostics.Tools.RuntimeClient.DiagnosticsIpc.IpcClient.GetTransport(Int32 processId) in //src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcClient.cs:line 54
at Microsoft.Diagnostics.Tools.RuntimeClient.DiagnosticsIpc.IpcClient.SendMessage(Int32 processId, IpcMessage message) in /
/src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsIpc/IpcClient.cs:line 67
at Microsoft.Diagnostics.Tools.RuntimeClient.DiagnosticsHelpers.GenerateCoreDump(Int32 processId, String dumpName, DumpType dumpType, Boolean diagnostics) in //src/Microsoft.Diagnostics.Tools.RuntimeClient/DiagnosticsHelpers.cs:line 46
at Microsoft.Diagnostics.Tools.Dump.Dumper.Collect(IConsole console, Int32 processId, String output, Boolean diag, DumpTypeOption type) in /
/src/Tools/dotnet-dump/Dumper.cs:line 67
at System.CommandLine.Invocation.CommandHandler.GetResultCodeAsync(Object value, InvocationContext context)
at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass2_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Invocation.InvocationExtensions.<>c.<b__16_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Invocation.InvocationExtensions.<>c__DisplayClass8_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Invocation.InvocationExtensions.<>c.<b__7_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Invocation.InvocationExtensions.<>c.<b__6_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Invocation.InvocationExtensions.<>c.<b__14_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass3_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Invocation.InvocationExtensions.<>c.<b__17_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.CommandLine.Invocation.InvocationExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext()

@mikem8361
Copy link
Member

Yes, you are right to use sudo. It make sense if your service is running under a different user than the one doing the dotnet-dump collect.

How did you install the .NET Core SDK? Did you download the zip or the tar file? Using the zip file, the files don't get set with the correct execute permissions mainly createdump. Can you ls -l createdump program in the shared runtime directory i.e. <installroot>/dotnet/shared/Microsoft.NETCore/3.0.0. And the execute permissions in your self-contained app directory for createdump.

Can you include the dotnet --info output?

@Sean-Driscoll
Copy link
Contributor Author

Sean-Driscoll commented Nov 19, 2019

Here are the steps I took to install .NET Core and dotnet-dump

$ wget -O dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/8ddb8193-f88c-4c4b-82a3-39fcced27e91/b8e0b9bf4cf77dff09ff86cc1a73960b/dotnet-sdk-3.0.100-linux-arm.tar.gz
$ sudo mkdir -p /usr/share/dotnet
$ sudo tar -zxf dotnet.tar.gz -C /usr/share/dotnet
$ sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
$ dotnet tool install -g dotnet-dump

Requested info below. I had no idea there would be a createdump with the self-contained app. I'll run through testing that as well. Added ls -l results for the dotnet-dump command as well

pi@raspberrypi:~ $ ls -l /usr/share/dotnet/shared/Microsoft.NETCore.App/3.0.0/createdump
-rwxr-xr-x 1 1001 117 95288 Sep 12 19:01 /usr/share/dotnet/shared/Microsoft.NETCore.App/3.0.0/createdump

pi@raspberrypi:~ $ ls -l /opt/myApp/createdump
-rw-r----- 1 myAppSvcAct myAppSvcAct 95288 Nov  8 17:11 /opt/myApp/createdump

pi@raspberrypi:~ $ ls -l /home/pi/.dotnet/tools/dotnet-dump
-rwxr--r-- 1 pi pi 73400 Nov 16 15:08 /home/pi/.dotnet/tools/dotnet-dump

pi@raspberrypi:~ $ dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100
 Commit:    04339c3a26

Runtime Environment:
 OS Name:     raspbian
 OS Version:  10
 OS Platform: Linux
 RID:         linux-arm
 Base Path:   /usr/share/dotnet/sdk/3.0.100/

Host (useful for support):
  Version: 3.0.0
  Commit:  7d57652f33

.NET Core SDKs installed:
  3.0.100 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Some additional info. I can successfully create a dump with the createdump utility from the shared runtime directory but that led me to another issue, which is why I focused on working exclusively with dotnet-dump to both collect and analyze. After creating the dump file with createdump here is what happens when i try to analyze

pi@raspberrypi:~ $ /home/pi/.dotnet/tools/dotnet-dump analyze testCreateDump
Loading core dump: testCreateDump ...
Ready to process analysis commands. Type 'help' to list available commands or 'help [command]' to get detailed help on a command.
Type 'quit' or 'exit' to exit the session.
> clrthreads
Failed to load data access module, 0x80131c4f
You can run the debugger command 'setclrpath' to control the load of libmscordaccore.so.
If that succeeds, the SOS command should work on retry.
> setclrpath /usr/share/dotnet/shared/Microsoft.NETCore.App/3.0.0/
Required command was not provided.
Unrecognized command or argument 'setclrpath'
Unrecognized command or argument '/usr/share/dotnet/shared/Microsoft.NETCore.App/3.0.0/'

Same thing happened while analyzing a dump file from the createdump utility that came with the self-contained app (had to make it executable but otherwise no issues creating dump file), regardless of what path I used for setclrpath. It doesn't seem like that command works.

@mikem8361
Copy link
Member

pi@raspberrypi:~ $ ls -l /opt/myApp/createdump
-rw-r----- 1 myAppSvcAct myAppSvcAct 95288 Nov  8 17:11 /opt/myApp/createdump

This is why dotnet-dump collect isn't work. createdump doesn't have have the execute permission set (x).

I think the reason dotnet-dump analyze is failing is because the DAC (libmscordaccore.so) isn't in the same directory as libcoreclr.so which should be in your self-contained app directory. It looks you may have copied your app files from the publish directory of the project. Did you copy all of them? Are you running dotnet-dump analyze on the same machine as the dump was generated?

I probably should add the setclrpath command to dotnet-dump because that might have fixed your problem, but it really should find the DAC in the same directory as libcoreclr.so (your self-contained app directory).

@Sean-Driscoll
Copy link
Contributor Author

Setting execute permissions on createdump in the self-contained folder solved the orphaned process issue. Unfortunately, it still ends up failing with the same reason. Previously it would fail pretty immediately but now it seems to do something for a while before failing. I can see a process spin up running the createdump command with the expected output path, but after it fails with the "Core dump generation FAILED 0x80004005" message the file is not generated.

I believe I copied everything except pdbs. I would need to double-check the azure pipeline I have setup for it. It looks like both those files you mentioned are with the self-contained app, below is a print out. And yes, I'm running dotnet-dump analyze on the same machine.

pi@raspberrypi:~ $ ls -l /opt/myApp/ | grep 'lib\|create'
-rwxr-x--x 1 myAppSvcAct myAppSvcAct 95288 Nov  8 17:11 createdump
-rw-r----- 2 myAppSvcAct myAppSvcAct 2158848 Nov  8 17:11 libclrjit.so
-rw-r----- 2 myAppSvcAct myAppSvcAct 7092616 Nov  8 17:11 libcoreclr.so
-rw-r----- 1 myAppSvcAct myAppSvcAct 604268 Nov  8 17:11 libcoreclrtraceptprovider.so
-rw-r----- 1 myAppSvcAct myAppSvcAct 729416 Nov  8 17:11 libdbgshim.so
-rw-r----- 1 myAppSvcAct myAppSvcAct 310196 Nov  8 17:11 libhostfxr.so
-rw-r----- 1 myAppSvcAct myAppSvcAct 277472 Nov  8 17:11 libhostpolicy.so
-rw-r----- 1 myAppSvcAct myAppSvcAct 2763744 Nov  8 17:11 libmscordaccore.so
-rw-r----- 1 myAppSvcAct myAppSvcAct 2191888 Nov  8 17:11 libmscordbi.so
-rw-r----- 1 myAppSvcAct myAppSvcAct 446536 Nov  8 17:11 libuv.so
-rw-r----- 1 myAppSvcAct myAppSvcAct 56696 Nov  8 17:11 mscorlib.dll

My vote is for adding setclrpath. If for no other reason then because the message printed out right before told me to run the setclrpath which then immediately failed...a little confusing.

@Sean-Driscoll
Copy link
Contributor Author

I was able to figure out the cause of the second failure by temporarily logging in as the svc account and running the same command. Turned out to be a permission issue with the default output folder. The app has a config folder which the corresponding svc account is owner of. When I changed the output of the dotnet-dump collect to that folder everything worked correctly.

So to recap:

  1. dotnet-dump collect on a self-contained app utilizes the createdump utility installed with the app and that utility needs to be executable

    • I had to run dotnet-dump as sudo because the app was run as a different user, which results in the createdump utility being executed as the user account running the app

    • Worth noting: this was causing the orphaned process issue

  2. Default output of the dump file is the current users home directory which the account running the app didn't have access to so had to change the output folder

    • This unfortunately wasn't intuitive based on the error message and I was only able to find this issue by logging in as the svc account, but in a majority of cases I doubt users will be able to do that.

@Sean-Driscoll
Copy link
Contributor Author

Sean-Driscoll commented Nov 20, 2019

Figured out the dotnet-dump analyze issue as well... also a permissions thing :(

I just needed to run it as sudo, probably because my user doesn't have access to the necessary lib files in the self-contained app's directory.

With the above knowledge I was also able to use lldb to load a core dump and use the sos commands. Still haven't been able to use sos commands for attaching to a live process though. With regards to loading the core dump, I'm not sure what is accurate or available but it's a step forward. I had to run the following,

pi@raspberrypi:~ $ sudo lldb --core testCreateDump
(lldb) target create --core "testCreateDump"
Core file '/home/pi/testCreateDump' (arm) was loaded.
(lldb) plugin load /home/pi/.dotnet/sos/libsosplugin.so

@mikem8361
Copy link
Member

I will attempt to document this behavior better. For dump collection, we expected that dotnet-dump collect would be the same user as the app being collected.

I will also attempt to display better messages in the 5.0 time frame. This will require changes on the runtime/createdump side. There isn't a lot I can do on the dotnet-dump collect side because all it gets is an HRESULT that is currently pretty much pass/fail.

@mikem8361 mikem8361 added the documentation Documentation related issue label Dec 3, 2019
mikem8361 added a commit to mikem8361/diagnostics that referenced this issue Dec 11, 2019
mikem8361 added a commit to mikem8361/diagnostics that referenced this issue Dec 12, 2019
mikem8361 added a commit to mikem8361/diagnostics that referenced this issue Dec 12, 2019
mikem8361 added a commit to mikem8361/diagnostics that referenced this issue Dec 12, 2019
mikem8361 added a commit to mikem8361/diagnostics that referenced this issue Dec 12, 2019
mikem8361 added a commit to mikem8361/diagnostics that referenced this issue Dec 12, 2019
mikem8361 added a commit to mikem8361/diagnostics that referenced this issue Dec 13, 2019
mikem8361 added a commit to mikem8361/diagnostics that referenced this issue Dec 14, 2019
mikem8361 added a commit that referenced this issue Dec 14, 2019
Issue: #673

SymbolReader doesn't support UNC symbol paths. Issue: #674

Add -all gcroot option to docs. Issue: #632

Better doc clrstack -all and other options. Issue: #576

Doc RHEL lldb install. Issue: #483

Add setclrpath command to dotnet-dump on linux. Mentioned in #624

Issue: #590

Add -timeout option to SetSymbolServer command. Issue: #602

Use CommandPlatform on Windows specific commands

Don't use the desktop clr to host SOS managed code.

Don't allow dumplog on desktop clr target.

Cleanup SOSHost "is runtime" checks.

Removed unneeded install of the x86 SDK in InstallRuntimes.proj

Fix SOS on Windows where it needs to download the DAC but the symbol
server store was never initialized from the .sympath. This is even
more important when both coreclr and desktop clr are loaded in the
process/minidump.

Update to 3.0.1 runtime version
@mikem8361
Copy link
Member

I'm going to close this issue now. I think I have addressed all your concerns. I created issue https://github.com/dotnet/diagnostics/issues/733 about the weak error message.

mikem8361 added a commit that referenced this issue Apr 7, 2020
* Update dependencies from https://github.com/aspnet/AspNetCore build 20191125.10 (#650)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19575.10

* Add documentation on EventCounters (#605)

* Adding some initial EventCounters documentation

* Add more stuff about incrementingeventcounter

* Add pictures

* Add more description about how to write your own counter

* Add out-of-proc consumption, more samples

* formatting

* more formatting

* Add section about concurrency

* cleanup, formatting

* format

* Address PR feedback

* Avoid exceptions when console is not available (#644)

* Do not manipulate cursor if Console not available

* Use console.GetTerminal() to test for console

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191127.15 (#655)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19577.15

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191128.4 (#656)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19578.4

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191201.2 (#657)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19601.2

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191202.2 (#660)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19602.2

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191203.5 (#665)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19603.5

* add missing README.md files for global tools (#662)

* add missing README.md files for global tools

* use relative link

* SpeedScope handles only CPU samples, events are not supported (#661)

* dotnet-counters JSON Exporter improvements (#666)

* make timestamp non culture-sensitive, change 'counter type' to 'counterType'

* Remove more spaces from the JSON

* Microsoft.Diagnostics.NETCore.Client Implementation (#617)

This is the initial implementation of Microsoft.Diagnostics.NETCore.Client library.

This will be released with version 1.0.0-preview, and when I feel that enough customers have validated it that we can match it with the rest of the diagnostics OOB packages and bump up the version to 3.1.

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191205.16 (#672)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19605.16

* Upgrade to latest System.CommandLine version (#668)

Upgrade to latest System.CommandLine version

Use collection initializers

* Prepare SOS for single file support and add desktop CLR support (#658)

Prepare SOS for single file support and add desktop CLR support

Add defines and functions for the runtime, dac and dbi modules/dlls names.

Also supports desktop CLR

Add minidump retry for ERROR_PARTIAL_COPY

* Add EventPipe events test (#659)

* Fix ContentionEvents test to make it more stable (#683)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191210.3 (#684)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19610.3

* Incorrect tool referenced (#687)

* Fix GCEvent test being flakey (#689)

* Fix GCEvent test being flakey

* Fix build

* [master] Update dependencies from aspnet/AspNetCore (#688)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191211.17

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19611.17

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191212.8

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19612.8

* Use darc runtime subscription versions for testing (#682)

Use darc runtime subscription versions for testing

Update arcade to version 5.0.0-beta.19608.1

Replace install scripts with InstallRuntimes.proj (thanks to Juan).

Add build.ps1 on Windows. Build-Native.cmd just builds the native bits now.

Combine build.sh and build-native.sh scripts.

Remove -publish from scripts

Add running sosstatus command on SOSRunner errors.

Always set the host runtime (SOSHostRuntime) in test configs

Fix RuntimeFrameworkVersion config property usage

Sign, package and publish only if build legs successful

Issues: https://github.com/dotnet/diagnostics/issues/423
           https://github.com/dotnet/diagnostics/issues/480

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191213.21 (#695)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19613.21

* Update dependencies from https://github.com/dotnet/arcade build 20191213.1 (#694)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19613.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19613.1

* Fix various issues (#690)

Issue: https://github.com/dotnet/diagnostics/issues/673

SymbolReader doesn't support UNC symbol paths. Issue: https://github.com/dotnet/diagnostics/issues/674

Add -all gcroot option to docs. Issue: https://github.com/dotnet/diagnostics/issues/632

Better doc clrstack -all and other options. Issue: https://github.com/dotnet/diagnostics/issues/576

Doc RHEL lldb install. Issue: https://github.com/dotnet/diagnostics/issues/483

Add setclrpath command to dotnet-dump on linux. Mentioned in https://github.com/dotnet/diagnostics/issues/624

Issue: https://github.com/dotnet/diagnostics/issues/590

Add -timeout option to SetSymbolServer command. Issue: https://github.com/dotnet/diagnostics/issues/602

Use CommandPlatform on Windows specific commands

Don't use the desktop clr to host SOS managed code.

Don't allow dumplog on desktop clr target.

Cleanup SOSHost "is runtime" checks.

Removed unneeded install of the x86 SDK in InstallRuntimes.proj

Fix SOS on Windows where it needs to download the DAC but the symbol
server store was never initialized from the .sympath. This is even
more important when both coreclr and desktop clr are loaded in the
process/minidump.

Update to 3.0.1 runtime version

* Fix scheduled build (#696)

* Revert back to 3.0.100 SDK version (#697)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191214.22 (#698)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19614.22

* Update dependencies from https://github.com/dotnet/arcade build 20191215.1 (#699)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19615.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19615.1

* add .NET Standard 2.0 for diagnostics client library (#700)

* Update windows-instructions.md

* Make MultiplePublishedProcessTest more stable (#701)

* Make MultiplePublishedProcessTest more stable

* Make scheduled builds full official builds (#703)

Publish all the artifacts to the blob feeds for the scheduled builds so
the vendors don't have to do thier error prone builds.

Some minor cleanup to remove some pipeline warnings.

Change ClrStack casing in help docs to be consistent

Remove SDK entry in global.json so VS works

Update version prefix to 5.0.0

* Bump up DiagnosticsClient library version to 0.2.0 (#704)

* Revert _Pipeline_StreamDumpDir removal (#707)

* Reduce predeftlsslot.h to the set that SOS actually depends on (#709)

* Avoid NullReferenceException in case the code path is run under an incompatible runtime (#711)

* Add verbose info to clrmodules command. (#712)

Add version info to modules command.

* [master] Update dependencies from aspnet/AspNetCore (#706)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191216.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19616.1

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191218.3

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19618.3

* Update clrmd to version 1.1.61812 (module size and version info fixes) (#715)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191219.2 (#716)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19619.2

* Initial commit (#714)

* Fix EventPipe tests to use the new DiagnosticsClient library (#720)

* Change all the EventPipe tests to use DiagnosticsClient library

* Specify keyword for SentinelEventSource

* Fix MethodEvents

* Specify keywords for MyEventSource

* Display rundown information when stopping trace (#721)

* Remove legacy RuntimeClient library (#722)

* [master] Update dependencies from aspnet/AspNetCore (#718)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191220.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19620.1

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191223.2

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19623.2

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191226.3

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19626.3

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191227.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19627.1

* [master] Update dependencies from dotnet/arcade (#719)

* Update dependencies from https://github.com/dotnet/arcade build 20191222.1

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19622.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19622.1

* Update dependencies from https://github.com/dotnet/arcade build 20191229.1

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19629.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19629.1

* [master] Update dependencies from dotnet/runtime (#713)

* Update dependencies from https://github.com/dotnet/runtime build 20191218.3

- Microsoft.NETCore.App - 5.0.0-alpha.1.19618.3

* Update dependencies from https://github.com/dotnet/runtime build 20191219.11

- Microsoft.NETCore.App - 5.0.0-alpha.1.19619.11

* Update dependencies from https://github.com/dotnet/runtime build 20191220.3

- Microsoft.NETCore.App - 5.0.0-alpha.1.19620.3

* Update dependencies from https://github.com/dotnet/runtime build 20191221.1

- Microsoft.NETCore.App - 5.0.0-alpha.1.19621.1

* Update dependencies from https://github.com/dotnet/runtime build 20191222.1

- Microsoft.NETCore.App - 5.0.0-alpha.1.19622.1

* Update dependencies from https://github.com/dotnet/runtime build 20191223.2

- Microsoft.NETCore.App - 5.0.0-alpha.1.19623.2

* Update dependencies from https://github.com/dotnet/runtime build 20191226.2

- Microsoft.NETCore.App - 5.0.0-alpha.1.19626.2

* Update dependencies from https://github.com/dotnet/runtime build 20191227.5

- Microsoft.NETCore.App - 5.0.0-alpha.1.19627.5

Co-authored-by: Mike McLaughlin <[email protected]>

* Fix sample code to actually print string name of the CLR events (#728)

* Some misc fixes to counters doc (#729)

* Misc cleanup and fixes found during runtime change testing.

Change ctrl-c message issue: https://github.com/dotnet/diagnostics/issues/532

Revert 5.0.x runtime version until issue https://github.com/dotnet/runtime/issues/1229 is fixed.

* Abstract all the runtime specific info and class.

Add IRuntime/Runtime classes.

The code to get the runtime module address/size info, DAC/DBI file path, create/get the
SOS DAC process instance and to create/get the ICorDebug process instance to the Runtime
class implementation. It was moved mostly intack with some type and function name changes.

Added -desktop and -netcore options to the !sosstatus command to switch between runtimes.

Eventually SOSHosting will provide the IRuntime instance when hosted under dotnet-dump.

Fix unloading/reloading SOS (under windbg) issue: https://github.com/dotnet/diagnostics/issues/386

Flush process specific global state when process terminates issue: https://github.com/dotnet/diagnostics/issues/479

* Add dual .NET Core/desktop CLR runtime test

Added an desktop host native DLL that the modified WebApp3 debuggee
optionally pinvokes to start the desktop CLR. An modified SymbolTestDll
is the managed assembly that this desktop host loads and runs.

Fixed bug in GetClrModuleImages.

* Update dependencies from https://github.com/dotnet/arcade build 20200105.1 (#730)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20055.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20055.1

* Update FAQ.md

* [master] Update dependencies from dotnet/runtime (#725)

* Update dependencies from https://github.com/dotnet/runtime build 20191230.4

- Microsoft.NETCore.App - 5.0.0-alpha.1.19630.4

* Update dependencies from https://github.com/dotnet/runtime build 20191231.3

- Microsoft.NETCore.App - 5.0.0-alpha.1.19631.3

* Update dependencies from https://github.com/dotnet/runtime build 20200101.1

- Microsoft.NETCore.App - 5.0.0-alpha.1.20051.1

* Update dependencies from https://github.com/dotnet/runtime build 20200102.3

- Microsoft.NETCore.App - 5.0.0-alpha.1.20052.3

* Update dependencies from https://github.com/dotnet/runtime build 20200103.4

- Microsoft.NETCore.App - 5.0.0-alpha.1.20053.4

* Update dependencies from https://github.com/dotnet/runtime build 20200104.2

- Microsoft.NETCore.App - 5.0.0-alpha.1.20054.2

* Update dependencies from https://github.com/dotnet/runtime build 20200105.4

- Microsoft.NETCore.App - 5.0.0-alpha.1.20055.4

* Update dependencies from https://github.com/dotnet/runtime build 20200106.3

- Microsoft.NETCore.App - 5.0.0-alpha.1.20056.3

* Update dependencies from https://github.com/dotnet/runtime build 20200107.6

- Microsoft.NETCore.App - 5.0.0-alpha.1.20057.6

Co-authored-by: Mike McLaughlin <[email protected]>

* Handle glibc sys/sysctl.h deprecation (#27048) (#681)

glibc has deprecated sys/sysctl.h:

    In file included from /coreclr/src/pal/src/misc/sysinfo.cpp:32:
    /usr/include/sys/sysctl.h:21:2: error: "The <sys/sysctl.h> header is deprecated and will be removed." [-Werror,-W#warnings]
    #warning "The <sys/sysctl.h> header is deprecated and will be removed."
     ^
    1 error generated.

Fix that by preferring sysconf and only including sys/sysctl.h if
HAVE_SYSCONF is not true. This mirrors the order of the implementation
code in this file (sysinfo.cpp) which checks for HAVE_SYSCONF
before HAVE_SYSCTL.

Fixes #27008

Co-authored-by: Omair Majid <[email protected]>

* [master] Update dependencies from aspnet/AspNetCore (#726)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191230.2

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19630.2

* Update dependencies from https://github.com/aspnet/AspNetCore build 20200102.2

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20052.2

* Update dependencies from https://github.com/aspnet/AspNetCore build 20200104.2

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20054.2

* Update dependencies from https://github.com/aspnet/AspNetCore build 20200106.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20056.1

* Update dependencies from https://github.com/aspnet/AspNetCore build 20200106.6

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20056.6

Co-authored-by: Mike McLaughlin <[email protected]>

* Update FAQ.md

* Update dependencies from https://github.com/dotnet/runtime build 20200108.9 (#735)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20058.9

* Fix newline formatting for dotnet-trace provider info (#737)

* Add --clrevents flag to dotnet-trace (#738)

* Add clrevents flag

* Ignore clrevents if providers is already specified

* Docs change

* Change the error message a little bit

* case insensitive comparison for keywords, add clreventlevel option

* Threw back in a line that was deleted accidentally

* Add test for CLR provider parsing

* use stringcomparer instead of tolower

* Update dependencies from https://github.com/dotnet/runtime build 20200109.11 (#739)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20059.11

* Update dependencies from https://github.com/dotnet/runtime build 20200110.7 (#741)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20060.7

* Update dependencies from https://github.com/dotnet/runtime build 20200111.3 (#743)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20061.3

* Update dependencies from https://github.com/dotnet/arcade build 20200112.1 (#744)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20062.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20062.1

* Update dependencies from https://github.com/dotnet/runtime build 20200112.3 (#745)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20062.3

* Fix line number issues in SOS (#734)

Fix line number issues in SOS

The change is to subtract 1 from the IP used to get the source/line info when the stack frame is a leaf node. For hardware exceptions, the IP has already been adjusted (+1) by the runtime so they cancel out.

Fixes in SOS the same issues reported in https://github.com/dotnet/coreclr/issues/27765 and https://github.com/dotnet/coreclr/issues/25740 for the runtime's unhandled exception message.

Add some more PrintException -lines testing for thrown and hardware exceptions.

Gracefully fail with runtime module size == 0.

Fix "clrmodules" failure our vendors found.

Add line number (LineNum) check testcase

* Update dependencies from https://github.com/dotnet/runtime build 20200113.7 (#747)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20063.7

* Update dependencies from https://github.com/dotnet/runtime build 20200114.4 (#750)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20064.4

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200114.4 (#751)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20064.4

Co-authored-by: Mike McLaughlin <[email protected]>

* Change Versions.props so darc updates don't conflict (#752)

* Update dependencies from https://github.com/dotnet/runtime build 20200115.4 (#755)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20065.4

* Build Windows arm64 version of SOS. (#754)

Build Windows arm64 version of SOS.

Make sure that the "BuildArch" msbuild property is always passed to managed and native builds.

Add the arm64 SOS to the various packages and zip files.

The diasymreader package for Windows PDB support is currently disabled for arm64 waiting
for issue https://github.com/dotnet/diagnostics/issues/324 to be addressed.

* Update dependencies from https://github.com/dotnet/runtime build 20200116.11 (#757)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20066.11

* Update dependencies from https://github.com/dotnet/runtime build 20200117.9 (#759)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20067.9

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200117.2 (#760)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20067.2

* Update dependencies from https://github.com/dotnet/runtime build 20200118.4 (#762)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20068.4

* Update dependencies from https://github.com/dotnet/arcade build 20200118.1 (#763)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20068.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20068.1

* Update dependencies from https://github.com/dotnet/runtime build 20200119.2 (#764)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20069.2

* Update dependencies from https://github.com/dotnet/runtime build 20200120.4 (#765)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20070.4

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200120.2 (#766)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20070.2

* Misc SOS fixes (#758)

Misc SOS fixes

Change "dbgout" command not to require EE or DAC (use INIT_API_EXT).

Fix case where the DAC is already in the temp directory because of a
loadsymbols command when symlink'ing it on Linux.

Allow just setsymbolserver -log without any other options.

* Update dependencies from https://github.com/dotnet/runtime build 20200121.7 (#768)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20071.7

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200121.6 (#769)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20071.6

* Update dependencies from https://github.com/dotnet/runtime build 20200122.3 (#773)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20072.3

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200123.2 (#775)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20073.2

* Update dependencies from https://github.com/dotnet/runtime build 20200123.8 (#774)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20073.8

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200124.1 (#777)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20074.1

* Update dependencies from https://github.com/dotnet/runtime build 20200124.8 (#776)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20074.8

* Update dependencies from https://github.com/dotnet/runtime build 20200125.5 (#778)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20075.5

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200125.3 (#779)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20075.3

* Update dependencies from https://github.com/dotnet/arcade build 20200126.3 (#780)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20076.3
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20076.3

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200126.1 (#782)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20076.1

* Update dependencies from https://github.com/dotnet/runtime build 20200126.2 (#781)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20076.2

* Changing the output text to say 'dump' rather than 'minidump' to avoid confusion with the minidump file format over in windows land. (#772)

* Update dependencies from https://github.com/dotnet/runtime build 20200127.11 (#783)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20077.11

* Update dependencies from https://github.com/dotnet/runtime build 20200128.2 (#786)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20078.2

* Show optimization tiers for runtime major version >= 3 (including 5) (#785)

Show optimization tiers for runtime major version >= 3 (including 5)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200129.7 (#787)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20079.7

* Various misc changes and SOS fixes (#789)

Misc build changes

Fix source/line number support

Make sure the ip doesn't get adjusted before the start of the function.

Allow `!SuppressJitOptimization on` to be used before the runtime is loaded and on xplat

Add display il map option to !u

* Fix official build failures with latest runtime (#795)

* [master] Update dependencies from dotnet/runtime (#793)

* Update dependencies from https://github.com/dotnet/runtime build 20200130.10

- Microsoft.NETCore.App - 5.0.0-alpha.1.20080.10

* Update dependencies from https://github.com/dotnet/runtime build 20200201.1

- Microsoft.NETCore.App - 5.0.0-alpha.1.20101.1

* Update dependencies from https://github.com/dotnet/runtime build 20200201.3

- Microsoft.NETCore.App - 5.0.0-alpha.1.20101.3

* Update dependencies from https://github.com/dotnet/arcade build 20200201.2 (#796)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20101.2
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20101.2

* Update dependencies from https://github.com/dotnet/runtime build 20200202.3 (#797)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20102.3

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200203.9 (#799)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20103.9

* Update dependencies from https://github.com/dotnet/runtime build 20200203.10 (#798)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20103.10

* Add weak WinRT handle kind (#800)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200205.1 (#802)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20105.1

* Remove dead codes (#806)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200207.8 (#813)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20107.8

* Fix the Windows private runtime build testing problems (#807)

Fix the Windows private runtime build testing problems

Enable the "setclrpath" for Windows.

Change the SOS test harness and scripts to set the runtime path for triage dumps.

Add -privatebuildpath option to build scripts that installs the test runtimes, copies
the private runtime build and on Windows regedit's the necessary keys to create dumps.

Add private build registry cleanup.

* Update dependencies from https://github.com/dotnet/arcade build 20200209.1 (#814)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20109.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20109.1

* Do not clear the screen if returning error at launch (#815)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200210.4 (#822)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20110.4

* Fix ps handler for elevated process (#749)

* Make diagnostics client library tests not sleep (#742)

* Make the diagnostics client library tests not sleep

* Remove thread.sleep

* task.delay instead of thread.sleep

* Fix failing test

* Properly encode semicolon in argument strings for EventPipeProvider (#824)

* Add quotation to semicolon in argument string for EventPipeProvider

* Add test

* remove dup

* Wrap the entire argument string in quotes instead

* Add more test

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200211.6 (#828)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20111.6

* Try to get UnixDomainSocketEndPoint from System.Core if not found in System.Net.Sockets (#826)

Fixes #821

* Escape EventPipeProvider argument key as well (#825)

* Escape EventPipeProvider argument key as well

* put the brace where it was

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200212.5 (#830)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20112.5

* Get UnixDomainSocketEndPoint using Type.GetType() to avoid FileNotFoundException (#829)

Fixes #821

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200213.23 (#831)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20113.23

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200214.15 (#833)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20114.15

* [master] Update dependencies from dotnet/runtime (#827)

* Update dependencies from https://github.com/dotnet/runtime build 20200212.1

- Microsoft.NETCore.App - 5.0.0-alpha.1.20112.1

* Update dependencies from https://github.com/dotnet/runtime build 20200212.12

- Microsoft.NETCore.App - 5.0.0-preview.1.20112.12

* Update dependencies from https://github.com/dotnet/runtime build 20200213.7

- Microsoft.NETCore.App - 5.0.0-preview.1.20113.7

* Update dependencies from https://github.com/dotnet/runtime build 20200214.8

- Microsoft.NETCore.App - 5.0.0-preview.1.20114.8

* Update dependencies from https://github.com/dotnet/runtime build 20200215.9

- Microsoft.NETCore.App - 5.0.0-preview.1.20115.9

* Update dependencies from https://github.com/dotnet/arcade build 20200216.1 (#834)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20116.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20116.1

* Update dependencies from https://github.com/dotnet/runtime build 20200217.2 (#835)

- Microsoft.NETCore.App - 5.0.0-preview.1.20117.2

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200216.1 (#836)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20116.1

* Update dependencies from https://github.com/dotnet/runtime build 20200217.8 (#838)

- Microsoft.NETCore.App - 5.0.0-preview.1.20117.8

* Update dependencies from https://github.com/dotnet/runtime build 20200218.7 (#840)

- Microsoft.NETCore.App - 5.0.0-preview.1.20118.7

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200218.8 (#841)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20118.8

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200219.7 (#843)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20119.7

* dotnet-gcdump: Update docs to include print verb

* [master] Update dependencies from dotnet/runtime (#842)

* Update dependencies from https://github.com/dotnet/runtime build 20200219.9

- Microsoft.NETCore.App - 5.0.0-preview.2.20119.9

* Update dependencies from https://github.com/dotnet/runtime build 20200220.8

- Microsoft.NETCore.App - 5.0.0-preview.2.20120.8

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200221.13 (#850)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20121.13

* Microsoft.Diagnostics.NETCore.Client Documentation (#845)

* some docs

* More API descriptions

* fix broken links

* More link

* link

* cleanup

* pr feedback

* PR feedback

* Update dependencies from https://github.com/dotnet/arcade build 20200223.1 (#851)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20123.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20123.1

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200224.10 (#853)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20124.10

* Updates tryrun.cmake for cross build (#837)

Fix cross build:
```
...
-- Performing Test UNGETC_NOT_RETURN_EOF
CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
   UNGETC_NOT_RETURN_EOF_EXITCODE (advanced)
   UNGETC_NOT_RETURN_EOF_EXITCODE__TRYRUN_OUTPUT (advanced)
For details see /home/viewizard/Desktop/diagnostics/artifacts/obj/Linux.armel.Release/TryRunResults.cmake
-- Performing Test UNGETC_NOT_RETURN_EOF - Success
...
```
Related to cmake changes (starts from 3.14.0-rc3, https://gitlab.kitware.com/cmake/cmake/commit/92d9ec9bfb61d2cd35a82d6906de86c71350b865)
More info: https://gitlab.kitware.com/cmake/cmake/issues/18973

* Update dependencies from https://github.com/dotnet/runtime build 20200225.1 (#854)

- Microsoft.NETCore.App - 5.0.0-preview.2.20125.1

* Add SECURITY.md

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200225.12 (#857)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20125.12

* Update dependencies from https://github.com/dotnet/runtime build 20200225.16 (#856)

- Microsoft.NETCore.App - 5.0.0-preview.2.20125.16

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200226.7 (#863)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20126.7

* Update dependencies from https://github.com/dotnet/runtime build 20200227.14 (#864)

- Microsoft.NETCore.App - 5.0.0-preview.2.20127.14

* Update dependencies from https://github.com/dotnet/runtime build 20200228.16 (#865)

- Microsoft.NETCore.App - 5.0.0-preview.2.20128.16

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200228.11 (#866)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20128.11

* dotnet-gcdump: Update docs to include new print verb

* Update dependencies from https://github.com/dotnet/runtime build 20200229.8 (#867)

- Microsoft.NETCore.App - 5.0.0-preview.2.20129.8

* Update dependencies from https://github.com/dotnet/arcade build 20200301.1 (#868)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20151.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20151.1

* Update dependencies from https://github.com/dotnet/runtime build 20200301.4 (#869)

- Microsoft.NETCore.App - 5.0.0-preview.2.20151.4

* Fix whitespace in SECURITY.md (#870)

* Update dependencies from https://github.com/dotnet/runtime build 20200302.11 (#872)

- Microsoft.NETCore.App - 5.0.0-preview.2.20152.11

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200302.3 (#873)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20152.3

* Pipeline consolidation, added SDL and signature verification. (#852)

* Consolidate CI and Build pipelines

* Add source checks to pipelines

- Disable CI.
- Enable exclusions for documentation and license.

* Encompass all prior jobs into a single job for SDL/Publishing v2 changes

* Add Alpine to PR testing

* Use Publishing v2 and run SDL on official builds

This modifies how we publish symbols, usual packages,
and runs policheck and crediscan against internal builds.

This also runs signature validation, nuget validity, and sourcelink.

* Delete UnicodeData.txt

This was brought with the coreclr's pal but was deleted in dotnet/coreclr#24581
This was used to generate sources, but not automatically as part of the build.
The generated file is checked in, and SOS's is already outdated.

* Fix Policheck issues

Fixes all the flagged terms except for API contracts, false positives, and files aquired from LLDB.

* Add alpine debug to testing

* Fix whitespace

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200305.1 (#877)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20155.1

* Update build.yml to use OSX 10.14 (#874)

* Update build.yml

* try xcode version 9.4.1

* Try 10.3

* Fix print statements in lldbhelper.py

* PR feedback

* try to fix build

* Add symbol publishing property to disable the special indexing (#888)

Fixes the "DUP" errors in the symbol publishing stage.

* Update dependencies from https://github.com/dotnet/arcade build 20200308.2 (#890)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20158.2
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20158.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Create dotnet-monitor tool (#878)

* Create dotnet-monitor tool
* Listens for TraceEvent for logging and metrics.
* Currently supports a console sink, and a Log Analytics metric sink
* Designed to be used in an Aks sidecar to produce logging/metrics.

* bump trace event version to be able to use new file format

* handle the new file format

* [master] Update dependencies from dotnet/runtime (#876)

* Update dependencies from https://github.com/dotnet/runtime build 20200304.1

- Microsoft.NETCore.App - 5.0.0-preview.2.20154.1

* Update dependencies from https://github.com/dotnet/runtime build 20200305.1

- Microsoft.NETCore.App - 5.0.0-preview.2.20155.1

* Update dependencies from https://github.com/dotnet/runtime build 20200305.3

- Microsoft.NETCore.App - 5.0.0-preview.2.20155.3

* Update dependencies from https://github.com/dotnet/runtime build 20200309.13

- Microsoft.NETCore.App - 5.0.0-preview.3.20159.13

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* [master] Update dependencies from dotnet/aspnetcore (#886)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200306.9

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20156.9

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200307.4

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20157.4

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200308.5

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20158.5

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200309.15

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20159.15

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Fix several issues in build and publishing (#889)

* Make packages explicitly Shipping/Non-Shipping

* Work around SDK bug that trips sourcelink validation

* Cleanup properies in publishing

 These properties used to be needed, but they have been removed in arcade.
 The new workflow is to use pipeline publishing which this repo uses.

* Make publishing explicit for test products that need it

This will save us from hardcoding paths by making it more explicit.
That way when we clean up and decouple builds we can have breaks when needed.
It also brings down artifact size from 318 MB to 206
for xcopy tests needed for helix.

* Correctly bubble up native build issues.

* Change dotnet-monitor tool to non-shipping temporarily (#891)

* Revert "[master] Update dependencies from dotnet/aspnetcore (#886)" (#897)

This reverts commit ee8ed8048c825db6af021dc794e3ecc0d649df03. This version of the AspNetCore runtime still works against a busted version of the runtime.

* Add darc dependency to symstore (#898)

* Update versions of older runtimes to test

* Add symstore dependency for automated dependency flow

* Update dependencies from https://github.com/dotnet/arcade build 20200310.4 (#899)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20160.4
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20160.4

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/symstore build 20200309.4 (#900)

- Microsoft.SymbolStore - 1.0.115904

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* install latest version of System.Runtime.CompilerServices.Unsafe to avoid "Could not load file or assembly” error

* Update dependencies from https://github.com/dotnet/runtime build 20200310.8 (#901)

- Microsoft.NETCore.App - 5.0.0-preview.3.20160.8

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* update TraceEvent and revert the workaround

* Change the "dotnet-dump collect" default to "full" dumps. (#903)

The new "full" dump collection type includes all the module images
on both Windows and Linux. The old default type "Heap" is still
the same and can be used if the dump is too big.

Full dumps are roughly 1.5 times bigger on Windows and 30%
bigger on Linux for a simple webapp.

Issue: https://github.com/dotnet/diagnostics/issues/808

* Update dependencies from https://github.com/dotnet/runtime build 20200311.9 (#904)

- Microsoft.NETCore.App - 5.0.0-preview.3.20161.9

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Remove checking for python (#906)

* Update dependencies from https://github.com/dotnet/symstore build 20200313.2 (#916)

- Microsoft.SymbolStore - 1.0.116302

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update diagnostics-client-library-instructions.md (#917)

Missing semicolon.

Excited to see this documentation :)

* Add .NET Core hosting location file support (#915)

* Add .NET Core hosting location file support

Look for the /etc/dotnet/install_location file on Linux/MacOS
for the .NET Core runtime to host SOS's managed code.

Didn't add the check for Windows registry key at this time
because we may switch to the desktop CLR as the host.

Issue #https://github.com/dotnet/diagnostics/issues/882

Add 5.0 to the list of hosting runtime versions.

* Code review feedback

* Update to clrmd 1.1.116301 (#918)

* Update dependencies from https://github.com/dotnet/arcade build 20200312.3 (#919)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20162.3
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20162.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/symstore build 20200316.1 (#922)

- Microsoft.SymbolStore - 1.0.116601

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Fix coreclr paths to match new runtime repo (#923)

* [dotnet-dump] Allow Linux core dumps to be loaded on WIndows (#927)

* [dotnet-dump] Allow Linux core dumps to be loaded on WIndows

* Respond to feedback

* Fix dotnet-dump analyze <dump-path> -c exit (#924)

* Fix dotnet-dump analyze <dump-path> -c exit

The exit command would fail to exit the analyze process when
executed from the command line.

* Move fix to ConsoleProvider per feedback, simplify

* Fix cross-dac Runtime::CreateInstance() (#928)

* Fix LoadNativeSymbols for cross-dac (#929)

* Update NuGet.configto include dotnet5, eng, and tools feeds (#932)

* [master] Update dependencies from dotnet/aspnetcore (#902)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200310.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20160.1

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200311.8

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20161.8

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200312.5

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20162.5

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200314.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20164.1

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200314.4

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20164.4

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200317.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20167.1

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200318.5

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20168.5

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200320.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20170.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Disable Microsoft.Diagnostics.NETCore.Client.WriteAllDumpTypesTest (#934)

Given dotnet/diagnostics#913 I'm disabling this test until it can get investigated.

This path is exerted in @d366deb src/Tools/dotnet-dump/Dumper.cs:77 and dotnet-dump has several tests for collecting dump types, so even if we disable the test, we will still get some coverage.

* [master] Update dependencies from dotnet/runtime (#925)

* Update dependencies from https://github.com/dotnet/runtime build 20200317.12

- Microsoft.NETCore.App - 5.0.0-preview.3.20167.12

* Update dependencies from https://github.com/dotnet/runtime build 20200318.9

- Microsoft.NETCore.App - 5.0.0-preview.3.20168.9

* Update dependencies from https://github.com/dotnet/runtime build 20200319.13

- Microsoft.NETCore.App - 5.0.0-preview.3.20169.13

* Update dependencies from https://github.com/dotnet/runtime build 20200320.8

- Microsoft.NETCore.App - 5.0.0-preview.3.20170.8

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200321.1 (#935)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20171.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/runtime build 20200321.6 (#937)

- Microsoft.NETCore.App - 5.0.0-preview.3.20171.6

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/runtime build 20200322.1 (#939)

- Microsoft.NETCore.App - 5.0.0-preview.3.20172.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/arcade build 20200321.1 (#938)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20171.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20171.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Fix Runtime::GetRuntime*Name() for cross-dac (#930)

* Fix Runtime::GetRuntime*Name() for cross-dac

* Refactor GetRuntime*Name()

Add IRuntime::RuntimeConfiguration
Add IRuntime::GetRuntimeConfiguration()
Remove IRuntime::IsDesktop()
Remove NETCORE_RUNTIME*
Remove DESKTOP_RUNTIME*

* Fix dotnet-dump analyze clrmd CreateRuntime (#940)

* Update dependencies from https://github.com/dotnet/runtime build 20200324.1 (#945)

- Microsoft.NETCore.App - 5.0.0-preview.3.20174.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200323.4 (#946)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20173.4

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* dotnet-dump analyze dso (#944)

Fix dso for cross dac case

* Update dependencies from https://github.com/dotnet/symstore build 20200323.1 (#947)

- Microsoft.SymbolStore - 1.0.117301

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* dotnet-dump analyze clrthreads -special (#943)

* dotnet-dump analyze clrthreads -special

Detect support at runtime

* Add ONLY_SUPPORTED_ON_WINDOWS_TARGET() (#948)

Some commands are not included in Linux support.
Add ONLY_SUPPORTED_ON_WINDOWS_TARGET() to disable these
commands when working with Linux dumps on Windows.

* Mark more APIs ONLY_SUPPORTED_ON_WINDOWS_TARGET (#949)

* Mark more APIs ONLY_SUPPORTED_ON_WINDOWS_TARGET

Mark all commands not reachable from Linux LLVM
or dotnet-dump analyze on Linux ONLY_SUPPORTED_ON_WINDOWS_TARGET

* Support testing internal service releases (#926)

Support testing internal service releases

Adds 3 pipeline variables that need to be set testing an internal service release:

InternalRuntimeSourceVersion - the service release version i.e. 2.1.17, 3.1.3, etc.
InternalRuntimeSourceFeed    - the service release internal feed
InternalRuntimeSourceFeedKey - the service release feed PAT

No longer runs the tests on desktop framework if private build or internal service release.

Remove dailytest option

* Add IsWindowsTarget() (#951)

* Add IsWindowsTarget()

Add runtime logic to disable Windows only code
when diagnosing Linux dumps on Windows

* Update dependencies from https://github.com/dotnet/runtime build 20200324.7 (#952)

- Microsoft.NETCore.App - 5.0.0-preview.3.20174.7

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200324.9 (#953)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20174.9

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* dotnet-dump analyze enable cross DAC lookup (#954)

* Fix SOSHost.IsCoreClrRuntimeModule()

* Fix cross DAC LoadNativeSymbols()

This allows the SOSHost to find the cross DAC in the symbol cache

* Feedback

When creating a SymbolStoreKey semi-clone copy all the fields

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200325.16 (#957)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20175.16

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/symstore build 20200325.1 (#958)

- Microsoft.SymbolStore - 1.0.117501

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* [master] Update dependencies from dotnet/runtime (#956)

* Update dependencies from https://github.com/dotnet/runtime build 20200325.10

- Microsoft.NETCore.App - 5.0.0-preview.3.20175.10

* Update dependencies from https://github.com/dotnet/runtime build 20200326.12

- Microsoft.NETCore.App - 5.0.0-preview.3.20176.12

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update core dump debugging workflow (#962)

* Update dependencies from https://github.com/dotnet/runtime build 20200328.1 (#963)

- Microsoft.NETCore.App - 5.0.0-preview.3.20178.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* [master] Update dependencies from dotnet/aspnetcore (#960)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200326.15

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20176.15

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200327.8

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20177.8

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/runtime build 20200329.1 (#964)

- Microsoft.NETCore.App - 5.0.0-preview.3.20179.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200328.11 (#965)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20178.11

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dotnet-tools.md

* Update dotnet-tools.md

* Update dependencies from https://github.com/dotnet/runtime build 20200330.1 (#967)

- Microsoft.NETCore.App - 5.0.0-preview.3.20180.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200329.3 (#968)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20179.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Fix some misc SOS issues (#966)

* Display some more MT info

* Issue https://github.com/dotnet/diagnostics/issues/816

* Issue https://github.com/dotnet/diagnostics/issues/941

* Issue https://github.com/dotnet/diagnostics/issues/942

* Fix sosstatus runtime size display

* Update dependencies from https://github.com/dotnet/runtime build 20200330.15 (#969)

- Microsoft.NETCore.App - 5.0.0-preview.3.20180.15

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200330.11 (#970)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.4.20180.11

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200331.16 (#972)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.4.20181.16

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/runtime build 20200401.1 (#971)

- Microsoft.NETCore.App - 5.0.0-preview.4.20201.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Report missing DAC error for cross DAC clrstack -i (#973)

* Report missing DAC error for cross DAC clrstack -i

* Feedback

* Report stack walk failures (#975)

* Fix description list command (#974)

* cleanup unused field, fix description of GC collection counts in list command

* Fix build

* Update dependencies from https://github.com/dotnet/runtime build 20200401.19 (#977)

- Microsoft.NETCore.App - 5.0.0-preview.4.20201.19

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200401.16 (#978)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.4.20201.16

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Link Code of Conduct (#980)

* Update dependencies from https://github.com/dotnet/runtime build 20200402.18 (#981)

- Microsoft.NETCore.App - 5.0.0-preview.4.20202.18

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200402.13 (#982)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.4.20202.13

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/runtime build 20200404.1 (#984)

- Microsoft.NETCore.App - 5.0.0-preview.4.20204.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/symstore build 20200403.1 (#986)

- Microsoft.SymbolStore - 1.0.120301

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200403.11 (#985)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.4.20203.11

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Filter the tools' own PID out of ps command result (#983)

* Update dependencies from https://github.com/dotnet/runtime build 20200404.15 (#988)

- Microsoft.NETCore.App - 5.0.0-preview.4.20204.15

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/arcade build 20200401.2 (#989)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20201.2
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20201.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/runtime build 20200405.13 (#990)

- Microsoft.NETCore.App - 5.0.0-preview.4.20205.13

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Remove dotnet-counters' unnecessary dependencies (#992)

Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sung Yoon Whang <[email protected]>
Co-authored-by: Paul Harrington <[email protected]>
Co-authored-by: Adam Sitnik <[email protected]>
Co-authored-by: jiangzeng01 <[email protected]>
Co-authored-by: Sean-Driscoll <[email protected]>
Co-authored-by: Jan Kotas <[email protected]>
Co-authored-by: Andrew Au <[email protected]>
Co-authored-by: Dongkyun Son <[email protected]>
Co-authored-by: Omair Majid <[email protected]>
Co-authored-by: Andy Sterland <[email protected]>
Co-authored-by: Koundinya Veluri <[email protected]>
Co-authored-by: Next Turn <[email protected]>
Co-authored-by: Ilia <[email protected]>
Co-authored-by: Mohammad Mustakim Ali <[email protected]>
Co-authored-by: Mikhail Kurinnoi <[email protected]>
Co-authored-by: dotnet-bot <[email protected]>
Co-authored-by: Juan Hoyos <[email protected]>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Wiktor Kopec <[email protected]>
Co-authored-by: John Salem <[email protected]>
Co-authored-by: Mike Murkovic <[email protected]>
Co-authored-by: Steve MacLean <[email protected]>
Co-authored-by: Mohammad Mustakim Ali <[email protected]>
Co-authored-by: Immo Landwerth <[email protected]>
@raducojocari
Copy link

I've been seeing a the exact same problem on MacOs. Adding an env var COMPlus_DbgEnableElfDumpOnMacOS:1 in the target process fixed it

@ghost ghost locked as resolved and limited conversation to collaborators Jun 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Documentation related issue dotnet-dump
Projects
None yet
Development

No branches or pull requests

3 participants