-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Missing backtraces in local compiler build #67615
Comments
I've found that I can also reproduce this in a Ubuntu 18.04 LXC container on the same host. I also noticed that the command that failed mentions which signal caused the failure:
|
Changing the kernel version from 4.19.88 to 5.4.2 doesn't appear to have an effect (not that I would particularly have expected it to). |
With some more experimentation, I've found that this is a result of |
I've rebased and this has started happening again, but now with any
|
Potentially the same as #69151, which has more details regarding root cause. |
I recently rebased an old branch (branched off at 4007d4e) and afterwards found that the backtrace didn't contain any of the compiler (ignore the actual ICE, I'm sure I'll fix it once I stop trying to get backtraces back):
You can find my
config.toml
here. This is running on a NixOS host with an i7-8700. It isn't fixed by settingRUST_BACKTRACE
to1
,full
or leaving it unset. I've also tried with and without thebacktrace
option inconfig.toml
. I also tried invoking the compiler directly (original error was in compilinglibcore
throughx.py
after some of my changes).I was able to bisect (results) the issue to a handful of commits:
I wasn't able to test any of these and be more specific because
Cargo.lock
was in a broken state in these commits. On the last commit which failed, after printing the same limited backtrace as above (on a simple test case that compile errors and-Z treat-err-as-bug
), it printed the following:cc @Aaron1011 @alexcrichton (authors of the above commits)
The text was updated successfully, but these errors were encountered: