Open pspacek opened 4 years ago
I'd probably start by printing off the stack just before the lua_pcall
?
Hmm, I do not undestand what you mean. My code is calling .sleep(1)
... do you mean adding a pcall to someplace in cqueues?
do you mean adding a pcall to someplace in cqueues?
https://github.com/wahern/cqueues/blob/813664c99c393acbcb007023b195b241a6b90a20/src/cqueues.c#L1638
Occasionally I receive mystical errors from cqueues:
This happens asynchronously and I cannot see any explanation in my code, it just calls
sleep
.The only wild idea that came to my mind is a problem with premature termination of syscalls but I do not have sufficient knowledge of cqueues and coroutines to dig deeper.
Any ideas what it might be and how to fix that?