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
Traceback (most recent call last):
File "C:\Users\woellert\Desktop\EP2018\cpython\lib\test\test_asyncio\test_events.py", line 2510, in test_sendfile_close_peer_in_the_middle_of_receivingself.file.tell())
AssertionError: False is not true : 131072
Specs: Windows 7 SP1 64bit,
Process:
Cloned master from github
Installed Visual Studio 2017 Community
Compiled with PCbuild\build.bat -e -d (also used 64bit via -p x64)
ProactorEventLoop is the default event loop with bpo-34687. There doesn't seem to be any warnings in buildbots as I have checked and as @panesen has mentioned this is not consistent. I am adding Victor as a notification if he has any thoughts. Victor, feel free to remove yourself if this is not relevant.
Activity
mansenfranzen commentedon Jul 28, 2018
When running tests I encounter the following error for the test:
test_sock_sendfile_not_regular_file (test.test_asyncio.test_proactor_events.ProactorEventLoopUnixSockSendfileTests)
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Debug Assertion Failed!
Program: ...\EP2018\cpython\PCbuild\win32\python_d.exe
File: minkernel\crts\ucrt\src\appcrt\lowio\osfinfo.cpp
Line: 257
Expression: fh >= 0 && (unsigned)fh < (unsigned)_nhandle
---------------------------
However, when ignoring the MSCR error, the tests succeed without failing.
In addition the following failed (but not consistently):
======================================================================
FAIL: test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_events.ProactorEventLoopTests)
----------------------------------------------------------------------
Specs: Windows 7 SP1 64bit,
Process:
PCbuild\build.bat -e -d(also used 64bit via -p x64)python.bat -m test.test_asyncio -vmansenfranzen commentedon Jul 28, 2018
Regarding the MVSC runtime message, there is an issue already here:
https://bugs.python.org/issue23919
tirkarthi commentedon Sep 26, 2018
ProactorEventLoop is the default event loop with bpo-34687. There doesn't seem to be any warnings in buildbots as I have checked and as @panesen has mentioned this is not consistent. I am adding Victor as a notification if he has any thoughts. Victor, feel free to remove yourself if this is not relevant.
Thanks
iritkatriel commentedon Sep 7, 2021
Changing type since the crash was fixed under bpo-23919.
There remains (possibly) the failure of test_sendfile_close_peer_in_the_middle_of_receiving.
vstinner commentedon Sep 7, 2021
test_sendfile_close_peer_in_the_middle_of_receiving() failure is tracked by bpo-41682.