Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e797b0a4588deb8ce945abe477d451ea954ce843
Ticket: 2981154fffffffffffffffffffffffffffffffff
async.test segfault
User & Date: ferrieux on 2011-08-19 21:04:34
Changes

  1. closedate changed to: "2011-08-19T14:04:34"
  2. closer changed to: "ferrieux"
  3. 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.
    
    
  4. login: "ferrieux"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"
  8. username: "ferrieux"