Overview
| Artifact ID: | b674670af3c774a00138ccb3064ea42659be0635 |
|---|---|
| Ticket: | 1997007fffffffffffffffffffffffffffffffff
[open|] blocks when redirecting stderr to pipe (Vista) |
| User & Date: | danckaert on 2008-06-18 16:11:19 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
This report refers to the standalone [pipe] command which is currently part of TclX, but proposed for inclusion in the core in TIP304. When using the [open|] command in combination with [pipe] to redirect a process' stderr, the [open|] command sometimes blocks on Vista: pipe pr pw open |[list {*}$command 2>@ $pr] This happens both with Tcl 8.5.2 and 8.6. The application goes into "not responding" state, and doesn't wake up again. It's difficult to reproduce (only happens between 1/100 ... 1/1000 times on average), but it never happens when using "2@>1" instead. It doesn't happen either when redirecting to a fake pipe created by another open command. Further investigation learnt that it actually blocks during the "CreateProcess" system call, which should not block according to Microsoft's documentation (it should either fail or succeed). The launched process is visible in the Task manager, but it is in "suspended" state and has a very low memory footprint (about 56K). - foundin changed to: "obsolete: 8.5.2"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "danckaert"
- subsystem changed to: "24. Channel Commands"
- title changed to:
[open|] blocks when redirecting stderr to pipe (Vista)
- type changed to: "Bug"