lua-users home
lua-l archive

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

Shmuel Zeigerman wrote:
Ignacio Burgueño wrote:
Which Lua dll from Lua Binaries? (vc8, vc9 ?) I presume a C runtime problem.

It was tested with these:

I haven't been able reproduce the bug here with free bcc compiler (5.0 I guess). I can't link to VCL since it's not included. So I tested two dlls, one with Borland's C runtime statically linked and another with the runtime linked from a dll. They both worked.

> What's interesting, segfaults occur only when a number assigned to 'var' is >= 0x80000000.

Maybe Borland is setting something and the above code triggers it? I'm thinking of something similar to the floating point issues caused by DirectX setting a FP flag making Lua lose precision. (not that it's the same issue here, merely that it might be something along those lines).