-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
nightly-mac bot is regularly segfaulting #16489
Comments
This might be the backtrace (not sure if it's the right core dump)
|
Yes, that is the backtrace. I'm going to create a new snapshot and pray that one of @luqmana's recent fixes for codegen fixed it! |
Hopefully this will fix rust-lang#16489!
Nope, today's nightly segfaulted: http://buildbot.rust-lang.org/builders/nightly-mac/builds/77
|
Nominating. I would not be comfortable releasing 1.0 with this mystery. |
We need to investigate further to be sure that this is a bug in rust (and not, e.g., a problem in our internal machines/infrastructure). Classifying as P-high, 1.0, on the basis of internal pressure to determine whether this is indeed a rust bug. |
Snaps are run on the 'mac3' builder only, which has a failing hard drive. I will try to remove that machine from the rotation to hopefully fix the problem. |
@brson, you mentioned this may be disks going bad, and one (maybe plausible) explanation is that we're mmaping the dynamic library to read the metadata and then the mmap is going wrong after the intial success, but that's just a wild guess assuming that bad disks are the actual underlying cause. |
I've switched the snapshots to mac4 and the problem persists. Seems to be real. |
New theory:
I think what's happening here is that the compiler reading a half-written library somehow lets it pick up corrupt state and causes something else to go awry down the line. A possible to attempt to explain the symptoms:
The symptom I can't explain is that this only happens on OSX. Not sure what's going on there. I'm going to disable |
Also that specific unsafe code is probably not at fault. I would be more suspicious of this transmute. |
fwiw although the nightly-mac builder has succeeded:
Its now 3 hours later, and the nightly snapshot hasn't been updated:
So there may be an issue with this build even when it succeed on the build. I'm not sure if you want to track that separately or as part of this ticket; if it's simply an artifact of the intermittently failing builds. |
That issue (syncing with cloudfare) is tracked in #16649. |
Last few nights haven't segfaulted, closing this and will reopen if necessary. |
…as, r=Veykril feat!: create alias when renaming an import. ![gif](https://github.com/rust-lang/rust-analyzer/assets/57047985/c593d9a8-b8a0-4e13-9e50-a69c7d0d8749) Closes rust-lang#15858 Implemented: - [x] - Prevent using `reserved` keywords (e.g self) and `_`. - [x] - Rename other modules that might be referencing the import. - [x] - Fix "broken" tests. - [ ] - Rename **only** "direct" references. - [ ] - Test more cases. Future possibilities: 1. Also support `extern crate <name>` syntax. 2. Allow aliasing `self` when it is inside an `UseTreeList`. ~3. If import path already has an alias, "rename" the alias.~ ~[4. Create alias even if path is not the last path segment.](rust-lang/rust-analyzer#16489 (comment)
logs: http://buildbot.rust-lang.org/builders/nightly-mac
relevant bits:
I wish I knew more sadly :(
The text was updated successfully, but these errors were encountered: