-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Backtraces only showing unknowns on Windows 10 #30625
Comments
This is essentially a duplicate of #28447 (maybe with a better title) |
|
I'm probably doing something wrong but when I run gdb on the executable I get the following:
|
To use gdb to obtain backtraces, you have to set a breakpoint somewhere so that gdb can break there and you can get a backtrace. Otherwise the program will panic and exit as normally. |
So I guess that means there's currently no way to detect the location of something like
in someone's code using a backtrace atm? |
I think you might try placing a breakpoint on |
Thanks for the tip @ranma42! It seems to work correctly:
|
Yeah I think this is a dupe of #28447 so I'm going to close in favor of that, thanks for the report though! |
I just experienced this issue with an executable compiled with Rust Stable (1.21.0) on Win10. The executable was compiled with |
Attempting to run the example in the Chapter "Functions" of the Rust book using RUST_BACKTRACE=1:
Under Windows 10 using Rust 1.5 Gnu ABI (64 bit), this gives:
This is a repeat of the issue brought up by user jonas-schievink in Issue #28004 (which was merged).
This issue is also present on the 32bit version and the latest nightly.
The text was updated successfully, but these errors were encountered: