X Tutup
The Wayback Machine - https://web.archive.org/web/20251108050247/https://github.com/python/cpython/issues/92006
Skip to content

test_faulthandler is too strict in threaded checks #92006

@jkloth

Description

@jkloth

In test_faulthandler.check_dump_traceback_threads() the regex is being overly strict in regard to the line number for the run() method.

It is possible for a context switch to happen between the running.set() and stop.wait() calls which leads to the checking regex to fail. See AMD64 Windows11 3.x/1225/test for an example where this breaks.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    pendingThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup