lua-users home
lua-l archive

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

g->ud is null if you use lua_open.

The normal allocator is using realloc, so my idea is that you broke the
allocator by freeing an invalid pointer out side of lua.

Looks like we've found what's the problem. There was another Lua
static library code copy -- it came from the CEGUI library DLL. Seems
that the crash happened on double-destruction of static structure
object dummynode_ inside Lua. We've solved the problem by compiling
Lua library as DLL itself.