Tcl crashes

From: Joseph Kaufman (jkaufman_at_siac.com)
Date: 06/28/04


Date: 28 Jun 2004 07:03:01 -0700

I have an [incr]Tcl GUI application, S. Typing S at the prompt brings
up GUI A at the terminal IP. Later on, at some point due to a certain
outside event, S launches GUI B, as a toplevel widget, to a remote IP.
This means, S manages 2 GUIs, GUI A at the terminal IP, and GUI B at a
remote IP. It happens at times, not always, that GUI A crashes, and
with it the entire application S crashes. My suspicion is, the remote
IP where GUI B is goes out of existence, brings down GUI B, and this
in turn brings down GUI A. I have no way of checking GUI B since it is
at a remote site.
 
This same application, a) when there is no GUI B, or b) GUI B is
launched at the terminal IP where GUI A is, has never crashed.
 
My first design was, GUI B was a separate TCL script and S
communicated with it through a socket. Then, also GUI A never crashed.
The problem started when I made GUI B a part of S as an [incr]Tcl
class. This bolsters my suspicion that GUI B is the culprit.
 
Your help is greatly appreciated.


Quantcast