Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b9b1c8c6ebacbae0f52dfe7fe11186a7e5dcfed8
Ticket: 1909647fffffffffffffffffffffffffffffffff
TclStackFree: incorrect freePtr. Call out of sequence?
User & Date: ctasada on 2008-03-07 15:47:44
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi guys,
    
    We're using ActiveTcl 8.5.1, bytecoded with tbcload1.7. From time to time, the application crashes with a "TclStackFree: incorrect freePtr. Call out of sequence?", but so far this happens only in Linux.
    
    We're using threads and sockets actively and usually the crash appears just after a "puts" in a file or after a socket is closed.
    
    I don't even known how to start debugging the problem.
    
    I've been looking into Tcl sourcecode and the first think that I see regarding the use of TclStackFree is that it's used in the Linux version of TclpCreateProcess, but not in Windows. Following this lead I finished in the Tcl_OpenCommandChannel, the one used to process the tcl exec command.
    
    Am I in drunks o could be that some error or wrongly synched command in the Tcl_OpenCommandChannel could be producing this problem?
    
    Any help is more than welcome.
    
    Cheers,
    Carlos
    
  4. foundin changed to: "obsolete: 8.5.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "ctasada"
  10. subsystem changed to: "69. Other"
  11. title changed to:
    TclStackFree: incorrect freePtr. Call out of sequence?
    
  12. type changed to: "Bug"