lua-users home
lua-l archive

Re: Debugging crashes on GC

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


> I guess I would have to somehow find origin of that
> 0x024bc7e0 state. This seems to be some coroutine, as the main state
> is 0x020e93e8, and we do not create any additional states from C++
> code.
Do you keep a reference to each coroutine you create? Otherwise gc
will collect them, crashing your app.
Hmm... I do not quite understand mechanics of such crash... Are you
saying that coroutine can be collected before objects, created from
it?
Thanks,
Alexander.

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