Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9b6cbaa1292646960d524d61f8b2efb415561f93931840f4672315e64f00c848
Ticket: bb937366b4cf197080c1818d477cd519f24f3744
macOS Aqua : crash with Tcl_UtfToChar16
User & Date: jan.nijtmans on 2021-05-01 16:53:59
Changes

  1. assignee changed to: "jan.nijtmans"
  2. icomment:
    Thanks, Nicolas.
    
    Well, I don't think this is a Tcl 8.7 bug, most likely Tcl_UtfToChar16 is called with a non-null-terminated string without the proper protection. That's Tk's fault. I previously mentioned that glyph_index_2 is not production-ready yet, that's the branch I suspect is containing the bug. Does the mac_styles_87 branch as-is have the same problem? If not, that's proof of my theory. Yes, I would like a stack-trace, so I can see at least where in Tk the Tcl_UtfToChar16 call is located.
    
  3. login: "jan.nijtmans"
  4. mimetype: "text/x-fossil-wiki"