-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Open
Labels
Needs-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
In a Windows 11 VM hosted in Parallels on a MacBook, with Parallels' default mapped apps and folders, the "dead code" assertion here is actually being hit, and prevents pwsh from starting up:
PowerShell/src/System.Management.Automation/engine/Interop/Windows/QueryDosDevice.cs
Line 91 in 91447e6
| Diagnostics.Assert(false, "Really it is a dead code since GetDosDevice() is called only if PSDrive.DriveType == DriveType.Network"); |
Expected behavior
`pwsh` to start-up as normalActual behavior
The assertion is hit and the process exits (since it's a debug build)Error details
No response
Environment data
built from masterVisuals
No response
Metadata
Metadata
Assignees
Labels
Needs-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.