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

Author terry.reedy
Recipients paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
Date 2017-08-17.17:28:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502990905.97.0.599281951083.issue31228@psf.upfronthosting.co.za>
In-reply-to
Content
Running Debug|Win32 interpreter...
Python 3.7.0a0 (heads/master:b907abc885, Aug 17 2017, 11:41:56) [MSC v.1900 32 bit (Intel)] on win32

I get the following crash report
--------------------------------------------------------------
Microsoft Visual C++ Runtime Library
(X) Debug Assertion Failed!
Program: F:\dev\3x\PCBuild\win32\python_d.exe
File: minkernel\crts\ucrt\src\appcrt\lowio\close.cpp
Line: 48

Expression: (fh >= 0 && (unsigned)fh < (unsigned)_nhandle
...
(Press Retry to debug the application)
----------------------------------------------------------------

when running the following, extracted from test.pythoninfo

import subprocess
proc = subprocess.Popen(["gdb", "-nx", "--version"],
                        stdout=subprocess.PIPE,
                        stderr=subprocess.PIPE,
                        universal_newlines=True)

If I do any of the following, I get the expected FileNotFound error.
1. Run with installed normal 64-bit 3.6.
2. Replace 'gdb' with 'python' (but 'xyz' still crashes).
3. Remove the std... options or replace subprocess.PIPE with a real file.
History
Date User Action Args
2017-08-17 17:28:26terry.reedysetrecipients: + terry.reedy, paul.moore, tim.golden, zach.ware, steve.dower
2017-08-17 17:28:25terry.reedysetmessageid: <1502990905.97.0.599281951083.issue31228@psf.upfronthosting.co.za>
2017-08-17 17:28:25terry.reedylinkissue31228 messages
2017-08-17 17:28:25terry.reedycreate