-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Spurious access violation on Windows #33434
Comments
Failures like #33072 (comment) (full) make me think that this is some crazy thing because rm segfaulted. I could be wrong though. |
One possible explanation may be OOM, although I have nothing to support that beyond a vague mention in a thread that is itself only vaguely related to this. Looking at a build which failed for this there were 3 builds on one Windows machine (the max concurrent) where one finished, another died, and the last was killed all at about the same time. The one which was killed was compiling LLVM (one file at a time), the one which died was in pretty tests. Neither of those are really that memory intensive and the machines have 16GB of memory which should in theory be more than enough... Something to keep an eye out for I guess? |
If this is the same as mentioned here https://randomascii.wordpress.com/2018/02/25/compiler-bug-linker-bug-windows-kernel-bug/ , I wonder if we could implement a workaround somehow. |
…richton AppVeyor: Read back trace from crash dump on failure. This is an attempt to debug spurious access violations on Windows (rust-lang#33434, rust-lang#50604). Thanks to rust-lang#50276, there should be minidumps to read when rustc segfault. (The implementation is based on <https://github.com/springmeyer/travis-coredump/blob/master/test.bat>.)
…richton AppVeyor: Read back trace from crash dump on failure. This is an attempt to debug spurious access violations on Windows (rust-lang#33434, rust-lang#50604). Thanks to rust-lang#50276, there should be minidumps to read when rustc segfault. (The implementation is based on <https://github.com/springmeyer/travis-coredump/blob/master/test.bat>.)
…richton AppVeyor: Read back trace from crash dump on failure. This is an attempt to debug spurious access violations on Windows (rust-lang#33434, rust-lang#50604). Thanks to rust-lang#50276, there should be minidumps to read when rustc segfault. (The implementation is based on <https://github.com/springmeyer/travis-coredump/blob/master/test.bat>.)
It's been a while; are we still seeing this? |
I saw the same issue while implementing a NodeJS napi library: napi-rs/napi-rs#297 It can reproduce in https://github.com/napi-rs/package-template
The reproduce step could be found here: https://github.com/napi-rs/package-template/blob/napi-1-pre/.github/workflows/CI.yaml#L189 You can also see Github actions output from napi-rs/package-template#86 |
I'm no longer able to reproduce the original issue nor the other case (please correct me if you can). It's not clear if they're even related as a spurious access violation can be caused by any number of different things. I'm minded to close this in favour of more specific issues. If anyone is experiencing |
Triage: I'm inclined to close this as well due to lack of repro and overly generic failures, in favor of more specific issues if people are still running into them. |
http://buildbot.rust-lang.org/builders/auto-win-gnu-64-opt/builds/4086/steps/test/logs/stdio
https://gist.github.com/alexcrichton/847ad18aec0a73d342838e5d8ed683a7
#33086 (comment)
The exit code 3221225477 is 0xC0000005 in hex which correspond to an access violation. Basically this is a spurious segfault on Windows (I think).
I've seen this from time to time, but unfortunately it doesn't seem to reproduce on the same test so far nor have I ever seen it locally. Seems bad though!
The text was updated successfully, but these errors were encountered: