Skip to content
Tcl Source Code History Of Ticket 1446864
Login

History Of Ticket 1446864

Artifacts Associated With Ticket 1446864

  1. Ticket change [3ed9707765] (rid 121341) by msofer on 2006-03-10 00:57:02:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      As found by coverity on HEAD (applies to 8.4 too):
      
      tclBasic.c line 350 & 3294
      tclEvent.c line 408
      tclHash.c line 539
      tclInterp.c line 2214
      tclListObj.c line 830, 544, 333 & 179
      tclNamesp.c line 6218
      tclVar.c line 4667
      tclUnixInit.c line 994
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "8"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "msofer"
    9. subsystem initialized to: "None"
    10. title initialized to: "segfaults if Tcl_Panic() returns"
    11. type initialized to: "Bug"
  2. Ticket change [44744a7b8f] (rid 116712) by mistachkin on 2006-03-10 08:02:05:

    1. icomment:
      Logged In: YES 
      user_id=113501
      
      Separate policy from mechanism...
      
      1. The policy is that Tcl_Panic "must not return".
      2. The mechanism is either to call the panicProc or the
      built-in panic proc.
      
      When the hook was put in for Tcl_SetPanicProc, you deferred
      that policy to the application programmer, not the core itself.
      
      You can't just un-defer it now.  Changing Tcl_Panic to call
      abort() after the panicProc is a breaking change.
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  3. Ticket change [6a8e9c7adc] (rid 128173) by msofer on 2006-03-10 08:03:30:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Quotes from Panic.3
      
      Tcl_PanicProc *panicProc (in)
          Procedure to report fatal error message and abort.
      
      To maintain consistency with the callers of Tcl_Panic,
      panicProc must not return; it must call abort.
      
      The current implementation of Tcl_Panic() permits it to
      return after a suitable returning panicProc has been defined.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [35a3db97f2] (rid 106973) by msofer on 2006-03-10 08:08:40:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Plus many others that coverity missed, like tclVar.c line
      3293. The core (and probably everybody else save joe)
      assumes that Tcl_Panic() does not return, as documented and
      suggested by the function's name.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Ticket change [7d5e355afe] (rid 97227) by hobbs on 2006-03-10 09:37:21:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      It is common knowledge that Tcl_SetPanicProc is the one
      mechanism that can be used to handle low memory conditions.
       In fact, it was one of the original reasons for being. 
      Until we have an alternate documented mechanism, we should
      not change Tcl_Panic's behavior.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
    5. username: "hobbs"
  6. Ticket change [76c1c1b5c1] (rid 143162) by jan.nijtmans on 2015-09-23 11:26:03:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2457288.97642402"
    3. closer changed to: "jan.nijtmans"
    4. comment changed to:
      As found by coverity on HEAD (applies to 8.4 too):
      
      tclBasic.c line 350 & 3294
      tclEvent.c line 408
      tclHash.c line 539
      tclInterp.c line 2214
      tclListObj.c line 830, 544, 333 & 179
      tclNamesp.c line 6218
      tclVar.c line 4667
      tclUnixInit.c line 994
      
    5. icomment: "Fixed in trunk [4a27b0487a8d9860]."
    6. login: "jan.nijtmans"
    7. mimetype: "text/x-fossil-wiki"
    8. resolution changed to: "Fixed"
    9. severity changed to: "Minor"
    10. status changed to: "Closed"