Skip to content

xtask screenshots step segfaults locally (SIGSEGV) when CI runs overlap #367

Closed

Description

@samitbasu

Seen three times on the dev machine (an NVIDIA RTX card plus Mesa lavapipe), never on GitHub CI: the screenshots step (cargo test --workspace --features eggshell-ui/snapshots -- screenshot) dies with signal: 11, SIGSEGV in the it test binary. It happened while two cargo xtask ci runs overlapped. #339's own gate passed when run alone.

Likely cause: #339 picks lavapipe in-process by enumerating every Vulkan adapter. That loads the NVIDIA driver too, and it crashes under concurrent use. The goldens avoid this: xtask points their child process at the lavapipe ICD only (VK_ICD_FILENAMES via lavapipe_icd()), so no other driver is ever loaded.

Fix: run the screenshots step's child with the same lavapipe ICD pinning as the goldens (one shared helper in xtask), and keep the in-process is_lavapipe check as the assertion. Test: two overlapping cargo xtask ci --skip … runs of just the screenshots step both pass.

Activity

  1. added
    bug
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions