Repository navigation
cycle collection crash #982
Copy link
Copy link
Closed
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsI-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.
Description
Activity
Sorry, this only crashes (90% of the time) with RUST_CC_ZEAL.
Assigning to myself so I can try to reproduce.
I'm closing because the example code no longer works (
iteris no longer a thing). @jruderman , if you can reproduce with a current example, feel free to reopen or file a new bug.An updated version of this testcase passes, even with RUST_CC_ZEAL :)
enum maybe_pointy { no_pointy, yes_pointy(@pointy) } type pointy = { mutable x : maybe_pointy }; fn main() { const max : uint = 10u; let v : [mutable @pointy] = [mutable]; uint::range(0u, max) {|_i| v += [mutable @{ mutable x : no_pointy }]; } v[0].x = yes_pointy(v[1]); v[1].x = yes_pointy(v[0]); uint::range(0u, max) {|i| v[i] = @{ mutable x : no_pointy }; } }- added a commit that references this issue
on Oct 26, 2020 - added a commit that references this issue
on Mar 7, 2023 - added a commit that references this issue
on Aug 5, 2023
Metadata
Metadata
Assignees
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsI-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.
Crashes 90% of the time.