Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: df840f7b04fd977dac2bb0ce5aa0128150969b42
Ticket: 82521bfb6734f891ddecc26b4b4b3388fdc3eb1c
Segfault from commit af06c0fbf8 onwards
User & Date: msofer on 2014-09-27 12:05:21
Changes

  1. icomment:
    This is obviously a case of mem corruption, so that the state of things at crash time has a high chance of being meaningless. We have to find the spot where the corruption happens, not what its effects are ...
    
    The bug possibly existed before [af06c0fbf8], and that checkin just made it trigger a crash whereas before it was inocuous - things that sometimes happen with eg write-after-free bugs: if the mem was freed and still free when overwritten, nothing happens in general - but it was reallocated for reuse, crash! What valgrind shows below doesn't seem to be quite this scenario. But it is obvious that the bug was present before that checkin, only without the ensuing crash.
    
    As naviserver has plenty of C code touching Tcl internals, it is not yet clear to me that the problem is in Tcl and not naviserver.
    
  2. login: "msofer"
  3. mimetype: "text/plain"