Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b5bf4fa0f7af05ad99bbabba2036f5aab0b44afe31adcb9c170ec077d8830047
Ticket: 1f40aa83c552f597c7aa2e01c7a3a5a2a3fe7c1c
crash with CFLAGS=-ftrapv
User & Date: jan.nijtmans on 2024-03-23 09:59:58
Changes

  1. closedate changed to: "2460392.91664527"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    > Fixed now in [4fa26c98f225a44f]
    
    Sorry, but this fix has one remaining problem and one new problem.
    
    The new problem is for --enable-symbols=mem builds, seen on all platforms:
    <pre>
    ==== var-22.1 leak in localVarName internalrep: Bug 80304238ac FAILED
    ==== Contents of test case:
    
        set end [getbytes]
        for {set i 0} {$i < 5} {incr i} {
    	doit
            set tmp $end
            set end [getbytes]
        }
        set leakedBytes [expr {$end - $tmp}]
    
    ---- Result was:
    4488
    ---- Result should have been (exact matching):
    0
    </pre>
    
    The remaining problem is with CFLAGS=-ftrapv builds. Still some overflow somewhere [https://github.com/tcltk/tcl/actions/runs/8400230213/job/23008061558]:
    <pre>
    clock-ivm.test
      Validity default mode: on
    Test file error: child killed: SIGABRT
    clock.test
      Validity default mode: off
    Test file error: child killed: SIGABRT
    </pre>
    
    Yes, there's progress, but we'r not there yet.
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/x-fossil-wiki"