lua-users home
lua-l archive

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


> After several lengthy gdb sessions and barking up entirely wrong  
> trees, it became apparent that 'gkey(mp)' in
> 
>     gkey(mp)->value = key->value; gkey(mp)->tt = key->tt;
> 
> was actually referring to dummynode (static const Node dummynode_ in  
> ltable.c:75) which was improperly aligned.

Like I said before, the main issue here is to make sure that this is not
related to having duplicate copies of the Lua core linked into your app,
for instance, once into the app and once into a shared library. Problems
related to freeing dummynode are usually a symptom of duplicate Lua cores.
--lhf