Skip to content
Tcl Source Code History Of Ticket 3486554
Login

History Of Ticket 3486554

Artifacts Associated With Ticket 3486554

  1. Ticket change [4f8206141b] (rid 125839) by ferrieux on 2012-02-10 14:55:28:

    1. assignee initialized to: "das"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      This report is here to document a past fix, but is nonetheless important as a reference for people encountering the associated bugs in older versions, since these bugs have not been reported here.
      
      Prior to Check-in [e496f9ef50] by Daniel A. Steffen,  2009-04-10 20:46:21,
      
      * unix/tclUnixChan.c: TclUnixWaitForFile(): use FD_* macros * macosx/tclMacOSXNotify.c:to manipulate select masks (Cassoff). Bug 1960647
      
      there were dangerously non-portable shift manipulations in TclUnixWaitForFile(). These have been properly replaced by the clean FD_SET et al. macros by Daniel.
      
      Here is the behavior, observed independently by me on 8.4.13 and by evilotto on 8.4.12, both on x84_64 Linux:
      
      A fileevent readable on a high descriptor (above 32) repeatedly fires, but the [read]s done on it don't consume any bytes, leading to a busyloop known as "select bomb". The failing bitshifts misdirected the setting of the select() bits.
      
      Attached scripts, courtesy of evilotto, expose the behavior.
      Also, the problem is likely to occur under load when using [package require httpd] asynchronously (many simultaneous requests must be active).
      
    4. foundin initialized to: "obsolete: 8.4.19"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "ferrieux"
    10. subsystem initialized to: "01. Notifier"
    11. title initialized to: "FD_SET macros must be used"
    12. type initialized to: "Bug"
  2. Add attachment "selectbomb1.tcl" [08e9be4fd3] (rid 89639) by ferrieux on 2012-02-10 21:56:18.

  3. Ticket change [23934c0630] (rid 130966) by ferrieux on 2012-02-10 21:56:18:

    1. icomment:
      
      
      File Added - 435415: selectbomb1.tcl
      
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  4. Ticket change [c7967239b6] (rid 121955) by ferrieux on 2012-02-10 21:56:45:

    1. icomment:
      
      
      File Added - 435417: selectbomb2.tcl
      
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  5. Add attachment "selectbomb2.tcl" [2091e6aa4a] (rid 130451) by ferrieux on 2012-02-10 21:56:45.

  6. Ticket change [3f385cecef] (rid 121417) by ferrieux on 2012-02-10 21:57:29:

    1. icomment:
      
      
      File Added - 435419: selectbomb3.tcl
      
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  7. Add attachment "selectbomb3.tcl" [4a292c7d21] (rid 126492) by ferrieux on 2012-02-10 21:57:29.

  8. Ticket change [822de5b43a] (rid 117187) by ferrieux on 2012-02-10 21:58:12:

    1. closedate changed to: "2012-02-10T14:58:12"
    2. closer changed to: "ferrieux"
    3. icomment:
      Closing since it was fixed nearly 3 yrs ago.
      
      
    4. login: "ferrieux"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "ferrieux"
  9. Ticket change [376b322b05] (rid 107273) by ferrieux on 2012-02-10 22:02:25:

    1. icomment:
      Reopening since it was never backported to 8.4.
      Pending specific action, the 8.4 branch remains crippled in that regard: don't use 8.4 on x86_64 !!!
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. resolution changed to: "Out of Date"
    5. status changed to: "Open"
    6. username: "ferrieux"
  10. Ticket change [49eab788d7] (rid 126452) by ferrieux on 2012-03-05 01:49:19:

    1. icomment:
      In case a 8.4.20 is rolled out...
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. priority changed to: "8"
    5. resolution changed to: "None"
    6. username: "ferrieux"
  11. Ticket change [9cd315bcb6] (rid 96211) by ferrieux on 2012-03-05 01:53:17:

    1. icomment:
      Daniel, any objection against a backport of this specific cleanup to 8.4 ?
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  12. Ticket change [d1ea359ed7] (rid 113433) by das on 2012-03-05 09:21:07:

    1. icomment:
      none at all, please feel free!
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  13. Ticket change [b123e51cd4] (rid 98101) by das on 2012-03-05 09:21:14:

    1. assignee changed to: "ferrieux"
  14. Ticket change [f43288bb06] (rid 129868) by ferrieux on 2012-03-06 00:30:24:

    1. closedate changed to: "2012-03-05T17:30:24"
    2. closer changed to: "ferrieux"
    3. icomment:
      Committed to tip of core-8-4-branch
      
      
    4. login: "ferrieux"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "ferrieux"