René's URL Explorer Experiment


Title: PowerShell 7 (32bit) Crash on Get-Counter '\Memory\Available MBytes' · Issue #13829 · PowerShell/PowerShell · GitHub

Open Graph Title: PowerShell 7 (32bit) Crash on Get-Counter '\Memory\Available MBytes' · Issue #13829 · PowerShell/PowerShell

X Title: PowerShell 7 (32bit) Crash on Get-Counter '\Memory\Available MBytes' · Issue #13829 · PowerShell/PowerShell

Description: Steps to reproduce Windows Server 2016 -1607 14393.3986 and Microsoft Windows 10.0.19041 both with. PowerShell-7.0.3-win-x86 Get-Counter '\Memory\Available MBytes' interesting enough: pwsh -command {Get-Counter '\Memory\Available MBytes'...

Open Graph Description: Steps to reproduce Windows Server 2016 -1607 14393.3986 and Microsoft Windows 10.0.19041 both with. PowerShell-7.0.3-win-x86 Get-Counter '\Memory\Available MBytes' interesting enough: pwsh -command...

X Description: Steps to reproduce Windows Server 2016 -1607 14393.3986 and Microsoft Windows 10.0.19041 both with. PowerShell-7.0.3-win-x86 Get-Counter '\Memory\Available MBytes' interesting enough: pwsh ...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/13829

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PowerShell 7 (32bit) Crash on Get-Counter '\\Memory\\Available MBytes'","articleBody":"## Steps to reproduce\r\n\r\nWindows Server 2016 -1607 14393.3986\r\nand \r\nMicrosoft Windows 10.0.19041  \r\n\r\nboth with.\r\nPowerShell-7.0.3-win-x86\r\n\r\n```powershell\r\n\tGet-Counter '\\Memory\\Available MBytes'\r\n```\r\ninteresting enough:\r\n> pwsh -command {Get-Counter '\\Memory\\Available MBytes'} \r\ncalled from CMD does not seem to generate a visible stacktrace.\r\n\r\n## Expected behavior\r\n\r\n```none\r\nResult or Error (if the command is not supported in 32bit.)\r\n```\r\n\r\n## Actual behavior\r\n\r\n```none\r\nFatal error. Internal CLR error. (0x80131506)                                                                              at System.Runtime.InteropServices.Marshal.PtrToStructureHelper(IntPtr, System.Object, Boolean)                          at System.Runtime.InteropServices.Marshal.PtrToStructureHelper(IntPtr, System.Type)                                     at System.Runtime.InteropServices.Marshal.PtrToStructure(IntPtr, System.Type)                                           at Microsoft.Powershell.Commands.GetCounter.PdhNative.PdhHelper.GetCounterInfoPlus(IntPtr, UInt32 ByRef, UInt32 ByRef, UInt64 ByRef)                                                                                                            at Microsoft.Powershell.Commands.GetCounter.PdhNative.PdhHelper.ReadNextSet(Microsoft.PowerShell.Commands.GetCounter.PerformanceCounterSampleSet ByRef, Boolean)                                                                                at Microsoft.PowerShell.Commands.GetCounterCommand.ProcessGetCounter()                                                  at Microsoft.PowerShell.Commands.GetCounterCommand.EndProcessing()                                                      at System.Management.Automation.Cmdlet.DoEndProcessing()                                                                at System.Management.Automation.CommandProcessorBase.Complete()                                                         at System.Management.Automation.CommandProcessorBase.DoComplete()                                                       at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(System.Management.Automation.CommandProcessorBase)                                                                                                                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(System.Object)                   at System.Management.Automation.PipelineOps.InvokePipeline(System.Object, Boolean, System.Management.Automation.CommandParameterInternal[][], System.Management.Automation.Language.CommandBaseAst[], System.Management.Automation.CommandRedirection[][], System.Management.Automation.Language.FunctionContext)                                                       at System.Management.Automation.Interpreter.ActionCallInstruction`6[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Boolean, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Run(System.Management.Automation.Interpreter.InterpretedFrame)                                                             at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(System.Management.Automation.Interpreter.InterpretedFrame)                                                                                                      at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(System.Management.Automation.Interpreter.InterpretedFrame)                                                                                                      at System.Management.Automation.Interpreter.Interpreter.Run(System.Management.Automation.Interpreter.InterpretedFrame)                                                                                                                          at System.Management.Automation.Interpreter.LightLambda.RunVoid1[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon)                                                   at System.Management.Automation.DlrScriptCommandProcessor.RunClause(System.Action`1\u003cSystem.Management.Automation.Language.FunctionContext>, System.Object, System.Object)                                                                       at System.Management.Automation.DlrScriptCommandProcessor.Complete()                                                    at System.Management.Automation.CommandProcessorBase.DoComplete()                                                       at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(System.Management.Automation.CommandProcessorBase)                                                                                                                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(System.Object)                   at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()                                                  at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()                                              at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProcImpersonate()                                   at System.Management.Automation.Runspaces.PipelineThread.WorkerProc()                                                   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)                                                     at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)                                                                                                            at System.Threading.ThreadHelper.ThreadStart()                               \r\n```\r\n\r\nWe found this because someone manually installed 32bit PowerShell.  Windows 10 copy was from the Zip download 2016 server was from the MSI. (Stacktrace above on Windows 10 laptop)\r\n\r\n","author":{"url":"https://github.com/jmiller76","@type":"Person","name":"jmiller76"},"datePublished":"2020-10-21T18:49:25Z","url":"https://github.com/PowerShell/PowerShell/issues/13829"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b62f8091-8998-86d3-b6d7-e3eb2555ff2c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id92F0:190070:E46D4E:1489328:6AFDA42C
html-safe-nonce549493b0a4a754e0081f248b0fac6fa573965e5d9592e3cfcf0bdead2d105f52
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkYwOjE5MDA3MDpFNDZENEU6MTQ4OTMyODo2QUZEQTQyQyIsInZpc2l0b3JfaWQiOiI2MjIxMTAxNjE1NjkzMDE0MDYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0184bbeff1fcd3519e59097770225fbfca1d76a483ef6436feffb903e925b6bf
hovercard-subject-tagissue:726776192
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/13829/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f477cf03854523ca6f623d4095bd5a71d035434c010b3eb48548bbcce3ec5226/PowerShell/PowerShell/issues/13829
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f477cf03854523ca6f623d4095bd5a71d035434c010b3eb48548bbcce3ec5226/PowerShell/PowerShell/issues/13829
og:image:altSteps to reproduce Windows Server 2016 -1607 14393.3986 and Microsoft Windows 10.0.19041 both with. PowerShell-7.0.3-win-x86 Get-Counter '\Memory\Available MBytes' interesting enough: pwsh -command...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejmiller76
hostnamegithub.com
expected-hostnamegithub.com
Nonebc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0ddf53eb35c87f1f8df13dbf75c3bdadbfc6e969
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/13829#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F13829
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F13829
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/13829
Reloadhttps://github.com/PowerShell/PowerShell/issues/13829
Reloadhttps://github.com/PowerShell/PowerShell/issues/13829
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests366 (366)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/13829
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/13829
PowerShell 7 (32bit) Crash on Get-Counter '\Memory\Available MBytes'https://github.com/PowerShell/PowerShell/issues/13829#top
https://github.com/SeeminglyScience
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get ahttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Question%22
Release-Testinghttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Release-Testing%22
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
https://github.com/jmiller76
jmiller76https://github.com/jmiller76
on Oct 21, 2020https://github.com/PowerShell/PowerShell/issues/13829#issue-726776192
jmiller76https://github.com/jmiller76
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get ahttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Question%22
on Oct 21, 2020https://github.com/PowerShell/PowerShell/issues/13829#event-3905451031
https://github.com/jmiller76
jmiller76https://github.com/jmiller76
on Oct 21, 2020https://github.com/PowerShell/PowerShell/issues/13829#issuecomment-713800660
https://github.com/SeeminglyScience
Patrick Meinecke (SeeminglyScience)https://github.com/SeeminglyScience
on Oct 21, 2020https://github.com/PowerShell/PowerShell/issues/13829#issuecomment-713834192
PowerShell/src/Microsoft.PowerShell.Commands.Diagnostics/PdhHelper.cshttps://github.com/PowerShell/PowerShell/blob/5b82b767558f682fef3ec53b5e5955981c2183ec/src/Microsoft.PowerShell.Commands.Diagnostics/PdhHelper.cs#L267-L294
5b82b76https://github.com/PowerShell/PowerShell/commit/5b82b767558f682fef3ec53b5e5955981c2183ec
Ilya (iSazonov)https://github.com/iSazonov
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
on Jan 18, 2021https://github.com/PowerShell/PowerShell/issues/13829#event-4217924039
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
Release-Testinghttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Release-Testing%22
on Jun 8, 2021https://github.com/PowerShell/PowerShell/issues/13829#event-4861120339
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Patrick Meinecke (SeeminglyScience)https://github.com/SeeminglyScience
on Jul 25, 2022https://github.com/PowerShell/PowerShell/issues/13829#event-7059845497
Patrick Meinecke (SeeminglyScience)https://github.com/SeeminglyScience
on Jul 26, 2022https://github.com/PowerShell/PowerShell/issues/13829#event-7067642930
Correct the struct `PDH_COUNTER_INFO`https://github.com/SeeminglyScience/PowerShell/commit/485a14138b29f91b66294329e9e31664f0dc2a0b
https://docs.github.com/articles/closing-issues-via-commit-messages
485a141https://github.com/SeeminglyScience/PowerShell/commit/485a14138b29f91b66294329e9e31664f0dc2a0b
Correct the struct `PDH_COUNTER_INFO`https://github.com/SeeminglyScience/PowerShell/commit/750e6c0cb925d7b7ac1c4e37803c5a2f14bbdebd
https://docs.github.com/articles/closing-issues-via-commit-messages
750e6c0https://github.com/SeeminglyScience/PowerShell/commit/750e6c0cb925d7b7ac1c4e37803c5a2f14bbdebd
Paul Higinbotham (PaulHigin)https://github.com/PaulHigin
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
b780a34https://github.com/PowerShell/PowerShell/commit/b780a34ad1a8b0fb4aa02c5a486d1e9a995615ab
on Jul 27, 2022https://github.com/PowerShell/PowerShell/issues/13829#event-7076391572
Rain Sallow (/u/ta11ow) (vexx32)https://github.com/vexx32
on Aug 27, 2024https://github.com/PowerShell/PowerShell/issues/13829#event-14020896344
Fix the definition of the `PDH_COUNTER_INFO` struct (PowerShell#17779)https://github.com/vexx32/PowerShell/commit/b780a34ad1a8b0fb4aa02c5a486d1e9a995615ab
PowerShell#17779https://github.com/PowerShell/PowerShell/pull/17779
https://docs.github.com/articles/closing-issues-via-commit-messages
b780a34https://github.com/vexx32/PowerShell/commit/b780a34ad1a8b0fb4aa02c5a486d1e9a995615ab
Thatgfsj (Thatgfsj)https://github.com/Thatgfsj
on Aug 6, 2026https://github.com/PowerShell/PowerShell/issues/13829#event-29091371142
Fix the definition of the `PDH_COUNTER_INFO` struct (PowerShell#17779)https://github.com/Thatgfsj-contribs/PowerShell/commit/31e9da95bf425d959a139a13933f173dbc1ca856
PowerShell#17779https://github.com/PowerShell/PowerShell/pull/17779
https://docs.github.com/articles/closing-issues-via-commit-messages
31e9da9https://github.com/Thatgfsj-contribs/PowerShell/commit/31e9da95bf425d959a139a13933f173dbc1ca856
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/13829
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/13829
Patrick Meinecke (SeeminglyScience)https://github.com/SeeminglyScience
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get ahttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Question%22
Release-Testinghttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Release-Testing%22
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.