[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua 5.4 calls __gc twice, sometimes
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 27 Apr 2020 10:27:26 -0300
> Well, I found the bug, and it was my fault. I'm rather embarrassed, but I found that the bug was in one of my lua_CFunction responses, I had a single method that was accidentally returning the userdata right at the time the proxy __gc had been called, and the handler was assigning it a new proxy key - thus causing a later gc to hit that userdata a 2nd time
>
> Please kindly disregard this bug report now 🙂
Well, at least it is solverd! One less worry in our lists :-) Thanks for
the attention,
-- Roberto
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org
- References:
- lua 5.4 calls __gc twice, sometimes, Payo Nel
- Re: lua 5.4 calls __gc twice, sometimes, Payo Nel
- Re: lua 5.4 calls __gc twice, sometimes, Roberto Ierusalimschy
- Re: lua 5.4 calls __gc twice, sometimes, Payo Nel
- Re: lua 5.4 calls __gc twice, sometimes, Roberto Ierusalimschy
- Re: lua 5.4 calls __gc twice, sometimes, Payo Nel