You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crash in test_import: Assertion error about monitoring version. #106012
./python -m test -R: test_bdb
0:00:00 load avg: 3.54 Run tests sequentially
0:00:00 load avg: 3.54 [1/1] test_bdb
beginning 9 repetitions
123456789
..python: Python/instrumentation.c:940: call_instrumentation_vector: Assertion `code->_co_instrumentation_version == tstate->interp->monitoring_version' failed.
Fatal Python error: Aborted
Current thread 0x00007f6f27a06740 (most recent call first):
File "__init__", line ??? in __init__
File "<frozen importlib._bootstrap_external>", line 1465 in _path_hooks
File "<frozen importlib._bootstrap_external>", line 1489 in _path_importer_cache
File "<frozen importlib._bootstrap_external>", line 1502 in _get_spec
File "<frozen importlib._bootstrap_external>", line 1530 in find_spec
File "<frozen importlib._bootstrap>", line 1168 in _find_spec
File "<frozen importlib._bootstrap>", line 1228 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1266 in _find_and_load
File "/home/xxx/cpython/Lib/test/test_bdb.py", line 557 in tfunc_import
File "/home/xxx/cpython/Lib/bdb.py", line 643 in runcall
File "/home/xxx/cpython/Lib/test/test_bdb.py", line 953 in test_clear_two_bp_on_same_line
File "/home/xxx/cpython/Lib/unittest/case.py", line 589 in _callTestMethod
File "/home/xxx/cpython/Lib/unittest/case.py", line 634 in run
File "/home/xxx/cpython/Lib/unittest/case.py", line 690 in __call__
File "/home/xxx/cpython/Lib/unittest/suite.py", line 122 in run
File "/home/xxx/cpython/Lib/unittest/suite.py", line 84 in __call__
File "/home/xxx/cpython/Lib/unittest/suite.py", line 122 in run
File "/home/xxx/cpython/Lib/unittest/suite.py", line 84 in __call__
File "/home/xxx/cpython/Lib/unittest/suite.py", line 122 in run
File "/home/xxx/cpython/Lib/unittest/suite.py", line 84 in __call__
File "/home/xxx/cpython/Lib/test/support/testresult.py", line 143 in run
File "/home/xxx/cpython/Lib/test/support/__init__.py", line 1115 in _run_suite
File "/home/xxx/cpython/Lib/test/support/__init__.py", line 1241 in run_unittest
File "/home/xxx/cpython/Lib/test/libregrtest/runtest.py", line 294 in _test_module
File "/home/xxx/cpython/Lib/test/libregrtest/refleak.py", line 90 in dash_R
File "/home/xxx/cpython/Lib/test/libregrtest/runtest.py", line 328 in _runtest_inner2
File "/home/xxx/cpython/Lib/test/libregrtest/runtest.py", line 373 in _runtest_inner
File "/home/xxx/cpython/Lib/test/libregrtest/runtest.py", line 248 in _runtest
File "/home/xxx/cpython/Lib/test/libregrtest/runtest.py", line 278 in runtest
File "/home/xxx/cpython/Lib/test/libregrtest/main.py", line 483 in run_tests_sequential
File "/home/xxx/cpython/Lib/test/libregrtest/main.py", line 621 in run_tests
File "/home/xxx/cpython/Lib/test/libregrtest/main.py", line 799 in _main
File "/home/xxx/cpython/Lib/test/libregrtest/main.py", line 758 in main
File "/home/xxx/cpython/Lib/test/libregrtest/main.py", line 822 in main
File "/home/xxx/cpython/Lib/test/__main__.py", line 2 in <module>
File "/home/xxx/cpython/Lib/runpy.py", line 88 in _run_code
File "/home/xxx/cpython/Lib/runpy.py", line 198 in _run_module_as_main
Extension modules: _testcapi (total: 1)
Aborted
Seems to be fixed. Both ./python -m test -j1 -R 3:3 test_import -v -m test_concurrency -m test___cached___legacy_pyc -m test_package___cached___from_pyc and ./python -m test -R: test_bdb pass.
Activity
vstinner commentedon Jun 23, 2023
Issue first reported as: #91095 (comment)
sunmy2019 commentedon Jun 23, 2023
There are other tests facing the same errors.
sunmy2019 commentedon Jun 23, 2023
Also bisected to 04492cb
GH-106012: Fix monitoring of static code objects (GH-106017)
alex commentedon Jun 23, 2023
regexp fuzzer is crashing with the following stack, potentially related?
markshannon commentedon Jun 26, 2023
That doesn't look related
markshannon commentedon Jul 7, 2023
Seems to be fixed. Both
./python -m test -j1 -R 3:3 test_import -v -m test_concurrency -m test___cached___legacy_pyc -m test_package___cached___from_pycand./python -m test -R: test_bdbpass.