Skip to content

Reaching Lua memory limit leads to a crash

Right after first allocation is blocked:

[22:56:47.856 E] Lua realloc 0->1390 is blocked because Lua memory limit (configurable in settings.cfg) is exceeded

The engine crashes with SIGABRT:

libc++abi: terminating due to uncaught foreign exception


*** Fatal Error ***
Abnormal termination condition (signal 6)
Address: 0x1840e6a60

This happens at least on MacOS.

Ideally it should not crash.

Version: 828bf3d1

Full log: Terminal_Saved_Output.txt