Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: fa92b64e66b7a2ba22751c1695dbe6e9b6c816f2
Ticket: 482100ffffffffffffffffffffffffffffffffff
Mac OS X Tk 8-4-a4-1
User & Date: wolfsuit on 2001-12-21 05:16:13
Changes

  1. icomment:
    Logged In: YES 
    user_id=169107
    
    Well, what would be great is to get a backtrace for the 
    crash, and the Tcl code that is being run at the time of 
    the crash.  To get a backtrace, just run the Wish shell 
    under gdb, and when it crashes, you can type:
    
    thread apply all bt
    
    Send me that output.  
    
    You can find out what Tcl code is being run by looking 
    up the stack for occurances of TclExecuteByteCode, 
    and look at codePtr->source in that frame.  The Tcl 
    stack mirrors the C stack, so you can reconstruct the 
    whole Tcl stack pretty easily this way.
    
    You should be able to chase that fragment back to the 
    source proc, and send me that routine.  Also if you can 
    tell me how it is being run, is it straight code, button 
    callback, menu callback, event binding, etc, that would 
    help...  
    
    If it is anything but straight code, you could also send 
    along the snippet where it is set up, the bind 
    command, or whatever.
    
    I can often figure out what is going on from this info, or 
    at least figure out where to put instrumentation to 
    chase it down further.
    
    Thanks.
    
    
  2. login: "wolfsuit"
  3. mimetype: "text/plain"
  4. status changed to: "Open"
  5. username: "wolfsuit"