Artifacts Associated With Ticket 219142ffffffffff
Ticket change [3adb30e4ca] (rid 112630) by nobody on 2000-10-26 05:02:16:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
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
- foundin initialized to: "obsolete: 8.0.3"
- 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: "bug in bgerror: should use Tcl_GetCommandInfo"
- type initialized to: "Bug"
Ticket change [b2b431f21a] (rid 98385) by dkf on 2000-11-19 17:48:52:
- icomment:
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.
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "6"
- subsystem changed to: "81. Bundled Packages"
- username: "dkf"
- icomment:
Ticket change [21e218b538] (rid 130658) by dkf on 2000-12-03 01:54:38:
- icomment:
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...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [cc8ff1e9b1] (rid 95720) by dkf on 2001-02-07 23:14:03:
- subsystem changed to: "02. Event Loops"
Ticket change [4c8dc94c54] (rid 126910) by msofer on 2001-08-30 21:03:49:
- assignee changed to: "msofer"
Ticket change [ffd2181250] (rid 108831) by kennykb on 2001-12-11 03:20:24:
- icomment:
Logged In: YES user_id=99768 Donal's not entirely right here. The stack trace of the original error gets lost.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Add attachment "bgerror.patch" [3bbdada8e0] (rid 112795) by msofer on 2001-12-11 03:31:48.
Ticket change [8662a03121] (rid 131499) by msofer on 2001-12-11 03:31:48:
- closedate changed to: "2001-12-10T20:31:48"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 Single loc fix and test committed.
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"
Ticket change [2748160fdf] (rid 88490) by msofer on 2001-12-11 03:31:49:
- icomment:
File Added - 14469: bgerror.patch
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment: