OriginalBugID: 1266 Bug
Version: 8.1b1
SubmitDate: '1999-02-23'
LastModified: '1999-04-05'
Severity: SER
Status: Closed
Submitter: pat
ChangedBy: redman
OS: Windows NT
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '1999-04-05'
Name:
Matt Newman
CVS:
2/19/99
Extensions:
none
CustomShell:
I am still waiting for the tclTimer.c patch to be adopted - it is the primary reason for maintaining my own core.
ReproducibleScript:
Using tcltest.exe (needs testthread cmd)
set id [testthread create]
testthread send -async $id {puts hello}
testthread send $id {testthread exit}
ObservedBehavior:
Core dump on windows (using native malloc) during Tcl_ExecuteByteCode
when it tries to free the Interp->result which points to memory in the
thread that just died.
DesiredBehavior:
This not to happen! For threads to be useful they must be stable -
obviously tcl8.1b1 is a beta - I hope this helps you to improve this
facility to the point where it could be used in production code.
This may be due to a bug in the "testthread send" command. 03/23/1999 18:36 - surles -
03/27/1999 13:32 - redman - Can't reproduce with 8.1b3 code base (today's code, debug or nondebug).
|