Comments (5)
I found the issue, unfortunately it's difficult to work around. The underlying problem is that this if
block is missing on Desktop CLR:
I will file an internal bug about this and try to get it fixed in Desktop CLR. Unfortunately I don't plan to do some crazy workaround for this in ClrMD unless there's no fix for it in CLR 4.8.
from clrmd.
Actually I've found a really ugly workaround and submitted it as acd7268. This will be fixed in ClrMD 1.0
from clrmd.
This is unrelated, we don't use that area of the runtime in ClrMD.
AFAIK the most recent versions of ClrMD 1.1 and 2.0 should not be affected by this issue.
from clrmd.
I'm also seeing a memory leak doing almost exactly what you posted :/.
from clrmd.
I noticed the following .NET Framework bugfix (from https://devblogs.microsoft.com/dotnet/net-framework-january-preview-of-quality-rollup/):
There is a race condition in the portable PDB metadata provider cache that leaked providers and caused crashes in the diagnostic StackTrace API. To fix the race, detect the cause where the provider wasn’t being disposed and dispose it.
Maybe that is related to this issue?
from clrmd.
Related Issues (20)
- This repo is missing important files
- Could not find matching DAC for process on macOS after switching to ClrMD 2.1
- ILOffsetMap points to QuickJitted assembly code even after method has been Tier-1 compiled (.NET 7+) HOT 1
- Where are the release notes for ClrMD 3.0 ? HOT 3
- Threads are not update after flush HOT 3
- ClrMd floods syslog with stackwalk messages HOT 1
- CreateStackWalk failed error messages in syslog HOT 5
- Using CreateSnapshotAndAttach leaves a process running on Linux using ClrMD 3.1.456101 and .NET 8 HOT 2
- Cross-Platform Analysis? HOT 1
- Unable to attach to macOS process HOT 1
- JIT Compilation type returns none for MinOptJitted method in .NET 6.0
- Execute ClrHeap.EnumerateRoots stops process with exit code 139 HOT 1
- How to get stack variables and their values? HOT 1
- Cannot calculate memory size correctly, from CLR Objects .Size property HOT 2
- GetMethodByHandle is not able to retrieve constructed generic methods HOT 1
- Access to static object yields Invalid HOT 2
- Missing methods in ClrMd 2.0 HOT 6
- Enumerate over a ClrType that implements IEnumerable HOT 2
- Building the ClrMd Samples HOT 1
- _isVirtual has to be set as true in the context of DataTarget.LoadDump. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clrmd.