Coder Social home page Coder Social logo

Comments (5)

mikem8361 avatar mikem8361 commented on August 16, 2024

The interfaces to look at are:

ICLRMetadataLocator
ICorDebugMetadataLocator

Check out daccess.cpp:~6661

void *
ClrDataAccess::GetMetaDataFromHost(PEFile* peFile,
bool* isAlternate)

from diagnostics.

patricksuo avatar patricksuo commented on August 16, 2024

@mikem8361 do you know of a workaround ?

I have broken stack trace like this:

(lldb) sos PrintException
Exception object: 00007f03301b0a80
Exception type:   System.ArgumentNullException
Message:          Value cannot be null.
InnerException:   <none>
StackTrace (generated):
    SP               IP               Function
    00007FFE38E0DFA0 00007F03492E28EA StackExchange.Redis.dll!Unknown+0x7a
    00007FFE38E0DFD0 00007F03492E2836 StackExchange.Redis.dll!Unknown+0x16
    00007FFE38E0DFF0 00007F03492E1E4D SceneServer.dll!Unknown+0x14d
    00007FFE38E0E080 00007F03492DFF50 SceneServer.dll!Unknown+0x150
    00007FFE38E0E100 00007F03484F445E SceneServer.dll!Unknown+0xae
    00007FFE38E0E160 00007F03484D17C0 SceneServer.dll!Unknown+0x130

StackTraceString: <none>
HResult: 80004003

from diagnostics.

mikem8361 avatar mikem8361 commented on August 16, 2024

The workaround for now is to create a full dump (-u or --full createdump option or setting COMPlus_DbgMiniDumpType=4).

from diagnostics.

mikem8361 avatar mikem8361 commented on August 16, 2024

Ultimately it would be better to wait until issue #1 has been implemented and use the downloader to get the assembly metadata that is missing from a core dump inside the ICLRMetadataLocator implementation in SOS.

But until #1 is finished, we could add command to set a search path to look for the matching assemblies in the ICLRMetadataLocator callback. Not sure when this could be scheduled though.

from diagnostics.

mikem8361 avatar mikem8361 commented on August 16, 2024

Fixed PR #229.

from diagnostics.

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.