Skip to content

test_faulthandler fails randomly on x86-64 MacOS Intel ASAN NoGIL 3.x #159606

Open

Description

@vstinner

x86-64 MacOS Intel ASAN NoGIL 3.x: https://buildbot.python.org/#/builders/1366/builds/8260/steps/5/logs/stdio

(...)
test_register_max_threads (test.test_faulthandler.FaultHandlerTests.test_register_max_threads) ... ok
test_register_threads (test.test_faulthandler.FaultHandlerTests.test_register_threads) ... ok
test_sigabrt (test.test_faulthandler.FaultHandlerTests.test_sigabrt) ... ok
test_sigbus (test.test_faulthandler.FaultHandlerTests.test_sigbus) ... Timeout (0:35:00)!
Thread 0x00007ff84b416a00 (most recent call first):
  File "/Users/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/selectors.py", line 398 in select
  File "/Users/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/subprocess.py", line 291 in _communicate_io_posix
  File "/Users/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/subprocess.py", line 2436 in _communicate
  File "/Users/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/subprocess.py", line 1395 in communicate
  File "/Users/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_faulthandler.py", line 97 in get_output
  File "/Users/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_faulthandler.py", line 159 in check_error
  File "/Users/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_faulthandler.py", line 168 in check_fatal_error
  File "/Users/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/test/test_faulthandler.py", line 259 in test_sigbus
  File "/Users/buildbot/buildarea/3.x.itamaro-macos-intel-aws.macos-with-brew.asan.nogil/build/Lib/unittest/case.py", line 637 in _callTestMethod
(...)

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    testsTests in the Lib/test dir
    on Oct 17, 2026
  2. vstinner commented on Oct 17, 2026

    @vstinner
    MemberAuthor

    The 3.14 and 3.15 branches are also affected.

    Example of failure on x86-64 MacOS Intel ASAN NoGIL 3.14: https://buildbot.python.org/#/builders/1729/builds/1754.

  3. vstinner commented on Oct 17, 2026

    @vstinner
    MemberAuthor
  4. vstinner commented on Oct 17, 2026

    @vstinner
    MemberAuthor

    test_largefile also fails randomly since 2 days on the same buildbot: #159608.

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

    OS-mactestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions