Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dc539e183e0156f93f047588e168f44bf101dbdd99e401e6a26ef948ce1bee4b
Ticket: f7495f63c01ea80069198ac183e1e0cc8873dabe
valgrind reports uninitialized memory access running the test suite
User & Date: jan.nijtmans on 2026-03-09 07:11:51
Changes

  1. assignee changed to: "apnadkarni"
  2. closedate changed to: "2461108.7999035646"
  3. closer changed to: "jan.nijtmans"
  4. icomment:
    Good catch! Solution works.
    
    However, if I may .....(Sorry!).  Two remarks:
    
    1) In Tcl 8.6, the "type" field still is a long, which is 32-bits on Windows 64. So, the same problem is there too.
    
    2) I don't think the presence of the pad bytes is the problem. The hashtable initialization is! If you calculate the size as "sizeof(ScriptLimitCallbackKey)/sizeof(int))", the pad-bytes are counted as well, that's the real problem.
    
    Fixed that [1b6b19bd5561efc0|here], for 8.6 too. Are you OK with forwarding this solution to 9.0 and 9.1 too?
    
  5. login: "jan.nijtmans"
  6. mimetype: "text/x-fossil-wiki"