Skip to content

RUST_CC_ZEAL crash: too much recursion in walk_uniq #1466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jruderman opened this issue Jan 8, 2012 · 2 comments
Closed

RUST_CC_ZEAL crash: too much recursion in walk_uniq #1466

jruderman opened this issue Jan 8, 2012 · 2 comments
Assignees
Labels
I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

Comments

@jruderman
Copy link
Contributor

fn main() {
    let _x = @{a: @10, b: ~true};
}

When run with RUST_CC_ZEAL=1, this program crashes. The crash looks like it's due to too much recursion in

 shape::data<cc::irc, shape::ptr>::walk_uniq().

It's also suspicious that the cycle collector hits a stack guard rather than growing the stack, btw.

@catamorphism
Copy link
Contributor

I got a different error trying to repro this:

Assertion failed: (box->ref_count >= 1), function box_body_td, file ./src/rt/rust_shape.h, line 704

which is at least better than a crash :-)

@nikomatsakis
Copy link
Contributor

Hmm, for me I do not get a crash at all. Perhaps optimizations have to be enabled, though...

nikomatsakis added a commit that referenced this issue Apr 13, 2012
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Projects
None yet
Development

No branches or pull requests

3 participants