aspnet_perf.dll access violation at address

현석 김 0 Reputation points
2023-03-09T08:11:54.7666667+00:00

I used performance counter for measure cpu usage on my web.

In x64 setting. when performacecounter member was inited, Next problem has occured.

private readonly PerformanceCounter _cpu = new PerformanceCounter("Processor", "% Processor Time", "_Total");


예외 발생(0x00007FFA03C424BC(Aspnet_perf.dll), iisexpress.exe): 0xC0000005: 0x00007FF9CFC483C8 위치를 기록하는 동안 액세스 위반이 발생했습니다..

exception(0x00007FFA03C424BC(Aspnet_perf.dll), iisexpress.exe): 0xC0000005: 0x00007FF9CFC483C8 On recording address, occuered access violation


I guessed my P.C member was 'readolny type', so Is not try any write.but when recored address , occured access violation

Plz any help or advice

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
689 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,261 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,524 questions
{count} votes