Title: Assertion in `QueryDosDevice.cs` failing in Parallels VM · Issue #20043 · PowerShell/PowerShell · GitHub
Open Graph Title: Assertion in `QueryDosDevice.cs` failing in Parallels VM · Issue #20043 · PowerShell/PowerShell
X Title: Assertion in `QueryDosDevice.cs` failing in Parallels VM · Issue #20043 · PowerShell/PowerShell
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 reprodu...
Open Graph 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 PowerSh...
X 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 PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/20043
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Assertion in `QueryDosDevice.cs` failing in Parallels VM","articleBody":"### Prerequisites\n\n- [X] Write a descriptive title.\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\n- [X] Search the existing issues.\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\n\n### Steps to reproduce\n\nIn 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:\r\n\r\nhttps://github.com/PowerShell/PowerShell/blob/91447e62dec9fdbd5d24822eb8fefcc2b216d1b1/src/System.Management.Automation/engine/Interop/Windows/QueryDosDevice.cs#L91\n\n### Expected behavior\n\n```console\n`pwsh` to start-up as normal\n```\n\n\n### Actual behavior\n\n```console\nThe assertion is hit and the process exits (since it's a debug build)\n```\n\n\n### Error details\n\n_No response_\n\n### Environment data\n\n```powershell\nbuilt from master\n```\n\n\n### Visuals\n\n_No response_","author":{"url":"https://github.com/andyleejordan","@type":"Person","name":"andyleejordan"},"datePublished":"2023-07-28T23:59:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/20043/PowerShell/issues/20043"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:33c508e0-14d8-cbfa-4dc3-30daf441e737 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB30:17402E:36E9089:4DE5A4D:6A54E6D6 |
| html-safe-nonce | fdfca8be54a3d3b05912fa0c873b113dc9873af14753bb8a717d469dd2bb797e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjMwOjE3NDAyRTozNkU5MDg5OjRERTVBNEQ6NkE1NEU2RDYiLCJ2aXNpdG9yX2lkIjoiMzMzNTMwMzc0MzY1MDcxOTQ0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 606fe54e638334e15be91335357091c54ee54de1a1ded5bcd51990c3508dd63a |
| hovercard-subject-tag | issue:1827225100 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/20043/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bec234e80a70366b724f24fac49ed9994f683b1d060d1e2bbbe3ee5c9a303252/PowerShell/PowerShell/issues/20043 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bec234e80a70366b724f24fac49ed9994f683b1d060d1e2bbbe3ee5c9a303252/PowerShell/PowerShell/issues/20043 |
| og:image:alt | 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 PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andyleejordan |
| hostname | github.com |
| expected-hostname | github.com |
| None | eae2aab99907699a22d2c8449aa683ca74454fca87211b98f7c7b722086b2839 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bb1b4ffdc07c66de20ad344214f55df0aa364bd3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width