Artifacts Associated With Ticket 218811
Ticket change [dab3cce8c4] (rid 107840) by nobody on 2000-10-26 01:05:49:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.0.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "source /dev/tty ;# this crashes after 1st char"
- type initialized to: "Bug"
Ticket change [6a0614a221] (rid 128075) by welch on 2000-10-26 08:29:16:
- closedate changed to: "2000-10-26T01:29:16"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [a9783a204d] (rid 99154) by dgp on 2001-04-16 23:05:10:
- closedate changed to: "2001-04-16T16:05:10"
- closer changed to: "dgp"
- subsystem changed to: "25. Channel System"