lua-users home
lua-l archive

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


TCC compiler:

-DLUAI_MAXCSTACK=454 is the maximum I could have it complete all tests!
-DLUAI_MAXCSTACK=455 and above crashes.

Microsoft compiler (VS2013):

-DLUAI_MAXCSTACK=413 is the maximum I could have it complete all tests!
-DLUAI_MAXCSTACK=414 and above crashes.

Tested on a Win7-64 machine with 6GB RAM (in case it matters).

Both cases the values are far below the luaconf.h default of 2200

-----Original Message----- From: Roberto Ierusalimschy Sent: Thursday, May 30, 2019 9:39 PM To: Lua mailing list Subject: Re: Lua 5.4 tests?
With the new tests from GitHub, I run with

lua54 -E -e"_U=true" all.lua
(is this still the correct way to run the tests?)

and get up to this point when it crashes (Win7):

time: 0.931 (+0.01)

***** FILE 'cstack.lua'*****
testing C-stack overflow detection

Can you change the value of LUAI_MAXCSTACK (defined in luaconf.h, but you can also define it externally) to a smaller value that
doen't chrash? (And tell us the maximum value that still passes
all tests?)

Many thanks,

-- Roberto