Skip to content

bpo-36139: release GIL around munmap() #12073

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 6, 2019
Merged

Conversation

sorcio
Copy link
Contributor

@sorcio sorcio commented Feb 27, 2019

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

@benjaminp
Copy link
Contributor

Should we also be doing this around the close?

@sorcio
Copy link
Contributor Author

sorcio commented Feb 28, 2019

Should we also be doing this around the close?

It would make sense but I wasn't sure if we should do it separately or in one block, and if it should go inside the ifs. In my experience munmap() is more expensive by far (see issue tracker) so this seemed more simple. We can change it of course.

@benjaminp
Copy link
Contributor

benjaminp commented Mar 1, 2019

I think it makes sense to stick them both in the same block. We' certainly release the GIL when closing files.

@sorcio
Copy link
Contributor Author

sorcio commented Mar 1, 2019

@benjaminp I extended the GIL release to include the fd close, both on dealloc and mmap.close(). I also included Windows.

@@ -180,6 +183,7 @@ mmap_close_method(mmap_object *self, PyObject *unused)
self->data = NULL;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's safe to not be holding the GIL here. Someone could be trying to read or write the mmap object while calling close.

@sorcio
Copy link
Contributor Author

sorcio commented Mar 5, 2019

@benjaminp may I ask for another look? If this is still not ok for close() I drop it and only take care of dealloc for now. Or I can use some guidance.

Copy link
Contributor

@benjaminp benjaminp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good modulo minor formatting issues.

Please also add a NEWS note.

self->data = NULL;
HANDLE map_handle = self->map_handle;
HANDLE file_handle = self->file_handle;
char * data = self->data;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

char *data

if (0 <= self->fd)
(void) close(self->fd);
int fd = self->fd;
char * data = self->data;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

char *data

@benjaminp benjaminp merged commit bb9593a into python:master Mar 6, 2019
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 Windows7 SP1 3.x has failed when building commit bb9593a.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/40/builds/1745) and take a look at the build logs.
  4. Check if the failure is related to this commit (bb9593a) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/40/builds/1745

Click to see traceback logs
From https://github.com/python/cpython
 * branch            master     -> FETCH_HEAD
Reset branch 'master'

Could Not Find C:\buildbot.python.org\3.x.kloth-win64\build\Lib\*.pyc
The system cannot find the file specified.
Could Not Find C:\buildbot.python.org\3.x.kloth-win64\build\PCbuild\python*.zip

test_tk skipped -- gui not available (WSF_VISIBLE flag not set)
test_pwd skipped -- No module named 'pwd'
test_kqueue skipped -- test works only on BSD
test_ossaudiodev skipped -- No module named 'ossaudiodev'
test_curses skipped -- No module named '_curses'
test_openpty skipped -- os.openpty() not available.
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000de4 (most recent call first):
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_mmap.py", line 645 in test_crasher_on_windows
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 642 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 702 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\runner.py", line 176 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 600 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 586 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 640 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\regrtest.py", line 46 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\regrtest.py", line 50 in <module>
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 85 in _run_code
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 192 in _run_module_as_main
Windows fatal exception: code 0x80000003

Current thread 0x00000de4 (most recent call first):
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_mmap.py", line 645 in test_crasher_on_windows
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 642 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 702 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\runner.py", line 176 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 600 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 586 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 640 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\regrtest.py", line 46 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\regrtest.py", line 50 in <module>
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 85 in _run_code
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 192 in _run_module_as_main
test_posix skipped -- No module named 'posix'
minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(50) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
test_crypt skipped -- No module named '_crypt'
test_poll skipped -- select.poll not defined
test_dbm_gnu skipped -- No module named '_gdbm'
test_threadsignals skipped -- Can't test signal on win32
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001748 (most recent call first):
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_os.py", line 2038 in test_CTRL_BREAK_EVENT
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 642 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 702 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\runner.py", line 176 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 600 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 586 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 640 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\regrtest.py", line 46 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\regrtest.py", line 50 in <module>
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 85 in _run_code
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 192 in _run_module_as_main
Windows fatal exception: code 0x80000003

Current thread 0x00001748 (most recent call first):
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_os.py", line 2038 in test_CTRL_BREAK_EVENT
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 642 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 702 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\runner.py", line 176 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 600 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 586 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 640 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\regrtest.py", line 46 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\regrtest.py", line 50 in <module>
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 85 in _run_code
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 192 in _run_module_as_main
test_wait4 skipped -- object <module 'os' from 'C:\\buildbot.python.org\\3.x.kloth-win64\\build\\lib\\os.py'> has no attribute 'fork'
test_fcntl skipped -- No module named 'fcntl'
test_dbm_ndbm skipped -- No module named '_dbm'
test_fork1 skipped -- object <module 'os' from 'C:\\buildbot.python.org\\3.x.kloth-win64\\build\\lib\\os.py'> has no attribute 'fork'
test_grp skipped -- No module named 'grp'
test_ioctl skipped -- No module named 'fcntl'
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001190 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000604 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000ad4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000a60 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000878 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001098 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000814 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001128 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000a00 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000011c4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001484 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000d08 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001654 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001154 (most recent call first):
Fatal Python errorFatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001584 (most recent call first):
: Python memory allocator called without holding the GIL

Current thread 0x0000162c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000c4c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001214 (most recent call first):
Fatal Python error: FaPython memory allocator called without holding the GIL
tal Python e
rCurrent thread 0x0000147c (most recent call first):
ror: Python memory allocator called without holding the GIL

Current thread 0x000014e0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000139c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001318 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001464 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000670 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000dc4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001780 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000105c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000eb4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000b70 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001774 (most recent call first):
FFatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001690 (most recent call first):
atal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001064 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000c4c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000234 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001670 (most recent call first):
Fatal Python error: Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000c64 (most recent call first):
Python memory allocator called without holding the GIL

Current thread 0x00001478 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000101c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000166c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000004bc (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001398 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001728 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000007d0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000f7c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000478 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000081c (most recent call first):
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\_test_multiprocessing.py", line 3484 in test_heap
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 642 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 702 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\runner.py", line 176 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 600 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 586 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 640 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\regrtest.py", line 46 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\regrtest.py", line 50 in <module>
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 85 in _run_code
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 192 in _run_module_as_main
Windows fatal exception: code 0x80000003

Current thread 0x0000081c (most recent call first):
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\_test_multiprocessing.py", line 3484 in test_heap
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 642 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 702 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\runner.py", line 176 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 600 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 586 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 640 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\regrtest.py", line 46 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\regrtest.py", line 50 in <module>
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 85 in _run_code
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 192 in _run_module_as_main
test_pty skipped -- No module named 'termios'
C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py:1056: RuntimeWarning: tests may fail, unable to create temporary directory 'C:\\buildbot.python.org\\3.x.kloth-win64\\build\\build\\test_python_3780': [WinError 183] Cannot create a file when that file already exists: 'C:\\buildbot.python.org\\3.x.kloth-win64\\build\\build\\test_python_3780'
  with temp_dir(path=name, quiet=quiet) as temp_path:
test_multiprocessing_forkserver skipped -- forkserver is not available on Windows
C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py:1056: RuntimeWarning: tests may fail, unable to create temporary directory 'C:\\buildbot.python.org\\3.x.kloth-win64\\build\\build\\test_python_3780': [WinError 183] Cannot create a file when that file already exists: 'C:\\buildbot.python.org\\3.x.kloth-win64\\build\\build\\test_python_3780'
  with temp_dir(path=name, quiet=quiet) as temp_path:
test_wait3 skipped -- os.fork not defined
test_pipes skipped -- pipes module only works on posix
test_multiprocessing_fork skipped -- fork is not available on Windows
test_ttk_guionly skipped -- gui not available (WSF_VISIBLE flag not set)
test_resource skipped -- No module named 'resource'
minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(50) : Assertion failed: (_osfile(fh) & FOPEN)
test_nis skipped -- No module named 'nis'
test_syslog skipped -- No module named 'syslog'
test_spwd skipped -- No module named 'spwd'
test_epoll skipped -- test works only on Linux 2.6
test_devpoll skipped -- test works only on Solaris OS family
test_readline skipped -- No module named 'readline'
test_gdb skipped -- Couldn't find gdb on the path
test_xxtestfuzz skipped -- No module named '_xxtestfuzz'
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_tix skipped -- gui not available (WSF_VISIBLE flag not set)
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000007f0 (most recent call first):
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_mmap.py", line 645 in test_crasher_on_windows
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 642 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 702 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\runner.py", line 176 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 137 in runtest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 305 in rerun_failed_tests
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 623 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 586 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 640 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\__main__.py", line 2 in <module>
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 85 in _run_code
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 192 in _run_module_as_main
Windows fatal exception: code 0x80000003

Current thread 0x000007f0 (most recent call first):
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_mmap.py", line 645 in test_crasher_on_windows
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 642 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\case.py", line 702 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 122 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\suite.py", line 84 in __call__
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\runner.py", line 176 in run
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\runtest.py", line 137 in runtest
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 305 in rerun_failed_tests
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 623 in _main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 586 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\libregrtest\main.py", line 640 in main
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\__main__.py", line 2 in <module>
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 85 in _run_code
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\runpy.py", line 192 in _run_module_as_main

Could Not Find C:\buildbot.python.org\3.x.kloth-win64\build\PCbuild\python*.zip

@@ -117,6 +117,7 @@ typedef struct {
static void
mmap_object_dealloc(mmap_object *m_obj)
{
Py_BEGIN_ALLOW_THREADS
#ifdef MS_WINDOWS
if (m_obj->data != NULL)
UnmapViewOfFile (m_obj->data);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PyMem_Free(m_obj->tagname) is called below without holding the GIL: that's illegal. Other move the call to free when the GIL is hold again, or use PyMem_RawFree().

"Warning: The GIL must be held when using these functions. "
https://docs.python.org/dev/c-api/memory.html#memory-interface

Note: You can use PYTHONMALLOC=debug or -X dev to reproduce the issue on a Python compiled in release mode.

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 Windows8 3.x has failed when building commit bb9593a.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/32/builds/2260) and take a look at the build logs.
  4. Check if the failure is related to this commit (bb9593a) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/32/builds/2260

Click to see traceback logs
From https://github.com/python/cpython
 * branch            master     -> FETCH_HEAD
Reset branch 'master'

Could Not Find D:\buildarea\3.x.bolen-windows8\build\Lib\*.pyc
The system cannot find the file specified.
Could Not Find D:\buildarea\3.x.bolen-windows8\build\PCbuild\python*.zip

test_dbm_ndbm skipped -- No module named '_dbm'
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001208 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\test_mmap.py", line 645 in test_crasher_on_windows
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 600 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\regrtest.py", line 46 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\regrtest.py", line 50 in <module>
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 192 in _run_module_as_main
Windows fatal exception: code 0x80000003

Current thread 0x00001208 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\test_mmap.py", line 645 in test_crasher_on_windows
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 600 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\regrtest.py", line 46 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\regrtest.py", line 50 in <module>
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 192 in _run_module_as_main
test_gdb skipped -- Couldn't find gdb on the path
D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py:1056: RuntimeWarning: tests may fail, unable to create temporary directory 'D:\\buildarea\\3.x.bolen-windows8\\build\\build\\test_python_4272': [WinError 183] Cannot create a file when that file already exists: 'D:\\buildarea\\3.x.bolen-windows8\\build\\build\\test_python_4272'
  with temp_dir(path=name, quiet=quiet) as temp_path:
test_grp skipped -- No module named 'grp'
test_openpty skipped -- os.openpty() not available.
test_pty skipped -- No module named 'termios'
test_wait4 skipped -- object <module 'os' from 'D:\\buildarea\\3.x.bolen-windows8\\build\\lib\\os.py'> has no attribute 'fork'
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000780 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001230 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000694 (most recent call first):

Current thread 0x0000123c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000007f4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000010bc (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000081c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000278 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000007d0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000cfc (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000013ec (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000c5c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000be0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000e88 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000f64 (most recent call first):

Current thread 0x00000598 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000d08 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000640 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000010d4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000b94 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000ab4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000f00 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000125c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000008fc (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000087c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000005c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000012f8 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001148 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000ec4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000012ec (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001030 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000132c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000011b4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001304 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000d18 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000c68 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000011e8 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000013dc (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000126c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001360 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000d80 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001344 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001028 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001044 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000c8c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000020 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\_test_multiprocessing.py", line 3484 in test_heap
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 600 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\regrtest.py", line 46 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\regrtest.py", line 50 in <module>
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 192 in _run_module_as_main
Windows fatal exception: code 0x80000003

Current thread 0x00000020 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\_test_multiprocessing.py", line 3484 in test_heap
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 600 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\regrtest.py", line 46 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\regrtest.py", line 50 in <module>
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 192 in _run_module_as_main
test_posix skipped -- No module named 'posix'
test_ossaudiodev skipped -- No module named 'ossaudiodev'
test_pwd skipped -- No module named 'pwd'
test_fork1 skipped -- object <module 'os' from 'D:\\buildarea\\3.x.bolen-windows8\\build\\lib\\os.py'> has no attribute 'fork'
test_pipes skipped -- pipes module only works on posix
test_dbm_gnu skipped -- No module named '_gdbm'
test_curses skipped -- No module named '_curses'
test_multiprocessing_forkserver skipped -- forkserver is not available on Windows
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_resource skipped -- No module named 'resource'
minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
stty: standard input: Inappropriate ioctl for device
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000010e4 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\test_os.py", line 2038 in test_CTRL_BREAK_EVENT
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 600 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\regrtest.py", line 46 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\regrtest.py", line 50 in <module>
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 192 in _run_module_as_main
Windows fatal exception: code 0x80000003

Current thread 0x000010e4 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\test_os.py", line 2038 in test_CTRL_BREAK_EVENT
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 600 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\regrtest.py", line 46 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\regrtest.py", line 50 in <module>
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 192 in _run_module_as_main
test_readline skipped -- No module named 'readline'
test_fcntl skipped -- No module named 'fcntl'
test_multiprocessing_fork skipped -- fork is not available on Windows
test_syslog skipped -- No module named 'syslog'
test_threadsignals skipped -- Can't test signal on win32
D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py:1056: RuntimeWarning: tests may fail, unable to create temporary directory 'D:\\buildarea\\3.x.bolen-windows8\\build\\build\\test_python_3976': [WinError 183] Cannot create a file when that file already exists: 'D:\\buildarea\\3.x.bolen-windows8\\build\\build\\test_python_3976'
  with temp_dir(path=name, quiet=quiet) as temp_path:
test_nis skipped -- No module named 'nis'
test_wait3 skipped -- os.fork not defined
test_xxtestfuzz skipped -- No module named '_xxtestfuzz'
minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
test_spwd skipped -- No module named 'spwd'
test_kqueue skipped -- test works only on BSD
test_devpoll skipped -- test works only on Solaris OS family
D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py:1056: RuntimeWarning: tests may fail, unable to create temporary directory 'D:\\buildarea\\3.x.bolen-windows8\\build\\build\\test_python_4272': [WinError 183] Cannot create a file when that file already exists: 'D:\\buildarea\\3.x.bolen-windows8\\build\\build\\test_python_4272'
  with temp_dir(path=name, quiet=quiet) as temp_path:
test_poll skipped -- select.poll not defined
test_ioctl skipped -- No module named 'fcntl'
test_epoll skipped -- test works only on Linux 2.6
test_crypt skipped -- No module named '_crypt'
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000006a4 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\test_mmap.py", line 645 in test_crasher_on_windows
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 137 in runtest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 305 in rerun_failed_tests
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 623 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\__main__.py", line 2 in <module>
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 192 in _run_module_as_main
Windows fatal exception: code 0x80000003

Current thread 0x000006a4 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\test_mmap.py", line 645 in test_crasher_on_windows
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows8\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\runtest.py", line 137 in runtest
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 305 in rerun_failed_tests
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 623 in _main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows8\build\lib\test\__main__.py", line 2 in <module>
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows8\build\lib\runpy.py", line 192 in _run_module_as_main

Could Not Find D:\buildarea\3.x.bolen-windows8\build\PCbuild\python*.zip

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 Windows10 3.x has failed when building commit bb9593a.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/3/builds/2184) and take a look at the build logs.
  4. Check if the failure is related to this commit (bb9593a) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/3/builds/2184

Click to see traceback logs
From https://github.com/python/cpython
 * branch            master     -> FETCH_HEAD
Reset branch 'master'

Could Not Find D:\buildarea\3.x.bolen-windows10\build\Lib\*.pyc
The system cannot find the file specified.
Could Not Find D:\buildarea\3.x.bolen-windows10\build\PCbuild\python*.zip

minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
test_kqueue skipped -- test works only on BSD
test_nis skipped -- No module named 'nis'
test_devpoll skipped -- test works only on Solaris OS family
test_curses skipped -- No module named '_curses'
test_resource skipped -- No module named 'resource'
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001298 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000024a0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001fa4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001580 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000020ec (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000024d0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000021a8 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000022a4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001b4c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001ac0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000017b0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000818 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000ba0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000fb8 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001f2c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001e5c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000c80 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001e30 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001d68 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000009f4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001558 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000b08 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000025d0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001124 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00002374 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001b6c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000022f0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00002748 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001dd0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001d78 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000026ac (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00002414 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000234 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001fa4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000005d0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000020c0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001b4c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000000cc (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000d3c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000012c4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000018d0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000013c8 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00002768 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000024a0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00002414 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000024cc (most recent call first):
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\_test_multiprocessing.py", line 3484 in test_heap
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 600 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\regrtest.py", line 46 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\regrtest.py", line 50 in <module>
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 192 in _run_module_as_main
Windows fatal exception: code 0x80000003

Current thread 0x000024cc (most recent call first):
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\_test_multiprocessing.py", line 3484 in test_heap
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 600 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\regrtest.py", line 46 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\regrtest.py", line 50 in <module>
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 192 in _run_module_as_main
test_fcntl skipped -- No module named 'fcntl'
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000027a8 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_mmap.py", line 645 in test_crasher_on_windows
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 600 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\regrtest.py", line 46 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\regrtest.py", line 50 in <module>
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 192 in _run_module_as_main
Windows fatal exception: code 0x80000003

Current thread 0x000027a8 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_mmap.py", line 645 in test_crasher_on_windows
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 600 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\regrtest.py", line 46 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\regrtest.py", line 50 in <module>
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 192 in _run_module_as_main
test_grp skipped -- No module named 'grp'
test_crypt skipped -- No module named '_crypt'
test_dbm_gnu skipped -- No module named '_gdbm'
D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py:1056: RuntimeWarning: tests may fail, unable to create temporary directory 'D:\\buildarea\\3.x.bolen-windows10\\build\\build\\test_python_8152': [WinError 183] Cannot create a file when that file already exists: 'D:\\buildarea\\3.x.bolen-windows10\\build\\build\\test_python_8152'
  with temp_dir(path=name, quiet=quiet) as temp_path:
test_wait3 skipped -- os.fork not defined
test_multiprocessing_forkserver skipped -- forkserver is not available on Windows
test_wait4 skipped -- object <module 'os' from 'D:\\buildarea\\3.x.bolen-windows10\\build\\lib\\os.py'> has no attribute 'fork'
minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
test_threadsignals skipped -- Can't test signal on win32
test_xxtestfuzz skipped -- No module named '_xxtestfuzz'
test_gdb skipped -- Couldn't find gdb on the path
D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py:1056: RuntimeWarning: tests may fail, unable to create temporary directory 'D:\\buildarea\\3.x.bolen-windows10\\build\\build\\test_python_10148': [WinError 183] Cannot create a file when that file already exists: 'D:\\buildarea\\3.x.bolen-windows10\\build\\build\\test_python_10148'
  with temp_dir(path=name, quiet=quiet) as temp_path:
test_pwd skipped -- No module named 'pwd'
test_spwd skipped -- No module named 'spwd'
test_multiprocessing_fork skipped -- fork is not available on Windows
test_pty skipped -- No module named 'termios'
test_pipes skipped -- pipes module only works on posix
test_ioctl skipped -- No module named 'fcntl'
test_openpty skipped -- os.openpty() not available.
test_fork1 skipped -- object <module 'os' from 'D:\\buildarea\\3.x.bolen-windows10\\build\\lib\\os.py'> has no attribute 'fork'
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_syslog skipped -- No module named 'syslog'
test_posix skipped -- No module named 'posix'
test_dbm_ndbm skipped -- No module named '_dbm'
test_epoll skipped -- test works only on Linux 2.6
test_poll skipped -- select.poll not defined
stty: standard input: Inappropriate ioctl for device
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000024d0 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_os.py", line 2038 in test_CTRL_BREAK_EVENT
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 600 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\regrtest.py", line 46 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\regrtest.py", line 50 in <module>
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 192 in _run_module_as_main
Windows fatal exception: code 0x80000003

Current thread 0x000024d0 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_os.py", line 2038 in test_CTRL_BREAK_EVENT
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 127 in runtest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest_mp.py", line 68 in run_tests_worker
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 600 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\regrtest.py", line 46 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\regrtest.py", line 50 in <module>
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 192 in _run_module_as_main
D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py:1056: RuntimeWarning: tests may fail, unable to create temporary directory 'D:\\buildarea\\3.x.bolen-windows10\\build\\build\\test_python_8092': [WinError 183] Cannot create a file when that file already exists: 'D:\\buildarea\\3.x.bolen-windows10\\build\\build\\test_python_8092'
  with temp_dir(path=name, quiet=quiet) as temp_path:
test_ossaudiodev skipped -- No module named 'ossaudiodev'
test_readline skipped -- No module named 'readline'
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001ebc (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001118 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000fc8 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000021c4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000ecc (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000019d4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00002798 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00002434 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000012c4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00002028 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001d94 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000183c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000494 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001ff0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000013ec (most recent call first):

Current thread 0x000020b8 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000001c0 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000184c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001bac (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001bc8 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001c34 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001868 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000019cc (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000026e8 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00002734 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000026b8 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001fb4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001db8 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00002708 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001d20 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000264 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00002730 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001c94 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000eb8 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000009cc (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001a78 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000024bc (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000974 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00002458 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001670 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001e98 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001378 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x0000236c (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x000021c4 (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00000ecc (most recent call first):
Fatal Python error: Python memory allocator called without holding the GIL

Current thread 0x00001c08 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\_test_multiprocessing.py", line 3484 in test_heap
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 137 in runtest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 305 in rerun_failed_tests
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 623 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\__main__.py", line 2 in <module>
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 192 in _run_module_as_main
Windows fatal exception: code 0x80000003

Current thread 0x00001c08 (most recent call first):
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\_test_multiprocessing.py", line 3484 in test_heap
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 642 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\case.py", line 702 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 122 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\suite.py", line 84 in __call__
  File "D:\buildarea\3.x.bolen-windows10\build\lib\unittest\runner.py", line 176 in run
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 1968 in _run_suite
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\support\__init__.py", line 2064 in run_unittest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 178 in test_runner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 182 in runtest_inner
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\runtest.py", line 137 in runtest
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 305 in rerun_failed_tests
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 623 in _main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 586 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\libregrtest\main.py", line 640 in main
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\__main__.py", line 2 in <module>
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 85 in _run_code
  File "D:\buildarea\3.x.bolen-windows10\build\lib\runpy.py", line 192 in _run_module_as_main

Could Not Find D:\buildarea\3.x.bolen-windows10\build\PCbuild\python*.zip

hauntsaninja added a commit to hauntsaninja/cpython that referenced this pull request Oct 10, 2022
This seems pretty straightforward. The issue mentions other calls in
mmapmodule that we could release the GIL on, but those are in methods
where we'd need to be careful to ensure that something sensible happens
if those are called concurrently. In prior art, note that python#12073
released the GIL for munmap.  In a toy benchmark, I see the speed up
you'd expect from doing this.
miss-islington pushed a commit that referenced this pull request Oct 10, 2022
This seems pretty straightforward. The issue mentions other calls in mmapmodule that we could release the GIL on, but those are in methods where we'd need to be careful to ensure that something sensible happens if those are called concurrently. In prior art, note that #12073 released the GIL for munmap.  In a toy benchmark, I see the speedup you'd expect from doing this.

Automerge-Triggered-By: GH:gvanrossum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants