Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 615f37aba55c312fe90aa93ce6ad8ff68e13770c
Ticket: 1939509fffffffffffffffffffffffffffffffff
Tcl hangs in "exec" (on multi-processor machines)
User & Date: fridolin on 2008-05-23 16:52:30
Changes

  1. icomment:
    Logged In: YES 
    user_id=13583
    Originator: NO
    
    Update for the last comment: maybe this problem is not related to the orignal one, 
    because now I can reproduce it on a single core machine and under linux.
    
    a.tcl:
    exec wish b.tcl
    # exec never returns, but b.tcl calls "exit"
    tk_messageBox -message return
    
    b.tcl:
    exec wish d.tcl &
    tk_messageBox -message exit
    # message exit appears
    if { [catch exit err] } {
        # you could also replace this block with a plain "exit"
        tk_messageBox -message err=$err
    }
    
    d.tcl:
    tk_messageBox -message d.tcl
    vwait forever
    
    when exec hangs, ps shows a zombi process 'wish <defunct>'
    Any ideas? 
    
    
    Regards,
    Christoph Bauer
    
    
  2. login: "fridolin"
  3. mimetype: "text/plain"
  4. username: "fridolin"