lua-users home
lua-l archive

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


> This code:
> 
> local t = {}
> for i = 1, 0x7fffffff do
> t[i] = i
> end
> 
> crashes the interpreter as soon as i becomes 0x40000001. within the call
> to computesizes(). Here is the relevant portion of the stack:
> 
> [...]
> 
> nums is passed from rehash, where it is defined to be an array of 32
> unsigned ints. At the time of the crash, i is 1848, way outside the array
> bounds. The first 31 elements of nums at the time of crash are:
> 
> [...]

My machine does not have enough memory to reproduce the bug. Can you
give me the value of '*pna' when 'computesizes' is called?

Thanks,

-- Roberto