lua-users home
lua-l archive

Re: "Invalid free()" with C extension on OS X

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


> 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.

AltStyle によって変換されたページ (->オリジナル) /