diff options
author | Mike McLaughlin <mikem@microsoft.com> | 2018-12-13 15:37:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-13 15:37:21 -0800 |
commit | a6403ba4d9187fc19af8e3dc64ec3e9e937d53eb (patch) | |
tree | 9254e8fa8720658b0fe556fbfd638662030e4868 /src/pal/src | |
parent | 6b9e1dc685e55430d1471baa799db32bc2807a1c (diff) | |
download | coreclr-a6403ba4d9187fc19af8e3dc64ec3e9e937d53eb.tar.gz coreclr-a6403ba4d9187fc19af8e3dc64ec3e9e937d53eb.tar.bz2 coreclr-a6403ba4d9187fc19af8e3dc64ec3e9e937d53eb.zip |
Fixes issue #21485 and #21484 (#21526)
Issue #21485: fix EnumProcessModules hPseudoCurrentProcess bug.
Added handle reference.
Issue #21484: createdump segfaults with ASP.NET app
The problem is the ClrDataModule Request faulted on a dynamic module
getting the file layout flag.
Fixed the Request code not get the file layout and in the crash dump
code skip any dynamic modules.
Diffstat (limited to 'src/pal/src')
-rw-r--r-- | src/pal/src/thread/process.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pal/src/thread/process.cpp b/src/pal/src/thread/process.cpp index a964ee8829..dcaa307e36 100644 --- a/src/pal/src/thread/process.cpp +++ b/src/pal/src/thread/process.cpp @@ -2859,6 +2859,7 @@ GetProcessModulesFromHandle( if (hPseudoCurrentProcess == hProcess) { pobjProcess = g_pobjProcess; + pobjProcess->AddReference(); } else { |