Skip to content

regression -- test fails after #46739 that succeeded before it #47674

Closed
@remexre

Description

@remexre

remexre/tri@915303d

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

No one assigned

    Labels

    C-bugCategory: This is a bug.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