Skip to content
Tcl Source Code History Of Ticket 52dbc4b3f8ef52c4
Login

History Of Ticket 52dbc4b3f8ef52c4

Artifacts Associated With Ticket 52dbc4b3f8ef52c4

  1. Ticket change [d66bf90962] (rid 219369) by chrstphrchvz on 2023-10-13 08:35:33:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      <tt>Tcl_Free()</tt> is not a <tt>Tcl_LimitHandlerDeleteProc</tt>. Nothing in core Tcl calls <tt>Tcl_LimitAddHandler()</tt> with <tt>TCL_DYNAMIC</tt> as the <tt>deleteProc</tt>, but I predict that doing so would cause UBSan <tt>-fsanitize=function</tt> errors with the following:
      
      <pre>
      <span style="font-weight:bold"><span style="color:firebrick">runtime error:</span> call to function TclpFree through pointer to incorrect function type 'void (*)(void *)'</span>
      </pre>
      
      A workaround would be to use a wrapper function; see attached patch.
      
    5. foundin initialized to: "8.6.13"
    6. is_private initialized to: "0"
    7. login: "chrstphrchvz"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "6133eb3026f9b10aa9b7b48da92ae2834fc225b0"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "chrstphrchvz"
    14. subsystem initialized to: "20. [interp]"
    15. title initialized to:
      tclInterp.c: Tcl_Free() called through pointer of incorrect type
      
    16. type initialized to: "Bug"
  2. Add attachment "52dbc4b3f8ef.diff" [6ad574fcfc] (rid 219371) by chrstphrchvz on 2023-10-13 08:42:38.

  3. Ticket change [ea4acd10d7] (rid 219597) by chrstphrchvz on 2023-10-17 09:53:47:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2460234.91235418"
    3. closer changed to: "chrstphrchvz"
    4. icomment: "This was fixed in [e75f319dc8cf]. Thanks, Jan!"
    5. login: "chrstphrchvz"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"