-
Notifications
You must be signed in to change notification settings - Fork 300
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
System.Threading.WaitHandleCannotBeOpenedException: A WaitHandle with system-wide name 'PSReadLineHistoryFile_1117427230' cannot be created. #2410
Comments
I guess it can not create a temp file for the mutex. |
|
This is a duplicate of #1464. It's likely a permission issue to |
Also, I've been running PSRL without issue in PS 7.1.3. It's in dev builds where it fails. |
Wait a minute. The error message you had is different from the
The permission-issue ones:
I never saw this failure before. Can you collect some diagnostic information by following the instructions described in #1464 (comment)? Can you also try opening the 7.1.3 |
Location of the
Permissions on mutex dir:
Results of mutex creation:
The second mutex creation succeeds. Opening |
Just to follow up, when I rebuilt PS to target |
That is really strange ... may be a mutex issue in .NET |
PowerShell doesn't support (release) the arm64 package for macOS today, even though our build script allows |
Environment
PSReadLine: 2.1.0
PowerShell: 7.2.0-preview.5
OS: Darwin 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101
BufferWidth: 134
BufferHeight: 63
Last 0 Keys
Exception
Steps to reproduce
Start-DevPowerShell
Expected behavior
Get prompt
Actual behavior
Throws in PSRL due to wait handle issue and falls back to default readline.
The text was updated successfully, but these errors were encountered: