Overview
| Artifact ID: | 49ea3fa3b0bba9690e79a6818d689ca3438e9d69 |
|---|---|
| Ticket: | 1997007fffffffffffffffffffffffffffffffff
[open|] blocks when redirecting stderr to pipe (Vista) |
| User & Date: | ferrieux on 2008-06-20 22:12:37 |
Changes
- icomment:
Logged In: YES user_id=496139 Originator: NO Thanks for this first bunch of answers. Now a few additions: - Can you use StraceNTx (all syscalls) instead of ProcMon (IO and registry only) ? - I can see your "Tcl" process has a nonstandard name "chess86mk.exe". Can you give details ? It is single-threaded/single-interpreter ? - In any case can you reproduce with vanilla tclsh+TclX ? <== VERY IMPORTANT - Your example shows one success with mist.exe, one failure with showcolor.exe. Is it just a coincidence, or do all mist suceed and all showcolor fail ? The fact that single-processor lowers the probability strongly hints at a race condition in Windows. I know that inheritable handles are shared across all threads of the parent, thus you need a critical section around CreateProcess in that case, but in any case I sincerely hope you're *not* spawning children from different threads in the parent...
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"