This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pansen
Recipients asvetlov, pansen, paul.moore, steve.dower, tim.golden, yselivanov, zach.ware
Date 2018-07-28.12:58:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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)
Traceback (most recent call last):
  File "C:\Users\woellert\Desktop\EP2018\cpython\lib\test\test_asyncio\", line 2510, in test_sendfile_close_peer_in_the_middle_of_receiving
AssertionError: False is not true : 131072


Specs: Windows 7 SP1 64bit, 

- Cloned master from github
- Installed Visual Studio 2017 Community
- Compiled with `PCbuild\build.bat -e -d` (also used 64bit via -p x64)
- Ran tests with `python.bat -m test.test_asyncio -v`
Date User Action Args
2018-07-28 12:58:41pansensetrecipients: + pansen, paul.moore, tim.golden, asvetlov, zach.ware, yselivanov, steve.dower
2018-07-28 12:58:41pansensetmessageid: <>
2018-07-28 12:58:41pansenlinkissue34262 messages
2018-07-28 12:58:41pansencreate