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

Global lock for "timecb" objects missing #474

Closed
jphickey opened this issue May 19, 2020 · 1 comment · Fixed by #475 or #482
Closed

Global lock for "timecb" objects missing #474

jphickey opened this issue May 19, 2020 · 1 comment · Fixed by #475 or #482
Assignees
Labels
Milestone

Comments

@jphickey
Copy link
Contributor

Describe the bug
The internal table mutex for the timer callback (timecb) object type is missing/not implemented. This leave a potential race condition as timer callbacks are registered.

To Reproduce
Not observed in real execution at this time - but theoretically possible if two timers are registered by two tasks at the exact same time.

Expected behavior
Should be protected.

System observed on:
Ubuntu 20.04

Additional context
The global lock table is simply missing an entry for this object type.

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey self-assigned this May 19, 2020
@jphickey jphickey added the bug label May 19, 2020
@jphickey
Copy link
Contributor Author

Noticed this while investigating #473.

jphickey added a commit to jphickey/osal that referenced this issue May 19, 2020
The mutex to protect the timer callback (timecb) resource table
was missing.
@skliper skliper added this to the 5.1.0 milestone May 20, 2020
astrogeco added a commit that referenced this issue May 26, 2020
jphickey pushed a commit to jphickey/osal that referenced this issue Aug 10, 2022
CMake: minor changes to improve the CLion IDE CMake experience
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants