Hi,
I’m trying to run the lldb tests on Windows (fresh installs of VS2019 16.7.5, Python 3.8.5, and Swig 4.0.2). The API tests crash immediately in python initialization code:
Windows fatal exception: access violation
Current thread 0x0000693c (most recent call first):
File “”, line 219 in _call_with_frames_removed
File “”, line 1101 in create_module
File “”, line 556 in module_from_spec
File “”, line 657 in _load_unlocked
File “”, line 975 in _find_and_load_unlocked
File “”, line 991 in _find_and_load
File “”, line 219 in _call_with_frames_removed
File “”, line 1042 in _handle_fromlist
File “D:\Obj\lldb\Debug\Lib\site-packages\lldb_init_.py”, line 41 in
File “”, line 219 in _call_with_frames_removed
File “”, line 783 in exec_module
File “”, line 671 in _load_unlocked
File “”, line 975 in _find_and_load_unlocked
File “”, line 991 in _find_and_load
File “D:\Source\llvm-project\lldb\packages\Python\lldbsuite\test\dotest.py”, line 898 in run_suite
File “D:/Source/llvm-project/lldb\test\API\dotest.py”, line 7 in
Running in the debugger, I see “_PyRuntime.gc.generation0 was nullptr”.
I presume I have something set up incorrectly in my environment, but I haven’t had much luck figuring out what. Is this by any chance an error/stack that somebody recognizes as a common/known issue?
Thanks,
-Joseph