-
OK. Exiting an Tcl shell with any user-threads still active
is a bad idea. Because the Tcl library is NOT safe w.r.t.
finalisation. If you (or the other package) has created
some threads that use Tcl library you need to be sure
they are all gone before exiting the main thread (the one
that started-up the application).
As I see you are able to "kill" the app entirely w/o the...
2011-12-08 09:37:45 PST in Tcl
-
Somebody/something is either trampling over the memory
OR
there is some race-condition on cleanup/finalization if you
regularily exit threads.
The latter can be circumvented by never exiting threads
(I know it sounds weird).
The former may cost lots of resources and hair pulling to
find out (as any other memory corruption does). In this
case you need to build a minimalistic system...
2011-12-06 06:44:44 PST in Tcl
-
Ideally an Tcl-only script thst illustrates the crash is most valuable.
2011-12-05 13:41:58 PST in Tcl