Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6747be98705a4181d9d0cbaf82eb684d03069a2c
Ticket: 885853ffffffffffffffffffffffffffffffffff
TclExecuteByteCode execution failure: end stack top < start
User & Date: msofer on 2004-01-30 03:14:02
Changes

  1. assignee changed to: "hobbs"
  2. icomment:
    Logged In: YES 
    user_id=148712
    
    Not much to go by hunting this down :( This is quite
    complicated - many extensions, long unidentified script,
    threaded builds, ... I'm not knowlegeable in the way those
    extensions interact with the bytecode engine.
    
    So, just some comments/questions for now:
      - from the includes in the expect build, I deduce this is
    tcl8.3.5 (otherwise, incorrect files included in expect?)
      - all extensions are built with --enable-threads, except
    for 'expect'. Is this as it should be? Doesn't expect have a
    --enable-threads configuration? Weird ... In any case, the
    '2 in 10' phenomenon may reflect some race condition
      - AFAIK, you can safely use Tk in a threaded build - but
    should carefully avoid calling Tk commands from different
    threads. Or something like that. Are you aware of those issues?
      - What does the 'rssrUtils::SsrattSigChldHandler' command
    do (that's the one that is executing when one of its callees
    messes up the execution stack). Can you get the string
    contents of 'objv[0]->chars' at the calls of
    TclObjInterpProc in stack frames 10 and 13 (those would be
    the names of the procs that are being executed).
      - apparently everything is executing in a single
    interpreter (0x249f8). Is there any way to find out what
    other threads may have been doing at the time (sorry, don't
    know much about debugging multithreaded progs)?
    
    I do not see how we'll be able to make progress on this
    without a very severe reduction in the complexity: does the
    bug depend on the extensions? What is the script doing? Is
    it possible to repro with a smaller script? Does it depend
    on this being a threaded build? 
    
    Assigning to Jeff for further comments.
    
    
  3. login: "msofer"
  4. mimetype: "text/plain"
  5. subsystem changed to: "47. Bytecode Compiler"
  6. username: "msofer"