RE: FreeBSD core dumps when wrapping big files!
Jean-Claude Wippler <[email protected]>
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[email protected]> |
[jeff] > I have no idea if this is coincidence, but 2^25 == 67108864. Interesting. That value is too close for comfort ;) Also, try creating a starkit with compression off, i.e. add the "- nocomp" flag. >> (As an aside: Does anyone know of an easy way to create a file of an >> exact size?) > > Any random file? Yes, open / seek / write 1 char / close works on > most > systems. However, this may leave you with a sparse file (depends > on fs), and > I'm not sure if that will perturb your results. Should be ok, sdx will simply read such files, i.e. as a bunch of zero's. What baffles me is the FreeBSD-only nature of this problem. Could we have a TclVFS stat struct mismatch? There's that 32- vs. 64-bit struct field stuff which used to cause trouble in the (distant) past. Just wondering, no way to tell whether it is of any value at this stage. -jcw