Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d8aff3a333e91bac1a1c434d76f572b44e094830f45831f23364790f9b9216bc
Ticket: b6257b82833b69673486ae253be7550489642e42
Tcl_Panic() with trunk on windows 10
User & Date: pointsman on 2023-08-09 23:31:07
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    There is script code with panics with "alloc: invalid block: xxxx"
    on 64-bit windows and runs with the expected result on linux.
    
    Recipe:
    
    Step 0:
    Install a build of current Tcl trunk somewhere
    
    Step 0.5:
    Get the tcllib fossil repository:
    
    fossil clone https://core.tcl-lang.org/tcllib tcllib.fossil
    
    Step 1:
    Create a test directory, cd into and do
    
    fossil open path/to/your/tcllib.fossil tcl9-testarea-rde
    
    Step 2:
    Run
    
    tclsh sak.tcl test run -v --shell /path/to/your/tclsh9.0 grammar_aycock
    
    (The tclsh in the cmd line above may be any recent Tcl sh you've
    in path.)
    
    From what I see the panic happens here: 
    [https://core.tcl-lang.org/tcllib/file?udc=1&ln=241&ci=0e1fe1222d76f26a&name=modules%2Fgrammar_aycock%2Faycock-runtime.tcl]
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "pointsman"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "4ca203a8e925aecdd9419645f936bccf18cd6ea7"
  10. resolution changed to: "None"
  11. severity changed to: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "pointsman"
  14. subsystem changed to: "69. Other"
  15. title changed to: "Tcl_Panic() with trunk on windows 10"
  16. type changed to: "Bug"