|
2001-04-16
| ||
| 23:05 | • Ticket [218811ffff] source /dev/tty ;# this crashes after 1st char status st... artifact: a9783a204d user: dgp | |
|
2000-10-26
| ||
| 08:29 | • Closed ticket [218811ffff]. artifact: 6a0614a221 user: welch | |
| 01:05 | • New ticket [218811ffff]. artifact: dab3cce8c4 user: nobody | |
source /dev/tty ;# this crashes after 1st char
Closed / Fixed218811ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:05:49
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
welch Closed ticket [218811ffff].
[History diff]2000-10-26 08:29:16
dgp Ticket [218811ffff]: 3 changes
[History diff]2001-04-16 23:05:10
Log in (anonymous is fine) to add a comment.