| Ticket UUID: | 789338 | ||
| Title: | Tcl_ConditionNotify crashes in Windows | ||
| Type: | Bug | Created on: | 2003-08-15 16:25:01 |
| Submitter: | rstahl | Assigned to: | davygrvy |
| Subsystem: | 49. Threading | Severity: | |
| Priority: | 5 Medium | Last modified: | 2004-01-12 03:43:26 |
| Status: | Closed | Closed by: | davygrvy |
| Resolution: | Fixed | Closed on: | 2004-01-11 20:43:26 |
| Version: | obsolete: 8.4.4 | ||
| Description: | ||||
'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. | ||||
| User Comments: | ||||
davygrvy added on 2003-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. davygrvy added on 2004-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. | ||||
