Skip to content
Tcl Source Code History Of Ticket 219142
Login

History Of Ticket 219142

Artifacts Associated With Ticket 219142

  1. Ticket change [3adb30e4ca] (rid 112630) by nobody on 2000-10-26 05:02:16:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
    4. foundin initialized to: "obsolete: 8.0.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "bug in bgerror: should use Tcl_GetCommandInfo"
    11. type initialized to: "Bug"
  2. Ticket change [b2b431f21a] (rid 98385) by dkf on 2000-11-19 17:48:52:

    1. 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.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "6"
    5. subsystem changed to: "81. Bundled Packages"
    6. username: "dkf"
  3. Ticket change [21e218b538] (rid 130658) by dkf on 2000-12-03 01:54:38:

    1. 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...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  4. Ticket change [cc8ff1e9b1] (rid 95720) by dkf on 2001-02-07 23:14:03:

    1. subsystem changed to: "02. Event Loops"
  5. Ticket change [4c8dc94c54] (rid 126910) by msofer on 2001-08-30 21:03:49:

    1. assignee changed to: "msofer"
  6. Ticket change [ffd2181250] (rid 108831) by kennykb on 2001-12-11 03:20:24:

    1. icomment:
      Logged In: YES 
      user_id=99768
      
      Donal's not entirely right here.  The stack trace of the original error gets lost.
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  7. Add attachment "bgerror.patch" [3bbdada8e0] (rid 112795) by msofer on 2001-12-11 03:31:48.

  8. Ticket change [8662a03121] (rid 131499) by msofer on 2001-12-11 03:31:48:

    1. closedate changed to: "2001-12-10T20:31:48"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      Single loc fix and test committed.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "msofer"
  9. Ticket change [2748160fdf] (rid 88490) by msofer on 2001-12-11 03:31:49:

    1. icomment:
      
      
      File Added - 14469: bgerror.patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"