-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-type-systemArea: Type systemArea: Type systemI-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
use std;
import std::arc;
fn main() {
let i = @5;
let arc_i = arc::arc(i);
task::spawn { ||
let i = *arc::get(&arc_i);
#error("%?", i);
}
}
Errors with:
Unreclaimed object found at 0x100600040: 5
rust: "@5"
Assertion failed: (false && "live_allocs < 1"), function free, file /Users/etryzelaar/Projects/rust/rust/src/rt/memory_region.cpp, line 60.
Metadata
Metadata
Assignees
Labels
A-type-systemArea: Type systemArea: Type systemI-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.