Skip to content

Crash during the release of a complex structure (Rust-0.8, linux) #9690

Closed
@kvark

Description

@kvark

After porting from Rust-0.6 to 0.8 my app started crashing on start. The stack log as well as the valgrind log are posted in https://gist.github.com/kvark/6792497

I've been told that the stack tells us it's the destructor that fails. The destructing structure is big due to being auto-generated: https://code.google.com/p/claymore-game/source/browse/util/codata/scene/chared/main.rs

There is no custom destructor anywhere within this struct, all types are declared here: https://code.google.com/p/claymore-game/source/browse/util/codata/scene/common.rs

I wasn't able to create a good test case yet - just creating and releasing the structure doesn't cut it.
My system is: x86_64 GNU/Linux 3.9.8-1-ARCH #1 SMP PREEMPT

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions