Overview
| Artifact ID: | 7105da43b1e68e8dc570e3d0794beb7c01ce0f4b |
|---|---|
| Ticket: | 1082283fffffffffffffffffffffffffffffffff
tcl8.4 segfaults running on linux-2.6 with SMP machines |
| User & Date: | mistachkin on 2005-03-03 14:28:39 |
Changes
- assignee changed to: "hobbs"
- icomment:
Logged In: YES user_id=113501 I do not believe my patch is [directly] causing this issue. This appears to be happening at process termination. I have a theory on how to fix this problem. In "tclUnixNotfy.c", near line 303 we have: Tcl_MutexUnlock(¬ifierMutex); I suggest we add the following after this code: /* * Avoid possible race condition, physically wait for thread to die. */ Tcl_JoinThread(notifierThread); This should avoid a [potential] race condition between the process terminating (due to a premature return from Tcl_FinalizeNotifier) and the notifier thread actually calling TclpThreadExit. - login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"