Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a8df52dc2618ca060ff300bbadfd5f183741b6ec2e79e1909744dd537d616b01
Ticket: db4f2843cdb28c27fddf511567bc9287484852ae
Sporadic segfault (BO) using tclIO
User & Date: sebres on 2023-12-05 22:21:04
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    I saw this segfault very sporadic previously (as an after-effect of a buffer overrun somewhere by IO operations with objects), just it was like a heisenbug and I never caught it.
    Unless I implemented some module using `Tcl_ReadChars` with `appendFlag = 1`, and with that command I could reproduce this BO relative simply. Since the segfault is almost always a result of buffer overrun, I'll not provide the callstack here (which is mostly caused by corrupt object and thus broken objects heap in thread-alloc).
    
    I already fixed it on my side, so will backport it to new 8.6-based branch now.
    
  5. foundin changed to: "any"
  6. is_private changed to: "0"
  7. login: "sebres"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "50e9528765c18296566374b3fde2df942c394efd"
  10. resolution changed to: "None"
  11. severity changed to: "Critical"
  12. status changed to: "Open"
  13. submitter changed to: "sebres"
  14. subsystem changed to: "10. Objects"
  15. title changed to: "Sporadic segfault (BO) using tclIO"
  16. type changed to: "Bug"