Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6f13699d1d14f592a74bb392f9e0e257f0e3e023
Ticket: 465765ffffffffffffffffffffffffffffffffff
zero-length write considered harmful
User & Date: andreas_kupries on 2001-09-28 07:03:27
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Don, after doing a simple patch to avoid 0-write's I get 
    segfaults on the AS linux box too. I will see later if the 
    same happens on sparky and my system at home.
    
    Stacktrace:
    
    0  0x40095e8b in chunk_alloc (ar_ptr=0x4012ad40, nb=32) at 
    malloc.c:2875
    #1  0x400955ae in __libc_malloc (bytes=21) at malloc.c:2696
    #2  0x80f50c9 in TclpAlloc (nbytes=21)
        at ../tcl/unix/../generic/tclAlloc.c:672
    #3  0x80686dc in Tcl_Alloc (size=21)
        at ../tcl/unix/../generic/tclCkalloc.c:983
    #4  0x80a33ec in AllocStringEntry (tablePtr=0x8160958, 
    keyPtr=0x8158460)
        at ../tcl/unix/../generic/tclHash.c:927
    #5  0x80a2d28 in Tcl_CreateHashEntry (tablePtr=0x8160958,
        key=0x8158460 "http", newPtr=0xbfffaf4c)
        at ../tcl/unix/../generic/tclHash.c:450
    #6  0x80d7dde in TclSetElementOfIndexedArray 
    (interp=0x810fa78,
        localIndex=3, elemPtr=0x818e848, newValuePtr=0x819ca98, 
    flags=512)
        at ../tcl/unix/../generic/tclVar.c:1746
    #7  0x808f68a in TclExecuteByteCode (interp=0x810fa78, 
    codePtr=0x816cde8)
        at ../tcl/unix/../generic/tclExecute.c:1251
    #8  0x806479a in Tcl_EvalObjEx (interp=0x810fa78, 
    objPtr=0x81952c8,
        flags=0) at ../tcl/unix/../generic/tclBasic.c:2951
    #9  0x80cb139 in TclObjInterpProc (clientData=0x8163eb0, 
    interp=0x810fa78,
        objc=2, objv=0x8112080) 
    at ../tcl/unix/../generic/tclProc.c:1075
    #10 0x808d968 in TclExecuteByteCode (interp=0x810fa78, 
    codePtr=0x81990a8)
        at ../tcl/unix/../generic/tclExecute.c:869
    #11 0x806479a in Tcl_EvalObjEx (interp=0x810fa78, 
    objPtr=0x81a2f08,
        flags=131072) at ../tcl/unix/../generic/tclBasic.c:2951
    #12 0x80ad988 in TclChannelEventScriptInvoker 
    (clientData=0x81a96c0,
        mask=2) at ../tcl/unix/../generic/tclIO.c:7084
    #13 0x80ad319 in Tcl_NotifyChannel (channel=0x819a3e8, 
    mask=2)
        at ../tcl/unix/../generic/tclIO.c:6620
    #14 0x80e4452 in FileHandlerEventProc (evPtr=0x815abd0, 
    flags=-3)
        at ../tcl/unix/../unix/tclUnixNotfy.c:624
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. priority changed to: "7 High"
  5. username: "andreas_kupries"