Skip to content
Tcl Source Code History Of Ticket ccc448a6bfd5
Login

History Of Ticket ccc448a6bfd5

Artifacts Associated With Ticket ccc448a6bfd5

  1. Ticket change [179d8e33ae] (rid 195560) by pooryorick on 2021-09-01 21:32:18:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      When passed as a file to tclsh, the following script, with <code>eva</code>
      missing the final <code>l</code>, results in a segmentation fault:
      
      <code><verbatim>
          namespace eva n1 {error hello}
      </verbatim></code>
      
      An alternate script that produces the same result is:
      
      <code><verbatim>
          namespace eval n1 {
              namespace ensemble create
              namespace export *
              proc p1 args {error hello}
          }
          namespace eva n1 {::n1 p1}
      </verbatim></code>
      
      The reason is that <code>TclSpellFix</code> sets <code>NULL</code> as the first
      object pointer in <code>iPtr->ensembleRewrite.sourceObjs</code> and then later,
      in <code>NRNamespaceEvalCmd</code>, <code>TclFetchEnsembleRoot</code> copies a
      pointer to this array into <code>framePtr->objv</code>. Next, when an error
      occurs, <code>TclLogCommandInfo</code> accesses this array and trips on the
      <code>NULL</code>, causing the segmentation fault.
      
    5. is_private initialized to: "0"
    6. login: "pooryorick"
    7. priority initialized to: "5 Medium"
    8. resolution initialized to: "None"
    9. severity initialized to: "Minor"
    10. status initialized to: "Open"
    11. submitter initialized to: "pooryorick"
    12. subsystem initialized to: "21. [namespace]"
    13. title initialized to:
      namespace ensemble subcommand  name prefix matching and a subsequent error results in a segmentation fault
      
    14. type initialized to: "Bug"
  2. Ticket change [bf612c0f9a] (rid 195569) by pooryorick on 2021-09-01 23:14:19:

    1. icomment: "Fixed in commit [a2e801a3d6c1675b]."
    2. login: "pooryorick"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
  3. Ticket change [b74f7e9b31] (rid 195570) by jan.nijtmans on 2021-09-02 09:21:02:

    1. assignee changed to: "pooryorick"
    2. icomment:
      Is this fix going to be backported to 8.7 -> 8.6 too?
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/plain"
  4. Ticket change [8ffcf076d2] (rid 195572) by jan.nijtmans on 2021-09-02 10:07:56:

    1. icomment:
      Windows build fails due to the the following warning, which is threated as an error in debug builds:
      <pre>
      D:\a\tcl\tcl\win\..\generic\tclEnsemble.c(2247): error C2220: the following warning is treated as an error
      D:\a\tcl\tcl\win\..\generic\tclEnsemble.c(2247): warning C4047: '=': 'Tcl_Obj *const *' differs in levels of indirection from 'Tcl_Obj *const '
      </pre>
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  5. Ticket change [43fd49a9cc] (rid 195602) by pooryorick on 2021-09-02 21:17:53:

    1. icomment: "Warning silenced in [d49a1b03291b4cde]."
    2. login: "pooryorick"
    3. mimetype: "text/x-fossil-wiki"
  6. Ticket change [fc4ca7cfba] (rid 195619) by pooryorick on 2021-09-02 22:43:11:

    1. icomment: "Fix merged to core-8-branch in [bd393417060a158f]."
    2. login: "pooryorick"
    3. mimetype: "text/x-fossil-wiki"
  7. Ticket change [1933487875] (rid 195625) by pooryorick on 2021-09-02 23:05:08:

    1. icomment:
      Fix merged to core-8-6-branch in [da5128637598b0f1].
      
    2. login: "pooryorick"
    3. mimetype: "text/x-fossil-wiki"
  8. Ticket change [4c3e04761d] (rid 195629) by jan.nijtmans on 2021-09-03 07:54:53:

    1. closedate changed to: "2459460.82978179"
    2. closer changed to: "jan.nijtmans"
    3. icomment: "Thanks! Closing"
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. status changed to: "Closed"