Skip to content

"pointer being freed was not allocated" when triggering out-of-stack-space compiler bug #778

@jruderman

Description

@jruderman
tag clam[T] { a(T); }
fn main() { let c = a(c); alt c { a[int](_) { } } }

Compiling it gives "Out of stack space, sorry" (which is probably the same problem as #768).

Compiling it ALSO triggers "rustc(21383,0xb0509000) malloc: *** error for object 0x2900450: pointer being freed was not allocated" about 10% of the time. Yikes!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions