This is a migrated thread and some comments may be shown as answers.

JustDecompile errors on portable PDBs

1 Answer 110 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 06 Jan 2017, 05:53 PM

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.

1 Answer, 1 is accepted

Sort by
0
Adrian
Telerik team
answered on 11 Jan 2017, 02:42 PM
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
Tags
General Discussions
Asked by
Eric
Top achievements
Rank 1
Answers by
Adrian
Telerik team
Share this question
or