[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #765: broken posix/process function under Windows
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #765: broken posix/process function under Windows 7 (MingW) |
Date: |
Mon, 09 Jul 2012 19:14:13 -0000 |
#765: broken posix/process function under Windows 7 (MingW)
-----------------------------+----------------------------------------------
Reporter: Karl_H | Owner:
Type: defect | Status: new
Priority: major | Milestone: 4.8.0
Component: core libraries | Version: 4.7.x
Resolution: | Keywords:
-----------------------------+----------------------------------------------
Comment(by sjamaan):
The docs for [http://msdn.microsoft.com/en-
us/library/windows/desktop/ms682425%28v=vs.85%29.aspx CreateProcess] and
[http://msdn.microsoft.com/en-
us/library/windows/desktop/ms686331%28v=vs.85%29.aspx STARTUPINFO] seem to
hint that either STARTF_USESTDHANDLES is set and all three of StdIn,
StdOut and StdErr must be set and must be valid FDs, or
STARTF_USESTDHANDLES is not set and the handles are ignored.
"The caller is responsible for ensuring that the standard handle fields in
STARTUPINFO contain valid handle values. These fields are copied unchanged
to the child process without validation, even when the dwFlags member
specifies STARTF_USESTDHANDLES. Incorrect values can cause the child
process to misbehave or crash. Use the Application Verifier runtime
verification tool to detect invalid handles"
I wonder if that "Application Verifier" program indeed points out that
Chicken is doing something wrong? Might be a good idea to run it anyway,
and see what it comes up with. Perhaps this can help us find other
annoying Windows bugs.
--
Ticket URL: <http://bugs.call-cc.org/ticket/765#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- Re: [Chicken-janitors] #765: broken posix/process function under Windows 7 (MingW),
Chicken Trac <=