Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0d2b5128d9aeb1d38b449b5905a904f7edb3f62d81e1dfe2d0ff8dba2d2f11bb
Ticket: 815e2468064b4324bc4b303b9bafd3ef92803c32
tcl crash on channel thread transfer and fileevent writable in place
User & Date: max on 2018-06-08 15:23:41
Changes

  1. icomment:
    Unfortunately I see no change in behavior between 8.6.7 and fix-815e246806-8-6.
    I still see get the crashes with the "writable" script from Harald's initial description and also with the "readable + delayed" one from my latest post (after replacing [after idle] by [eval]).
    
    BTW, most invocations (pre and post your patch) result in a plain segfault without further output, but sometimes I get an error message + abort with differing error messages, e.g.:
    
    ----
    alloc: invalid block: 0x5645d07a60b0: c0 d0
    alloc: invalid block: 0x5645d07a60b0: c0 d0
    ----
    TclStackFree: incorrect freePtr (0x55807a654ac0 != 0x55807a654b00). Call out of sequence?
    ----
    TclNRExecuteByteCode: abnormal return at pc 6: stack top -18 < entry stack top 0
    TclNRExecuteByteCode execution failure: end stack top < start stack top
    ----
    Reuse of ChannelBuffer! 0x55ffee568d80
    Reuse of ChannelBuffer! 0x55ffee568d80
    ----
    Tcl_AppendLimitedToObj called with shared object
    ----
    
    This looks to me like there is still some severe memory corruption going on.
    
  2. login: "max"
  3. mimetype: "text/plain"