Skip to content

segfault in json-0.11.3, Rust 1.15 #39046

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

Closed
brson opened this issue Jan 13, 2017 · 3 comments
Closed

segfault in json-0.11.3, Rust 1.15 #39046

brson opened this issue Jan 13, 2017 · 3 comments
Labels
I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@brson
Copy link
Contributor

brson commented Jan 13, 2017

https://github.com/maciejhirsz/json-rust 3bc4e49687bfaa541214d4a3371a543231e18069

I can only repro this on beta, not stable or nightly. Only happens ~10% tries.

brian@ip-10-145-43-250:/mnt2/dev⟫ rustc +beta -Vv
rustc 1.15.0-beta.3 (a035041ba 2017-01-07)
binary: rustc
commit-hash: a035041ba450ce3061d78a2bdb9c446eb5321d0d
commit-date: 2017-01-07
host: x86_64-unknown-linux-gnu
release: 1.15.0-beta.3
LLVM version: 3.9
brian@ip-10-145-43-250:~/dev/json-rust⟫ cargo +beta test --test value
    Finished debug [unoptimized + debuginfo] target(s) in 0.0 secs
     Running target/debug/deps/value-55ec8405f708d290

running 43 tests
test array_len ... ok
test array_members ... ok
test array_contains ... ok
test array_members_mut_rev ... ok
test array_members_mut ... ok
test array_members_rev ... ok
test array_push ... ok
test array_pop ... ok
test array_remove ... ok
test as_fixed_point ... ok
test error_unexpected_unicode_character ... ok
test error_unexpected_token ... ok
test error_unexpected_character ... ok
test fmt_array ... ok
test fmt_boolean ... ok
test fmt_object ... ok
test fmt_string ... ok
test index_by_str ... ok
test index_by_string ... ok
test index_by_string_ref ... ok
test index_mut_by_str ... ok
test index_mut_by_string ... ok
test index_mut_by_string_ref ... ok
test is_as_boolean ... ok
test is_as_number ... ok
test is_empty ... ok
test fmt_number ... ok
test fmt_null ... ok
test is_false ... ok
test is_as_string ... ok
test is_null ... ok
test is_true ... ok
test null_len ... ok
test object_dump_minified ... ok
test object_entries_mut ... ok
test object_dump_pretty ... ok
test object_len ... ok
test object_entries ... ok
test object_entries_mut_rev ... okerror: process didn't exit successfully: `/mnt2/dev/json-rust/target/debug/deps/value-55ec8405f708d290` (signal: 11, SIGSEGV: invalid memory reference)

To learn more, run the command again with --verbose.

cc @maciejhirsz

@brson brson added I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. regression-from-stable-to-beta Performance or correctness regression from stable to beta. labels Jan 13, 2017
@nikomatsakis nikomatsakis added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jan 13, 2017
@nikomatsakis
Copy link
Contributor

cc @rust-lang/compiler

@alexcrichton
Copy link
Member

This was previously determined to be nondeterministic, it probably still is I think?

@brson
Copy link
Contributor Author

brson commented Jan 13, 2017

Gah, yes I can repro on stable.

@brson brson closed this as completed Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants