Skip to content

Spurious access violation on Windows #33434

Closed as not planned
Closed as not planned
@alexcrichton

Description

@alexcrichton

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)

---- [run-pass] run-pass\macro-crate-does-hygiene-work.rs stdout ----

error: auxiliary build of "C:/bot/slave/auto-win-gnu-64-opt/build/src/test/auxiliary/macro_crate_test.rs" failed to compile: 
status: exit code: 3221225477
command: PATH="C:\bot\slave\auto-win-gnu-64-opt\build\obj\x86_64-pc-windows-gnu/stage2/bin;C:\bot\slave\auto-win-gnu-64-opt\build\obj\x86_64-pc-windows-gnu\stage2\bin;C:\bot\slave\auto-win-gnu-64-opt\build\obj\x86_64-pc-windows-gnu\llvm\Release\lib;C:\mingw-w64\x86_64-4.9.1-win32-seh-rt_v3-rev1\mingw64\bin;C:\Python27;C:\msys64\mingw64\bin;C:\msys64\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\msys64\usr\bin;C:\python27;C:\python27\scripts;C:\program files (x86)\inno setup 5;C:\program files (x86)\CMake\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0" x86_64-pc-windows-gnu/stage2/bin/rustc.exe C:/bot/slave/auto-win-gnu-64-opt/build/src/test/auxiliary/macro_crate_test.rs -L x86_64-pc-windows-gnu/test/run-pass-fulldeps/ --target=x86_64-pc-windows-gnu --crate-type=dylib -L x86_64-pc-windows-gnu/test/run-pass-fulldeps\macro-crate-does-hygiene-work.stage2-x86_64-pc-windows-gnu.run-pass.libaux -C prefer-dynamic --out-dir x86_64-pc-windows-gnu/test/run-pass-fulldeps\macro-crate-does-hygiene-work.stage2-x86_64-pc-windows-gnu.run-pass.libaux --cfg rtopt -C rpath -O -L x86_64-pc-windows-gnu/rt
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------

------------------------------------------

thread '[run-pass] run-pass\macro-crate-does-hygiene-work.rs' panicked at 'explicit panic', C:/bot/slave/auto-win-gnu-64-opt/build/src/tools/compiletest/src\runtest.rs:1595
note: Run with `RUST_BACKTRACE=1` for a backtrace.


failures:
    [run-pass] run-pass\macro-crate-does-hygiene-work.rs

test result: FAILED. 56 passed; 1 failed; 2 ignored; 0 measured

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-spuriousArea: Spurious failures in builds (spuriously == for no apparent reason)C-bugCategory: This is a bug.O-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions