Overview
| Artifact ID: | e797b0a4588deb8ce945abe477d451ea954ce843 |
|---|---|
| Ticket: | 2981154fffffffffffffffffffffffffffffffff
async.test segfault |
| User & Date: | ferrieux on 2011-08-19 21:04:34 |
Changes
- closedate changed to: "2011-08-19T14:04:34"
- closer changed to: "ferrieux"
- icomment:
Fixed in HEAD, by (1) mutex-protecting the process-wide static holding the list of TestAsyncHandlers (along with the unique id counter ;-), and (2) moving from a pointer-to-struct to an integer-id API in async handlers. The mutex-protected lookup by id is done twice: once in the alien thread, as a prerequisite to calling AsyncMark with the proper token; and once in the async handler, since the handler may have been deleted between the two. Passes test suite. Verified that even wit the 1500000->15 tweak, even though the test consistently fails, it never segfaults.
- login: "ferrieux"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "ferrieux"