Overview
| Artifact ID: | 53cf6b572da7fc577e6fe7fd6170ac1c46e5e749 |
|---|---|
| Ticket: | 3111059fffffffffffffffffffffffffffffffff
coro+proc+ns deadlock |
| User & Date: | ferrieux on 2010-11-18 07:36:01 |
Changes
- icomment:
OK, after a bit of explanation by Miguel: that test tries to loop over commands, zapping coros. The TclNRInterpProc value is a red herring, meaning just that the scan sees the 'bar' proc. However, the bug is that 'coro' is not found. In this case this seems to be a flaw in the hashtable scanning logic used here: - first entry extracted is the proc 'bar' - since it is a proc, nothing is done to it - but the iteration step does "entryPtr = entryPtr->nextPtr" which is the next IN THE BUCKET - here it was alone in its bucket, which ends the loop prematurely. Fix: probably use something like search.nextEntry instead of entryPtr->nextPtr.
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"