Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0272e747eb96d05363eb20f53fa656f7376bac3ddc525d00f2aed0ed31a2ee1c
Ticket: 1f40aa83c552f597c7aa2e01c7a3a5a2a3fe7c1c
crash with CFLAGS=-ftrapv
User & Date: sebres on 2024-03-24 15:25:03
Changes

  1. icomment:
    Regarding the mem tests, it's not a leak at all. It goes to internal global cache or [/artifact?name=4e6cdd8fe04508e4&ln=329-337|storage-GC], which contains few (default 32) last used formats (as well as for scan and format), that allows, reuse them again across all threads and interpreters.
    I guess to pass such tests we'd need either to disable this cache for that kind of build (e. g. define CLOCK_FMT_SCN_STORAGE_GC_SIZE 0), or to provide some command (unsupported? configure?) forcing GC to clean everything.
    
    As for the overflow, how it is possible, Jan? If you'd take a closer look at [4fa26c98f225a44f], every change, I made here, is in the area with disabled trapping. So it is something else (some of your previous commits)?<br/>
    But OK, I'll see whether I can find it.
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"