Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2025-06-04
05:58 • Closed ticket [7b0b88f720]: Test lseq-bug-54329e39c7 fails on trunk on Github C... artifact: 2526732a1c user: apnadkarni
03:47 • New ticket [7b0b88f720]. artifact: 47591f3e0f user: apnadkarni

Test lseq-bug-54329e39c7 fails on trunk on Github CI

Closed / Duplicate7b0b88f72056e57ca4924a0d4c501d0e21cd3dcbCreated 2 years agoUpdated 2 years ago
Descriptionmarkdown2025-06-04 03:47:14

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. 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.

apnadkarniplain2025-06-04 05:58:38
Closing as duplicate of [9a2351225c].
Log in (anonymous is fine) to add a comment.