graydon/rust — Issue #1346: weird make check-fast bug that seems to effect invoke-external-native
Author: boggle
Created: 2011-12-20 08:51:46+00:00
State: open

https://gist.github.com/1500793

looks like this is concurrency related, cannot reproduce this safely on the machine where i see it and am logging this here

make check-fast CFG_DISABLE_VALGRIND=1

run-pass [stage2]: test/run-pass/invoke-external-native.rs
rust: fatal, 'false' failed, ../src/rt/rust_upcall.cpp:63 Native code threw an exception
make: *** [x86_64-apple-darwin/test/run_pass_stage2_driver-x86_64-apple-darwin.out] Abort trap: 6

make check-fast CFG_DISABLE_VALGRIND=1 DEBUG=1 # seems to trigger different bug

/opt/rust/src/rust/src/test/run-pass/while-with-break.rs:12 [1, 2, 3, 4, 5]; // we check that it is freed by break
rust: "smallintmap::get(): key not present"
rust: upcall fail 'explicit failure', ../src/libstd/smallintmap.rs:59
rust: domain main @0x7fa7ea01d600 root task failed
make: *** [x86_64-apple-darwin/stage2/lib/rustc/x86_64-apple-darwin/lib/librun_pass_stage2.dylib] Error 101