Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-01-12
03:43 • Closed ticket [789338ffff]: Tcl_ConditionNotify crashes in Windows plus 8 ot... artifact: fbedde19c5 user: davygrvy
2003-09-10
11:43 • Ticket [789338ffff]: 4 changes artifact: f2c0255a2e user: davygrvy
2003-08-15
16:25 • New ticket [789338ffff]. artifact: a944ccedb6 user: rstahl

Tcl_ConditionNotify crashes in Windows

Closed / Fixed789338ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-08-15 16:25:01
'Tcl_ConditionNotify' crashes in Windows 2000 if the 
condition variable has not yet been initialized by calling 
Tcl_ConditionWait.'  A work around is to always initialize 
cond. variable by calling 'Tcl_ConditionWait' with a zero 
timeout before 'Tcl_ConditionNotify' is called.

This may just be a documentation bug.
davygrvyplain2003-09-10 11:43:36
Logged In: YES 
user_id=7549

set the pointer for the wait to be NULL, not an unset variable 
to garbage.
davygrvyplain2004-01-12 03:43:26
Logged In: YES 
user_id=7549

Ahh..  this bug _IS_ valid...  Fix has been committed.

Tcl_ConditionNotify wasn't properly checking to see if condPtr
contained an initialized Tcl_Condition.  When it wasn't 
initialized, it would act on it as if it was, thus barf.
Log in (anonymous is fine) to add a comment.