Skip to content

jemalloc related segfault on windows #29839

Closed
@DemonOne

Description

@DemonOne

Any rust built exe file sometimes crashes on my system with segfault caused by RtlpWaitOnCriticalSection(), the call originates from jemalloc_constructor().

This happens with any file I build and even with the delivered cargo.exe, but it never seems to happen with rustc.exe

OS: Win 7 SP1

Rust version:
rustc 1.3.0 (9a92aaf 2015-09-15)
binary: rustc
commit-hash: 9a92aaf
commit-date: 2015-09-15
host: x86_64-pc-windows-gnu
release: 1.3.0

-Note: this also happens with rustc 1.2.0

Call stack:
ntdll.dll!RtlpWaitOnCriticalSection()
ntdll.dll!RtlEnterCriticalSection()
rust_application1.exe!jemalloc_constructor() Line 693

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