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

History Of Ticket 2418583fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 2418583fffffffffffffffffffffffffffffffff

  1. Ticket change [45842a985a] (rid 99365) by israelt on 2008-12-11 22:30:40:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I am using the Tcl_FSEvalFileEx() to source a script file. When the script file size is 1.2G there is a crash, here is the stack trace:
      
      #0  0x0000002a96e7d984 in Tcl_ExternalToUtf ()
      #1  0x0000002a96e9ac56 in ReadChars () from
      #2  0x0000002a96e9afbd in DoReadChars ()
      #3  0x0000002a96ea7faf in Tcl_FSEvalFileEx ()
      
      Our application is running on 64 bits machine.
      
      We are using Tcl 8.5 on Linux Red Hat 4.
      
      Thanks,
      
      Israel
       
      
    4. foundin initialized to: "obsolete: 8.5.4"
    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: "israelt"
    10. subsystem initialized to: "18. Commands M-Z"
    11. title initialized to:
      crash in source command if script file is very large
      
    12. type initialized to: "Bug"
  2. Ticket change [4eecbbc56e] (rid 125733) by dgp on 2008-12-12 08:54:25:

    1. assignee changed to: "andreas_kupries"
    2. icomment:
      ReadChars suggests failure
      in the channel system.  Reassigning.
      
      At such sizes, I would guess something
      is running into the 2Gb size limit on
      string values.
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. subsystem changed to: "25. Channel System"
    6. username: "dgp"
  3. Ticket change [2d3b8d64d4] (rid 119032) by israelt on 2008-12-18 01:10:34:

    1. icomment:
      Any work-around for this issue?
      
      Thanks,
      Israel
      
      
      
    2. login: "israelt"
    3. mimetype: "text/plain"
    4. username: "israelt"
  4. Ticket change [337d00ce18] (rid 106602) by dgp on 2009-10-02 03:33:29:

    1. priority changed to: "9 Immediate"
  5. Ticket change [f4aa645f4a] (rid 129958) by dkf on 2009-10-07 00:21:55:

    1. icomment:
      Keep the script size below 1GB! You can do this by writing multiple files (each of which is, say, 100MB) and then writing a separate script that just sources these other files in order. You could even put it all together in a directory for neatness sake.
      
      Tcl makes no attempt to handle reading very large scripts graceful.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  6. Ticket change [031101e1df] (rid 119757) by dkf on 2009-10-07 00:22:00:

    1. priority changed to: "5 Medium"
  7. Ticket change [f415e19fc1] (rid 129837) by dgp on 2009-10-07 01:02:11:

    1. icomment:
      
      This report overlaps with Patch 2107634.
      Will track both issues there.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [bbede915b8] (rid 129568) by dgp on 2009-10-07 01:02:13:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2009-10-06T18:02:13"
    3. closer changed to: "dgp"
    4. icomment:
      
      
      allow_comments - 1
      
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Duplicate"
    8. status changed to: "Closed"
    9. username: "dgp"