Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 47591f3e0f19c78cbfa5be4cf8a8ce7f42dc275b3a853d557f8e43eca63248c1
Ticket: 7b0b88f72056e57ca4924a0d4c501d0e21cd3dcb
Test lseq-bug-54329e39c7 fails on trunk on Github CI
User & Date: apnadkarni on 2025-06-04 03:47:14
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    Github CI shows the following test failure:
    
    ```
     ==== lseq-bug-54329e39c7 does not cause memory bloat FAILED
    ==== Contents of test case:
    
        set l [lseq 1000000]
        proc p l {foreach x $l {}}
        set premem [memusage]
        p $l
        set postmem [memusage]
        expr {[string match *purify* [tcl::build-info]] || ($postmem - $premem < 10) ? 1 : ($postmem - $premem)}
    
    ---- Result was:
    36
    ---- Result should have been (exact matching):
    1
    ==== lseq-bug-54329e39c7 FAILED
    ```
    
    The configuration it fails on is Linux gcc `configure CFLAGS=-m32 CPPFLAGS=-m32 LDFLAGS=-m32 --disable-64bit`. Other Linux configurations are aborted when this run fails so it is not clear if they would also fail.
    
    The failures started happening somewhere after [0ae5d5f12e847c50](https://core.tcl-lang.org/tcl/info/0ae5d5f12e847c50). Unfortunately since fossil->github CI updates are batched, and I cannot reproduce the failure on my system, I cannot tell when it started happening.
    
    It is also possible that the test itself is flawed. It checks for increase in memory usage and it is possible the new byte code uses a little more than expected on this test. But that is pure speculation on my part.
    
  5. foundin changed to: "9.1"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "apnadkarni"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to:
    Test lseq-bug-54329e39c7  fails on trunk on Github CI
    
  16. type changed to: "Bug"