Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Assertion in QueryDosDevice.cs failing in Parallels VM #20043

Copy link
Copy link
@andyleejordan

Description

@andyleejordan
Issue body actions

Prerequisites

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:

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 normal

Actual behavior

The assertion is hit and the process exits (since it's a debug build)

Error details

No response

Environment data

built from master

Visuals

No response

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    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.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.