Failed to open mutex on Windows
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- rust
- Domain
- operating-systems
Research direction
Start in src/locks/windows.rs at lines 65-70 and compare the mutex naming behavior with the linked Windows CreateMutex documentation. Reproduce the cross-process raw_sync and shared_memory case on Windows, then verify that the mutex opens successfully across processes.
Written by the indexing model from the issue text.
Description
While using raw_sync together with shared_memory works fine on Linux across processes on Windows I get a Failed to open mutex mutex_ID from https://github.com/elast0ny/raw_sync-rs/blob/master/src/locks/windows.rs#L65-L70
Taking a quick peek at the Windows API docs it seems like mutex object names might need Global\ as prefix to be available across processes
Source: https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-createmutexa
- Dominant language
- Rust
- Stars
- 66
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from elast0ny/raw_sync-rs
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
elast0ny/raw_sync-rs#39 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
elast0ny/raw_sync-rs#34 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
elast0ny/raw_sync-rs#30 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
elast0ny/raw_sync-rs#28 ·
-
Memory lossOpen
Difficulty 4/5 3-5 days Newbie friendliness 25/100
elast0ny/raw_sync-rs#20 ·
All issues in elast0ny/raw_sync-rs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
AimesSoft/NipaPlay-Reload#1022 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ZcashFoundation/frost-tools#612 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
ScoopInstaller/Extras#19070 ·
Maintainers usually reply within 1 day
-
test: sim_zero_omega_tests race on shared temp-file names, so two pairs of tests fail at randomOpen
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100