Menu

#2793 Crash in TclIO.c

obsolete: 8.4.6
closed-fixed
9
2004-07-15
2004-07-06
No

Tested in Activestate 8.4.6 and 8.5.0.0b2 for Windows

Attempting to close a file opened for writing in a
virtual filesystem causes a crash. See:

http://sourceforge.net/tracker/index.php?func=detail&aid=984388&group_id=32692&atid=406308

Discussion

  • Donal K. Fellows

    • labels: --> 25. Channel System
    • milestone: --> obsolete: 8.4.6
    • priority: 5 --> 9
    • assigned_to: nobody --> andreas_kupries
     
  • Andreas Kupries

    Andreas Kupries - 2004-07-08

    Logged In: YES
    user_id=75003

    For the record, the referenced bug is in the tracker for
    Tclvfs. All information (discussion, scripts to reproduce,
    ...) can be found there.

     
  • Andreas Kupries

    Andreas Kupries - 2004-07-15

    Logged In: YES
    user_id=75003

    The Tclvfs extensions allows calling of tcl scripts from
    within the close handler of a channel. These scripts must
    not invoke [close] on the same channel. Added code fixing
    this (new flag, set before the handlers, relevant api
    functions check the flag and reject the call. An error
    message is returned, instead of the core crashing.

    Committed to 8.4 and head branches.

     
  • Andreas Kupries

    Andreas Kupries - 2004-07-15
    • status: open --> closed-fixed
     
MongoDB Logo MongoDB