JustDecompile errors on portable PDBs

2 posts, 0 answers
  1. Eric
    Eric avatar
    1 posts
    Member since:
    Mar 2015

    Posted 06 Jan 2017 Link to this post

    When using JustDecompile 2016.3.1003.0, I cannot open an assembly built with the new .NET Core SDK.

    The reason for this appears to be that .NET Core builds portable PDBs by default.  So when a portable PDB is next to the assembly, it won't load.  I get the error:

    JustDecompile supports only valid CLR assemblies.  Not supported file.

    But if I delete the PDB, it loads just fine.

    According to Nick Guerrera from Microsoft:

    Looks like it's trying to read a portable PDB as windows pdb. It might not check the header for the magic that says "I'm a Windows PDB", it just takes some bytes at a given offset and tries to allocate a massive array using a bogus count.  Seems by luck what is there in portable PDB is generally huge, so OOM with PDB whatever on stack is likely this.

  2. Adrian
    Admin
    Adrian avatar
    17 posts

    Posted 11 Jan 2017 Link to this post

    Hi,

    Thanks for reporting this issue. We've got it in our backlog already. We will investigate it and fix it in future versions. Please stay tuned and update regularly.

    Regards,
    Adrian
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top