Overview
| Artifact ID: | 2ba37c99c338763e36e8f7675b0f8fed9020b955 |
|---|---|
| Ticket: | 218678ffffffffffffffffffffffffffffffffff
repeated "exec"s eventually fail |
| User & Date: | nobody on 2000-10-26 01:04:02 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1717 Bug Version: 8.0.4 SubmitDate: '1999-04-05' LastModified: '1999-10-29' Severity: MED Status: Released Submitter: pat ChangedBy: hobbs OS: Windows 95 FixedDate: '1999-10-29' FixedInVersion: 8.2 ClosedDate: '2000-10-25' Name: ian wild ReproducibleScript: # this script causes 8.0p2 to fail under Win95 set script [info script] button .b -text "Press me" -command { exec [info nameofexecutable] -f $script & exit } pack .b ObservedBehavior: On Win95 after the eighth click the interpreter fails with a "can't dup stderr handle" message. DesiredBehavior: The script should fork a copy of itself, then die. I should be able to continue doing this all day. Comments: I'd guess each child is inheriting more and more handles it doesn't want. Under Linux the script works perfectly (and /proc shows only three FDs open). This has been fixed in/before 8.2 (exec stuff reworked a couple of times since 8.0.4). -- 10/29/1999 hobbs - foundin changed to: "obsolete: 8.0.4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "60. NRE and coroutines"
- title changed to: "repeated "exec"s eventually fail"
- type changed to: "Bug"