Overview
| Artifact ID: | 8df599ee69bc0b8ab162350379d166afef08327c |
|---|---|
| Ticket: | 3545365fffffffffffffffffffffffffffffffff
Crash in io-29.33b (no implicit flush of nonblocking on exit |
| User & Date: | ferrieux on 2012-07-24 01:24:48 |
Changes
- icomment:
After analysis by Andreas, it seems that the contract is that CHANNEL_DEAD should stop FinalizeIO from calling driver-level functions (it does as ChanClose). Clearly the often-tweaked logic in the following test is suspect: if (!GotFlag(statePtr, CHANNEL_INCLOSE | CHANNEL_CLOSED | CHANNEL_DEAD) || GotFlag(statePtr, BG_FLUSH_SCHEDULED)) { ResetFlag(statePtr, BG_FLUSH_SCHEDULED); active = 1; break; } Twylite, can you please verify the state of the flags at the point of crash ? Specifically, do we simultaneously have CHANNEL_DEAD and BG_FLUSH_SCHEDULED ? - login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"