Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 05e8d8987c3ab2fd1b203b93926c9e642d075a3b8b92f7b8d2043b55d4b1dc6e
Ticket: 9a2351225c77fb4a90cf23ade237414b4f199361
32-bit build broken (test lseq-bug-54329e39c7 fails)
User & Date: dkf on 2025-06-05 08:00:06
Changes

  1. icomment:
    @apnadkarni `p2` is _designed_ to force things to a list; by comparing it with `p1`, I can see that `p1` isn't converting. The number of allocs is going to be large in both cases because there's all those temporary items for the members of the sequence, but they should all be released again and cause no problems.
    
    > I'm much more concerned by the "current bytes allocated" figure in the `p2` case; the memory (either from the sequence or its copy) shouldn't be still being held. OTOH, it's strictly beyond the scope of the original test. New test case?
    >
    > Out of scope of this issue.
    
    I think we can rewrite the failing test to use `memory info` and get a more reliable result that works across all platforms and doesn't have that "interesting" purify exception. I suspect we'll need to run it in a subprocess for that to really work, as we're not just interested in leaks but also in peak allocations.
    
  2. login: "dkf"
  3. mimetype: "text/x-markdown"