-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Since "Annotate anonymous mmap usage if "-X dev" is used" change (commit), many tests started to fail on Linux buildbots building Python with --enable-shared. I can reproduce the issue on Ubuntu 24.04.
Example AMD64 Ubuntu Shared 3.x: https://buildbot.python.org/all/#/builders/506/builds/11959
5 tests failed:
test_audit test_external_inspection test_profiling test_remote_pdb
test_sys
Example:
test_sys_remote_exec (test.test_audit.AuditTest.test_sys_remote_exec) ... FAIL
Stderr:
Fatal Python error: _Py_CheckFunctionResult: a function returned a result with an exception set
Python runtime state: initialized
OSError: Cannot open ELF file '[anon:cpython:pymalloc]' for section 'PyRuntime' search: No such file or directory
The above exception was the direct cause of the following exception:
SystemError: <built-in function remote_exec> returned a result with an exception set
Current thread 0x00007f8388d70b80 [python] (most recent call first):
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/audit-tests.py", line 672 in test_sys_remote_exec
File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/audit-tests.py", line 761 in <module>
Extension modules: math.integer (total: 1)
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error