Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ea1603089d8ffc2130f6006c73d09e8c4e02bd632e6f3a60e4798a8d2292ad5b
Ticket: f6afe6b71d26e111c7742690fe93c164a5489404
latest 9-0-branch commit introduces test suite crash
User & Date: sebres on 2026-09-02 17:21:06
Changes

  1. closedate changed to: "2461286.2229935997"
  2. closer changed to: "sebres"
  3. icomment:
    Just for the record, in between I could reproduce the OO-test memory failure with previous commit (before the fix)...
    
    Simplest reproduceable case shows it is oo-15.14 "OO: object cloning with target NS":
    <details>
    
    ```
    $ fossil update a8133670760aa4a8
    $ ../configure --enable-symbols --disable-zipfs && make -j8 tcltest
    $ ./tcltest.sh -file 'oo.test' -verbose stepm -match 'oo-15.1?'
    ...
    Tests began at 2026-09-02 18:56:56 +0200
    oo.test
    ---- oo-15.10 start
    ++++ oo-15.10 took 1 ms
    ++++ oo-15.10 PASSED
    ---- oo-15.11 start
    ++++ oo-15.11 took 0 ms
    ++++ oo-15.11 PASSED
    ---- oo-15.12 start
    ++++ oo-15.12 took 0 ms
    ++++ oo-15.12 PASSED
    ---- oo-15.14 start
    Test file error: alloc: invalid block: 00000000035AEC50: 50 3
    
    $ fossil update core-9-0-branch && make -j8 tcltest
    $ ./tcltest.sh -file 'oo.test' -verbose stepm -match 'oo-15.1?'
    ...
    ---- oo-15.14 start
    ++++ oo-15.14 took 0 ms
    ++++ oo-15.14 PASSED
    ---- oo-15.15 start
    ++++ oo-15.15 took 0 ms
    ++++ oo-15.15 PASSED
    
    Tests ended at 2026-09-02 18:57:39 +0200
    all.tcl:        Total   388     Passed  5       Skipped 383     Failed  0
    Sourced 1 Test Files.
    ```
    </details>
    
    So it was as assumed the cloning...
    And yes, the last (already mentioned) commit fixed that.
    
    Strange is that this was at all not reproducible with `--enable-symbols=all` or `--enable-symbols=mem` (or even without `--enable-symbols`) no matter how many times I repeated that, so only `--enable-symbols` without parameter provides some constant reproducible constellation or corner case match causing that uninitialized flags got 0x80 bit (or free causes a memory failure).
    
  4. login: "sebres"
  5. mimetype: "text/x-markdown"