[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Crash in luaM_realloc_()
- From: "Alexander Gladysh" <agladysh@...>
- Date: Thu, 15 Jun 2006 12:59:12 +0400
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.