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
but strangely, it seems to be a file from the ctypes library. However, it must be called somewhere for the above error to occur.
Even after modifying all instances of subprocess.Popen() in the Python scripts and adding print statements to log each call, the plugin still throws an error, and I cannot see my logs. Does this mean that the plugin’s functionality is loaded only from the DLL? If so, can anyone provide a method for rebuilding, or should I open a new PR?
Steps to reproduce:
Start a remote debugging session with CodeLLDB on an Android device. (PC is Windows)
Observe the fatal Python error as described above.
Verbose log
Since the plugin is running on a machine from which content cannot be copied, it is difficult for me to provide complete log information. Therefore, I will manually type a few log entries near the errors here.
[DEBUG codelldb::debug_session] Debug event: 0000028790DC65D0 Event: broadcaster = 0000028791708C18 (lldb.target), type = 0x00000001 (breakpoint-changed), data = {bkpt: 6 type: locations removed}
[DEBUG codelldb::debug_session] Debug event: 000002879061FEE0 Event: broadcaster = 00000287919E8D38 (lldb.process), type = 0x00000001 (state-changed), data = { process = 00000287919E8D10} (pid = 15176), state = exited}
[DEBUG codelldb::dap_codec] <-- {"seq":89,"type":"event","event":"output","body":{"category":"console","output":"Process exited with code1.\n"} }
Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python Python runtime state: preinitialized
The text was updated successfully, but these errors were encountered:
OS: Windows 10 Pro, Version 21H2 (Build 19044.1889)
VSCode version: 1.60.0
CodeLLDB version: 1.10.0
Compiler: Clang 12.0.5 (from Android NDK r23)
Debuggee: aarch64-linux-android (using DWARF debug info)
I found the cause of this problem on websites. This answer pointed out that it can be easily reproduced on the Windows platform,
and many other open-source projects also have this issue.
I found the issue in the code within the plugin’s folder,
but strangely, it seems to be a file from the ctypes library. However, it must be called somewhere for the above error to occur.
Even after modifying all instances of
subprocess.Popen()
in the Python scripts and adding print statements to log each call, the plugin still throws an error, and I cannot see my logs. Does this mean that the plugin’s functionality is loaded only from the DLL? If so, can anyone provide a method for rebuilding, or should I open a new PR?Steps to reproduce:
Verbose log
The text was updated successfully, but these errors were encountered: