Skip to content
Tcl Source Code History Of Ticket d2c2baac2
Login

History Of Ticket d2c2baac2

Artifacts Associated With Ticket d2c2baac2

  1. Ticket change [ab74c6db1f] (rid 206356) by apnadkarni on 2022-11-02 15:18:01:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      A 32-bit build on Windows (tried gcc and vc++) exits immediately on start up with a stack overflow exception. 64-bit builds do not have a problem. I do not have a 32-bit Linux box to see if the issue exists there as well. My guess would be yes.
      
      The stack trace shows recursive calls to TclListObjLength. I believe this is due to these macro definitions: https://core.tcl-lang.org/tcl/file?ci=tip&name=generic/tclDecls.h&ln=4502
      
      Essentially when `sizeof(*lengthPtr) == sizeof(int)` Tcl_ListObjLength expands to `TclListObjLength()`. That in turn calls `Tcl_ListObjLength` resulting in recursion. I believe this comes from the macro changes for TIP 616 and perhaps 628  and will affect not just this function but others defined in that TIP as well (Tcl_DictObjLength for example).
      
      Tcl 8.7 32-bit builds do not have this problem.
      
    5. foundin initialized to: "9.0"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Critical"
    11. status initialized to: "Open"
    12. submitter initialized to: "apnadkarni"
    13. subsystem initialized to: "41. Memory Allocation"
    14. title initialized to:
      Tcl 9 32-bit build exits immediately with stack overflow on Windows
      
    15. type initialized to: "Bug"
  2. Ticket change [26cb7fee2b] (rid 206359) by jan.nijtmans on 2022-11-02 15:26:43:

    1. assignee changed to: "jan.nijtmans"
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  3. Ticket change [4a76824dc4] (rid 206360) by apnadkarni on 2022-11-02 15:26:56:

    1. login: "apnadkarni"
    2. mimetype: "text/plain"
  4. Ticket change [153eda9771] (rid 206373) by jan.nijtmans on 2022-11-02 16:04:11:

    1. closedate changed to: "2459886.16957958"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Fixed [ab45fca08581c24f|here]
      
      Thanks for the report!
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"