[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua 5.1w crash bug -- '...' related
- From: Eric Tetz <erictetz@...>
- Date: Thu, 2 Sep 2004 13:30:07 -0700
If I build Lua with Borland C++ 5.5 or MSVC++ 6.0, Lua crashes (access
violation) when using '...' under certain circumstances. If I build
it with gcc (under Windows) I don't see this bug.
I can reproduce it by defining...
function foo(...)
print(...)
end
...and calling it with ~20 args. It will crash with fewer args if I
add a few locals to foo. Seems to happen when Lua reallocs the stack.
Stack trace: http://tetzfamily.com/eric/code/lua51w_stacktrace.txt