Skip to content

lua scripts sometimes do not start or re-start #25455

@tridge

Description

@tridge

in current master we have a bug where lua scripts sometimes don't start. There is only one board I've seen where this happened a lot, the tlog for that case is here:
http://uav.tridgell.net/tmp/scripts_not_starting.tlog
that setup is a CubeOrange running this lua script:
#25428
the same script on 4.4.x didn't show the problem (but as the bug is intermittent this doesn't necessarily mean it is not in 4.4.x)
some key information from debugging so far:

  • copying identical parameters and script to a different CubeOrange did not reproduce the issue despite hundreds of attempts
  • we do at least get to the point of calling lua_scripts::reschedule_script when the bug happens, but the script does not run

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions