-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.P-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant 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.Performance or correctness regression from stable to nightly.
Description
Note: to build this you need to set DATABASE_URL=tri.db
in the environment, and run diesel migration run
to create an initial database for diesel_infer_schemas
. Yeah, I should stop using that.
Under cargo test --release
, this code panics/SIGSEGVs (depending on the nightly) under nightlies after #46739 was merged (according to https://github.com/Mark-Simulacrum/bisect-rust). According to sebk
on IRC, it looks like the stack is being overwritten, with the length of the string being set to a value in the "maybe this is signed overflow" range.
An executable for the test that fails as built by 97520cc is at http://www-users.cs.umn.edu/~ringo025/tri-bug/tri-e74526a64d5fbc02
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.P-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant 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.Performance or correctness regression from stable to nightly.