Skip to content

Self Profiling Causes ICE With Parallel rustc #54141

Closed
@TheDarkula

Description

@TheDarkula

I parallelised check_crate() in src/librustc_passes/rvalue_promotion.rs. Then ran a test compile on the regex crate with cargo rustc -- -Z time-passes -Z query-threads=4.

This caused an ICE saying:

thread '<unnamed>' panicked at 'end_activity() was called but a different activity was running', librustc/util/profiling.rs:179:17

cc @wesleywiser @Zoxc

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions