Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e48ae7a48feca4409f5ec024e7acdcdb15b7be0c
Ticket: 2946474fffffffffffffffffffffffffffffffff
[exit] doesn't wait for background flushes of close channels
User & Date: ferrieux on 2010-02-12 05:12:42
Changes

  1. icomment:
    A few more data points.
    First, note that a less intrusive variant of the bug-trigger is
    strace -f -o /dev/null make ...
    
    Second, the problem seems to be linked with the gzip stacked channel. Indeed the failure is due to only 8192 bytes getting transmitted out of the 130k of the file, and these 8192 bytes are compressed to 435 bytes, sent in one syscall: 
    
    16090 send(4, "\37\213\10\0\0\0\0\0\0\3\355\312\301\t\203@\24\4\320\273Ul\5\261\201\317V\221\0064\32\24"..., 435, 0) = 435
    16090 close(4)                          = 0
    16090 write(1, "close sock4\n", 12)     = 12
    
    So it's a failure to flush on the stacked channel side, and again the patch seems orthogonal to that.
    
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"