lua-users home
lua-l archive

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


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