Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Gate detection failure with big detections #460

Open
nicolas-rabault opened this issue Jan 3, 2024 · 0 comments
Open

[BUG] Gate detection failure with big detections #460

nicolas-rabault opened this issue Jan 3, 2024 · 0 comments
Assignees

Comments

@nicolas-rabault
Copy link
Member

Details

Which version the bug has been detected on

*Luos engine 3.0.0

Description of the bug

With a very big configuration during the detection with a Gate you may experience an out-of-memory.
I guess that the Gate sends a start_detection but doesn't consume it, because it's using polling. If detection needs more messages than the MAX_MSG_NB, the oldest message (start_detection) collides with the new one and Luos_engine assert.

Context and environment

I see this with a configuration with approximately 70 services over 6 boards.
By debugging it I see that the oldest message is a broadcast one, could be a start_detection or end_detection...

How to reproduce the bug

Get a big configuration and reduce the MAX_MSG_NBR

Possible solution

Find a way to consume the oldest message.

@nicolas-rabault nicolas-rabault self-assigned this Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant