Skip to content

Stack overflow in s-structured-log-0.2.0, Rust 1.16 #38973

Closed
@brson

Description

@brson

http://github.com/siphilia/s-structured-log-rs a54b1a7d69261a952fcf8e597d751c5973986ceb

Not on stable/beta.

brian@ip-10-145-43-250:~⟫ rustc +nightly -Vv
rustc 1.16.0-nightly (47c8d9fdc 2017-01-08)
binary: rustc
commit-hash: 47c8d9fdcf2e6502cf4ca7d7f059fdc1a2810afa
commit-date: 2017-01-08
host: x86_64-unknown-linux-gnu
release: 1.16.0-nightly
LLVM version: 3.9
brian@ip-10-145-43-250:~/dev/s-structured-log-rs⟫ cargo +nightly test
    Updating registry `https://github.com/rust-lang/crates.io-index`
   Compiling itoa v0.1.1
   Compiling num-traits v0.1.36
   Compiling log v0.3.6
   Compiling serde v0.8.21
   Compiling dtoa v0.2.2
   Compiling serde_json v0.8.4
   Compiling s-structured-log v0.2.0 (file:///mnt2/dev/s-structured-log-rs)
    Finished debug [unoptimized + debuginfo] target(s) in 15.91 secs
     Running target/debug/deps/s_structured_log-e4fd371411732634

running 5 tests
test tests::json_format ... ok
test tests::no_escape_chars ... ok
test tests::only_escape_chars ... ok
test tests::random_escape_chars ... ok
test tests::simple_logger ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured

   Doc-tests s-structured-log

running 6 tests

thread '_1' has overflowed its stack
fatal runtime error: stack overflow
error: test failed

cc @Siphilia

Metadata

Metadata

Labels

I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.P-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions