eclipse-iceoryx / eclipse-iceoryx/iceoryx2
Potential dead-lock in `FileDescriptorTests::file_descriptor_set_add_and_remove_works`
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 187
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 47
Description
## Required information
**Operating system:**
* Windows latest
**Rust version:**
1.80 (current beta)
**iceoryx2 version:**
`main`
**Observed result or behaviour:**
The tests `FileDescriptorTests::file_descriptor_set_add_and_remove_works` dead-locks even though it does not run concurrently. Happened only once on the CI. This issue shall track the behavior and ensure that this is not a bug in the windows implementation. A possible cause could be the handle translator in the windows platform.
**Expected result or behaviour:**
No deadlock.
**Conditions where it occurred / Performed steps:**
Describe how one can reproduce the bug.
Contributor guide
Research direction
Start with the Windows run of FileDescriptorTests::file_descriptor_set_add_and_remove_works and inspect the Windows handle translator mentioned in the report. Try to reproduce the intermittent CI deadlock and trace the relevant file-descriptor operations; done means the test no longer deadlocks and the Windows implementation is shown not to contain this bug.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100