[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: "Invalid free()" with C extension on OS X
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 15 Feb 2011 17:36:48 -0200
> I'm thinking my problem is related to allocating memory in one thread
> and then trying to deallocate the memory in another thread
Would different threads have separate memory pools?
Also, are you sure you're not linking the Lua library twice? (Once in the
Lua interpreter and once in your binding)
Lua 5.2 adds some safety checks to handle those cases.