Doesn't happen on Win7-64.Running the ZBS archive of Lua, I get a "Bus error: 10"... I'll email you more specifics directly.
It never get's to the f:read() with just a break-point there. (Mac OS X). With a breakpoint at f:write("Hello") I get: > main at line 7 > _ENV = {_G = nil, _VERSION = "Lua 5.2", assert = assert, bit ... f = "file (0xacaaddb4)" name = "test.dat" >main chunk at line 17. _ENV = {_G = nil, _VERSION = "Lua 5.2", assert = assert, bit ...Not sure why it works on Lua but fails on Lua 5.2. Works in the Terminal with my Lua5.2 binary.I'll try on Win7-64 later.