-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Backtracing pretty print regression? #64507
Comments
cc @alexcrichton @cramertj I'd guess fallout from #64152? |
@steveklabnik can you detail what you're doing, what targets you're using, and what rustc versions were involved? I wasn' able to easily reproduce on mingw stable/beta/nightly and msvc has the same behavior going back to at least 1.35.0 |
|
It is, in theory, possible that I'm forgetting and MSVC has always had not-pretty backtraces. I don't look at backtraces that often, and it's possible that I'm mis-remembering. |
Hm I may be a bit confused, but it looks like nightly/stable in your snippet have basically the same output? I think |
Yes.
Yes, sorry for not being more clear about that; I forgot you need
This is mostly true; if you look at MinGW, you'll see that some lines like
I never use the GNU toolchain, and only installed it to triage another ticket. So I don't have a great feel for the splits here. |
Visiting for wg-debugging triage. We think that the behavior described for MSVC actually matches that of Linux. One potentially confusing thing here is the handling of the I'm not sure if that might explain some of the discrepancies that @steveklabnik was observing... |
At this point, wg-debugging doesn't think there is any action to take here, as we have matching behavior between the Tier-1 platforms we looked at. Closing (but feel free to reopen if you can spell out a bit more how the current behavior is not matching expectations set elsewhere) one last thing:
after further investigation, the expected remapping here doesn't seem to be happening. Maybe that is the root of the complaint here, but we should file that as a separate bug. You can see discussion here |
I was investigating some backtracing stuff, and I noticed that backtraces look like this:
Now, they used to look like the mingw target:
Note the lines from
std
; they're not showing the full path. There are still details wrong (using both\
and/
for example) but I think this is a regression in pretty-printing? It's also not clear to me why the backtrace crate's full path is in there, butlibstd
is the nicer format.The text was updated successfully, but these errors were encountered: