Artifacts Associated With Ticket 2418583
Ticket change [45842a985a] (rid 99365) by israelt on 2008-12-11 22:30:40:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- 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
- foundin initialized to: "obsolete: 8.5.4"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "israelt"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to:
crash in source command if script file is very large
- type initialized to: "Bug"
Ticket change [4eecbbc56e] (rid 125733) by dgp on 2008-12-12 08:54:25:
- assignee changed to: "andreas_kupries"
- 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.
- login: "dgp"
- mimetype: "text/plain"
- subsystem changed to: "25. Channel System"
- username: "dgp"
Ticket change [2d3b8d64d4] (rid 119032) by israelt on 2008-12-18 01:10:34:
- icomment:
Any work-around for this issue? Thanks, Israel
- login: "israelt"
- mimetype: "text/plain"
- username: "israelt"
- icomment:
Ticket change [337d00ce18] (rid 106602) by dgp on 2009-10-02 03:33:29:
- priority changed to: "9 Immediate"
Ticket change [f4aa645f4a] (rid 129958) by dkf on 2009-10-07 00:21:55:
- 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.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [031101e1df] (rid 119757) by dkf on 2009-10-07 00:22:00:
- priority changed to: "5 Medium"
Ticket change [f415e19fc1] (rid 129837) by dgp on 2009-10-07 01:02:11:
- icomment:
This report overlaps with Patch 2107634. Will track both issues there.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [bbede915b8] (rid 129568) by dgp on 2009-10-07 01:02:13:
- assignee changed to: "dgp"
- closedate changed to: "2009-10-06T18:02:13"
- closer changed to: "dgp"
- icomment:
allow_comments - 1
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
- username: "dgp"