lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

This is a good point. Storing full 32-bit integers in Lua numbers can
give a behavior where the things may seem to become random due to
hashing problems. Basically on some numbers it will run fine, on some
numbers it would crash and on some numbers it would produce garbage with
no crashes. This is all from experiences we've had with Lua 5.0. Perhaps
this is the case here as well. On one project because of this we ended
up storing integers in Lua as strings.


-----Original Message-----
[] On Behalf Of Mark Hamburg
Sent: Monday, October 01, 2007 6:08 PM
To: Lua list
Subject: Re: Weird irreproducible error

Are you calling out to your own native code? If so, could that code be
stomping Lua's data structures? Could you be running into problems with
DirectX numerics flags?