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
Later we check for errors in handle_channel_error, it requires either setting err to non -1 or to set Python exception. Both are false, it fails with the assertion failure.
Crash report
remove_unused_constsinPython/flowgraph.cWhen
PyMem_Malloc(nconsts * sizeof(Py_ssize_t));fails, we need to set an exception.cpython/Python/flowgraph.c
Lines 3267 to 3283 in 29a920e
gethandlelistandgetattributelistin_winapi.cThis place misses it:
cpython/Modules/_winapi.c
Lines 1196 to 1198 in 9fdbade
All other error paths set exceptions, except this
if:cpython/Modules/_winapi.c
Lines 1278 to 1282 in 9fdbade
_channelends_newinModules/_interpchannelsmodule.ccpython/Modules/_interpchannelsmodule.c
Lines 920 to 926 in 3ca93ab
Later we check for errors in
handle_channel_error, it requires either settingerrto non-1or to set Python exception. Both are false, it fails with the assertion failure.Linked PRs
PyErr_NoMemory()inremove_unused_consts#151127PyErr_NoMemory()inremove_unused_consts(GH-151127) #151134PyErr_NoMemory()inremove_unused_consts(GH-151127) #151135PyErr_NoMemory()inremove_unused_consts(GH-151127) #151136PyErr_NoMemory()instrong_cache_node_new#151137PyErr_NoMemoryin_winapimodule #151154PyErr_NoMemoryin_winapimodule (GH-151154) #151180PyErr_NoMemoryin_winapimodule (GH-151154) #151181PyErr_NoMemoryin_winapimodule (GH-151154) #151182_interpchannelsmodule.c#151239_interpchannelsmodule.c(GH-151239) #151265_interpchannelsmodule.c(GH-151239) #151266_interpchannelsmodule.c(GH-151239) #151336_interpchannelsmodule.c(GH-151239) #151338os._path_splitroot#151339os._path_splitroot(GH-151339) #151360os._path_splitroot(GH-151339) #151361os._path_splitroot(GH-151339) #151362ctypes.get_errno#151382ctypes.get_errno(GH-151382) #151398ctypes.get_errno(GH-151382) #151399ctypes.get_errno(GH-151382) #151400