On Sun, 6 Dec 2015, Allin Cottrell wrote:
On Sun, 6 Dec 2015, Sven Schreiber wrote:
> Am 05.12.2015 um 15:38 schrieb Allin Cottrell:
>
>> Although it's clear now where the wonky formatting was coming from I'm
>> still not sure what provoked the crash on (only 32-bit?) Windows. This
>> may be a word-length thing unrelated to the bad strings; it would be
>> nice to track it down!
>
> I have just tested today's snapshot with the same Stata file on another
> machine with 32bit Win 7 (before it was Win 8). Same immediate crash on
> trying to open it.
> And BTW on the previous Win8 machine when I launched it from the cmd
> with "gretl.exe --debug" I just saw something like "binary read
error".
Thanks, Sven. I'll try to get to the bottom of this. IIRC, the Stata
117 format is meant to support very big files and the binary
"signposts" telling you where to read within the file are 64-bit
integers. Handling these on 32-bit Windows requires some sort of
bodge, and apparently our current bodge is not successful.
This is quite confusing. I've made some changes and put in more
error-checking and debugging, so hopefully if it still crashes we can
get a better idea of where the error is. I'm afraid I'm not able to
test on 32-bit Windows myself.
Allin