Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Image is too small." error #155

Open
AArnott opened this issue Jul 12, 2019 · 3 comments
Open

"Image is too small." error #155

AArnott opened this issue Jul 12, 2019 · 3 comments

Comments

@AArnott
Copy link

AArnott commented Jul 12, 2019

pdb2pdb fails with:

Image is too small.

For a 2KB portable pdb produced with a library with just this one source file.

Why is there a min size limit? Do I seriously have to make my library bigger before my PDB can be converted into a Windows PDB?

@AArnott
Copy link
Author

AArnott commented Jul 12, 2019

It turns out this error happens when the first argument is the path to the input pdb rather than its .dll companion.
Poor error message for this situation, perhaps.
I wonder why the .dll is even relevant here.

@tmat
Copy link
Member

tmat commented Jul 12, 2019

The metadata in the dll are required for the conversion. It can also contain embedded PDB.

@tmat
Copy link
Member

tmat commented Jul 12, 2019

Yes, the error message could be improved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants