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

No stack trace: cannot find (functions in) dbghelp.dll #9

Open
alexandrumc opened this issue Sep 14, 2021 · 2 comments
Open

No stack trace: cannot find (functions in) dbghelp.dll #9

alexandrumc opened this issue Sep 14, 2021 · 2 comments

Comments

@alexandrumc
Copy link

Hi,

I'm trying to make sil-cling work on Windows, but whenever there's an error I get
No stack trace: cannot find (functions in) dbghelp.dll!, so I'm not able to see the stack trace. I've googled this error message and it seems that it comes from here, but I've checked and I have both dbghelp.dll and imagehlp.dll in PATH.

Any ideas what could go wrong?

@wlav
Copy link
Owner

wlav commented Sep 14, 2021

Seems to me that the only way it can fail if the libraries are available in PATH, if there is a 32b/64b mismatch? (Given that the names are explicit 64.) Either way, I've never seen this error before.

Note, however, that I've never had any luck with the stack traces on Windows to begin with and haven't spent the time to figure out why. (Upstream claims they do work for them, so I probably should.) Instead, I've been very happy with WinDbg: https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools (Yes, it's only a preview for now, but it's been solid for me.)

@alexandrumc
Copy link
Author

So you were right about 32b/64b mismatch: my dbghelp.dll was 32b. I added a 64b dbghelp.dll to PATH but I get the same error. It is probably because of imagehlp.dll, of which I have only 32 bit versions on my machine, so I have to find a 64 bit one. Will also try the debugger you suggested. Thanks.

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