Code Monkey home page Code Monkey logo

Comments (5)

leculver avatar leculver commented on August 16, 2024 1

I found the issue, unfortunately it's difficult to work around. The underlying problem is that this if block is missing on Desktop CLR:

https://github.com/dotnet/coreclr/blob/75890669d59ea8e1a28ade8222ebec2706082674/src/debug/daccess/task.cpp#L370

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.

leculver avatar leculver commented on August 16, 2024 1

Actually I've found a really ugly workaround and submitted it as acd7268. This will be fixed in ClrMD 1.0

from clrmd.

leculver avatar leculver commented on August 16, 2024 1

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.

Zero3 avatar Zero3 commented on August 16, 2024

I'm also seeing a memory leak doing almost exactly what you posted :/.

from clrmd.

Zero3 avatar Zero3 commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.