Skip to content
Tcl Source Code History Of Ticket 3018050fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3018050fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3018050fffffffffffffffffffffffffffffffff

  1. Ticket change [2500687d8e] (rid 131205) by anonymous on 2010-06-18 14:09:06:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Environment:
      - Windows XP
      - tclkit 8.5.8
      - tcllhttpd 3.5.1 deployed as a starkit, with docRoot inside the starkit
      
      When some files are requested, the response hangs, waiting for fcopy callback invocation. 
      
      Steps to reproduce:
      - launch the tclhttpd kit on Windows
      - load the default page
      
      You'll notice that /images/Space.gif request never completes
      
      Other info
      - It works fine on Mac OS X
      - It works fine on Windows the doc root is outside the starkit
      - http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/261837ba204fb570#
      
      
    4. foundin initialized to: "obsolete: 8.5.8"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. subsystem initialized to: "25. Channel System"
    10. title initialized to: "fcopy hangs on Windows "
    11. type initialized to: "Bug"
  2. Ticket change [66afde1fbe] (rid 102760) by ferrieux on 2010-12-14 14:38:30:

    1. icomment:
      That's fishy. Upping the prio.
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. priority changed to: "8"
    5. username: "ferrieux"
  3. Ticket change [a61bea9fc1] (rid 98540) by cjmcdonald on 2010-12-15 17:59:08:

    1. icomment:
      This info may be relevant.
      
      I encountered the same problem with another in-house virtual file
      system implementation - not a starkit, but based on zip archives.  It
      was serving out files using a httpd server, and this stopped
      working.  I think it was when the 780533 fix was applied in 8.4.19.
      
      On investigation I discovered that the binary mode fcopy now required
      working fileevents.  This was not implemented in my zip file system,
      which I took to be a deficiency there.  So I added a channel driver
      Tcl_DriverWatchProc and associated mechanism for posting (if
      requested) a file readable event after every read or seek - zip
      archive files are always readable.  The fcopy then worked.
      
      
    2. login: "cjmcdonald"
    3. mimetype: "text/plain"
    4. username: "cjmcdonald"
  4. Ticket change [93a8fde338] (rid 105854) by ferrieux on 2010-12-15 18:41:49:

    1. icomment:
      When you say that 'binary mode fcopy requires working fileevents',
      
      - if you mean async fcopy (ie with -command), then yes, of course. In this mode fcopy is an alternating "pump" of readable/writable fileevents.
      
      - if you mean sync fcopy (no -command), then no. In this mode fcopy does blocking IO, without resorting to the event loop.
      
      Now for the starkit vfs, the async part works, on Linux. It's just a Windows issue apparently.
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  5. Ticket change [48c02b2b52] (rid 99947) by ferrieux on 2011-08-19 03:35:33:

    1. icomment:
      Is that still happening in 8.5.10 and 8.6b2 ?
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  6. Ticket change [3da1b8ae91] (rid 121121) by ferrieux on 2011-08-19 23:05:04:

    1. title changed to: "fcopy-from-starkit hangs on Windows "
  7. Ticket change [c1da2b3f2c] (rid 257761) by serhiy.storchaka on 2026-10-12 16:05:47:

    1. icomment:
      I cannot reproduce it. Async <code>fcopy</code> from a reflected channel (as
      tclvfs uses) to a socket works in 8.5.8, 8.6.18 and 9.0, on Windows and Linux,
      if the channel posts readable events while it has data. If the driver does
      not post them, the copy stalls on all platforms, so this was most likely a
      problem in the VFS channel driver, as in the comment above.
      
      Async <code>fcopy</code> from zipfs hangs for the same reason, see [0654cecae1].
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Works For Me"
    5. status changed to: "Pending"