[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: "Fix" for crash in newkey (SIGBUS on Mac OS X)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 29 Jan 2008 18:45:48 -0200
> 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.