lua-users home
lua-l archive

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


Em qua., 24 de fev. de 2021 às 22:54, Sean Conner <sean@conman.org> escreveu:
> I have a bug reading an invalid pointer, in an adjacent library, which I'm
> not sure is caused by Lua gc.

  It may be an issue over who owns the memory for the userdata, but without
knowing the exact error, it's hard to say.
Lua owns the pointer.
The code is run many times, then magically the "feeefeeefeeefeee" pointer appears.
I need to make sure that there are no mistakes part of Lua C api.

regards,
Ranier Vilela