Skip to content

error thrown from sleep: attempt to call a userdata value #234

@pspacek

Description

@pspacek

Occasionally I receive mystical errors from cqueues:

error: attempt to call a userdata value stack traceback:
	[C]: in function 'poll'
	/usr/share/lua/5.1/cqueues.lua:62: in function 'sleep'
	/usr/lib/knot-resolver/kres_modules/prometheus.lua:91: in function </usr/lib/knot-resolver/kres_modules/prometheus.lua:39>

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions