Overview
| Artifact ID: | dab3cce8c4744587a0fc92619b73d8dbe0cfcfd6 |
|---|---|
| Ticket: | 218811ffffffffffffffffffffffffffffffffff
source /dev/tty ;# this crashes after 1st char |
| User & Date: | nobody on 2000-10-26 01:05:49 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 2193 Bug Version: 8.0.4 SubmitDate: '1999-06-07' LastModified: '1999-10-21' Severity: LOW Status: Released Submitter: techsupp ChangedBy: hobbs OS: Solaris Machine: Other FixedDate: '1999-10-21' FixedInVersion: 8.2 ClosedDate: '2000-10-25' Name: Klaus Martin Frank Extensions: Innovator Version 6.0.03 but see 15) CustomShell: The newest tclsh I'm using here has some modifications, but the bug can be ReproducibleScript: $ gdb tclsh ... (gdb) run ... % source /dev/tty [hit any key now] ObservedBehavior: Program received signal SIGSEGV, Segmentation fault. 0xef740488 in CopyAndTranslateBuffer () (gdb) where #0 0xef740488 in CopyAndTranslateBuffer () #1 0xef740a00 in DoRead () #2 0xef740998 in Tcl_Read () #3 0xef7462d0 in Tcl_EvalFile () #4 0xef71d828 in Tcl_SourceObjCmd () #5 0xef72fcc4 in TclExecuteByteCode () #6 0xef713464 in Tcl_EvalObj () #7 0xef73a4dc in Tcl_RecordAndEvalObj () #8 0xef748b80 in Tcl_Main () #9 0x10ad0 in main () DesiredBehavior: Robust handling of this special case, maybe reading a script from /dev/tty until explicit EOF special character. The Bourne shell is able to source /dev/tty this way. The C shell seems to behave like tclsh 7.4. Confirmed that 8.0.4 does segv, but 8.2.1 does not (some fix must have been applied). It appears to hang, but I'm not sure what the user expects from this... -- 10/21/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: "69. Other"
- title changed to: "source /dev/tty ;# this crashes after 1st char"
- type changed to: "Bug"