|
2001-12-11
| ||
| 03:31 | • Ticket [219142ffff] bug in bgerror: should use Tcl_GetCommandInfo status sti... artifact: 2748160fdf user: msofer | |
| 03:31 | • Add attachment bgerror.patch to ticket [219142ffff] artifact: 3bbdada8e0 user: msofer | |
| 03:31 | • Closed ticket [219142ffff]: bug in bgerror: should use Tcl_GetCommandInfo pl... artifact: 8662a03121 user: msofer | |
| 03:20 | • Ticket [219142ffff]: 4 changes artifact: ffd2181250 user: kennykb | |
|
2001-08-30
| ||
| 21:03 | • Ticket [219142ffff]: 1 change artifact: 4c8dc94c54 user: msofer | |
|
2001-02-07
| ||
| 23:14 | • Ticket [219142ffff]: 1 change artifact: cc8ff1e9b1 user: dkf | |
|
2000-12-03
| ||
| 01:54 | • Ticket [219142ffff]: 4 changes artifact: 21e218b538 user: dkf | |
|
2000-11-19
| ||
| 17:48 | • Ticket [219142ffff]: 6 changes artifact: b2b431f21a user: dkf | |
|
2000-10-26
| ||
| 05:02 | • New ticket [219142ffff]. artifact: 3adb30e4ca user: nobody | |
bug in bgerror: should use Tcl_GetCommandInfo
Closed / Fixed219142ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:02:16
OriginalBugID: 750 Bug Version: 8.0.3 SubmitDate: '1998-10-22' LastModified: '2000-01-23' Severity: MED Status: Assigned Submitter: admin ChangedBy: hobbs RelatedBugIDs: 3998 2577 2136 OS: All FixedDate: '2000-10-25' FixedInVersion: NA ClosedDate: '2000-10-25' Name: Paul Duffin Tcl_BackgroundError evaluates bgerror in the global context. If that returns an error then it generates the message. To determine whether bgerror is a valid command it compares the interp result with a particular string and if it matches then bgerror is not defined, else bgerror generated an error. In the first case it just writes out what the original error was, in the second case it writes out both the original error and the new error (as above). Unfortunately the string it tests against is not invalid command name "bgerror" but "bgerror" is an invalid command name or ambiguous abbreviation which I presume used to be the error returned when a command did not exist but the error has changed. It should really use Tcl_GetCommandInfo or something similar to check whether bgerror is defined. tclEvent.c:HandleBgErrors is where the problem is, but this has other problems that need resolving (see related reports) at the same time. -- 01/23/2000 hobbs
dkfplain2000-11-19 17:48:52
Ought to investigate further, but the problem will only show up when you've not got a bgerror command defined, and that's usually bad practise when you're using the event loop. Still, fixing this really ought to be a priority.
dkfplain2000-12-03 01:54:38
OTOH, it is not completely disastrous though. All you get is a complaint about the lack of a bgerror *and* a report of the original message as well...
dkf Ticket [219142ffff]: 1 change
[History diff]2001-02-07 23:14:03
msofer Ticket [219142ffff]: 1 change
[History diff]2001-08-30 21:03:49
kennykbplain2001-12-11 03:20:24
Logged In: YES user_id=99768 Donal's not entirely right here. The stack trace of the original error gets lost.
msoferplain2001-12-11 03:31:48
Logged In: YES user_id=148712 Single loc fix and test committed.
msoferplain2001-12-11 03:31:49
File Added - 14469: bgerror.patch
Log in (anonymous is fine) to add a comment.
Attachments:
- bgerror.patch [download] added by msofer on 2001-12-11 03:31:48. [details]