STINNER Victor <vstin...@python.org> added the comment:
Maybe the problem is related to Python frames. I think Mark Shannon made changes related to frames recently in 3.10 and main branches. It's strange that I got such error: File "C:\vstinner\python\main\lib\unittest\result.py", line 205, in _is_relevant_tb_level return '__unittest' in tb.tb_frame.f_globals TypeError: argument of type 'NoneType' is not iterable It's also strange that two crashes occurred while reading a traceback: Windows fatal exception: access violation Current thread 0x000009e0 (most recent call first): File "D:\a\1\s\lib\linecache.py", line 63 in checkcache File "D:\a\1\s\lib\traceback.py", line 375 in extract File "D:\a\1\s\lib\traceback.py", line 494 in __init__ File "D:\a\1\s\lib\traceback.py", line 132 in format_exception File "D:\a\1\s\lib\test\test_ssl.py", line 262 in handle_error and: Fatal Python error: Segmentation fault Current thread 0x00007f9de2d1f640 (most recent call first): File "/home/buildbot/buildarea/3.10.cstratak-fedora-stable-x86_64/build/Lib/linecache.py", line 72 in checkcache File "/home/buildbot/buildarea/3.10.cstratak-fedora-stable-x86_64/build/Lib/traceback.py", line 375 in extract File "/home/buildbot/buildarea/3.10.cstratak-fedora-stable-x86_64/build/Lib/traceback.py", line 494 in __init__ File "/home/buildbot/buildarea/3.10.cstratak-fedora-stable-x86_64/build/Lib/traceback.py", line 132 in format_exception File "/home/buildbot/buildarea/3.10.cstratak-fedora-stable-x86_64/build/Lib/test/test_ssl.py", line 262 in handle_error Extract of test_ssl.py: def handle_error(prefix): exc_format = ' '.join(traceback.format_exception(*sys.exc_info())) ... Maybe sometimes somehow, frames are invalid. Maybe test_ssl/test_httplib only makes the crash more likely, but there is a regression to frames somewhere. ---------- nosy: +Mark.Shannon _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44252> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com