btop4win: [CRASH] Crash right after start
Describe the bug
The application crashes on my machine a few seconds after startup. I have tried different settings in the config file, but it always crashes no matter what I’ve tried.
To Reproduce
Just launch the app and it crashes.
Expected behavior
App should not crash.
Screenshots

Info (please complete the following information):
- btop4win version:
btop4win version: 1.0.4(also tried older versions - same result) - Binary: binary from release
- Architecture: 64bit
- Windows Version:
Microsoft Windows [Version 10.0.19044.2130] - Terminal used:
cmd.exe - Font used: default one
Additional context
contents of btop.log:
2022/10/13 (08:43:12) | ===> btop++ v.1.0.4
2022/10/13 (08:43:12) | DEBUG: Starting in DEBUG mode!
2022/10/13 (08:43:12) | INFO: Logger set to DEBUG
Windows application event log:
Log Name: Application
Source: Application Error
Date: 13. 10. 2022 8:43:14
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: *****************************
Description:
Názov chybujúcej aplikácie: btop4win.exe, verzia: 0.0.0.0, časová značka: 0x633f3b3e
Názov chybujúceho modulu: btop4win.exe, verzia: 0.0.0.0, časová značka: 0x633f3b3e
Kód výnimky: 0xc0000409
Odstup chyby: 0x000000000018b6bd
Identifikácia chybujúceho procesu: 0x3bac
Čas spustenia chybujúcej aplikácie: 0x01d8decf10a91395
Cesta chybujúcej aplikácie: c:\PortableApps\btop\btop4win.exe
Cesta chybujúceho modulu: c:\PortableApps\btop\btop4win.exe
Identifikácia hlásenia: 89343d02-6a14-4995-bd59-1e54d12732b3
Celé meno chybujúceho balíka:
Identifikácia chybujúcej aplikácie vzhľadom na balík:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>100</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2022-10-13T06:43:14.6718393Z" />
<EventRecordID>70430</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>****************************</Computer>
<Security />
</System>
<EventData>
<Data>btop4win.exe</Data>
<Data>0.0.0.0</Data>
<Data>633f3b3e</Data>
<Data>btop4win.exe</Data>
<Data>0.0.0.0</Data>
<Data>633f3b3e</Data>
<Data>c0000409</Data>
<Data>000000000018b6bd</Data>
<Data>3bac</Data>
<Data>01d8decf10a91395</Data>
<Data>c:\PortableApps\btop\btop4win.exe</Data>
<Data>c:\PortableApps\btop\btop4win.exe</Data>
<Data>89343d02-6a14-4995-bd59-1e54d12732b3</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 20 (4 by maintainers)
Any update?
Hello everyone, I had this very same issue today, and when I tried other software, some returned that Performance Objects where not available on my computer (or other variants of that).
This mean my Performance Counters were corrupted and damaged, and couldn’t be used to monitor the performance of my desktop. (It might have happened when I swapped a few components a few years ago).
To check this, open your Performance Monitor with Administrator rights, if you get a message looking like this: “Unable to add these counters: [Counter lists]”, it means your Performance Counters are damaged/corrupted.
To restore them, open a terminal with Administrator rights, and use the following command:
lodctr /R(the capital R is of importance here, it won’t work with a small r). The result of the command should be “Info: Successfully rebuilt performance counter setting from system backup store” You can check the Performance Counters are good by using this command:lodctr /qIt should spit an awfull lot of counters like USB, .NET, PerfDisk, PerfOS, and so many more. Make sure they’re all enabled (visible in the counter name). If any is disabled, you can enable it with:lodctr /e:[provider name](Provider Name is the name between [ ]).After rebuilding your Performance Counters, it should start working properly.
I found this solution here: https://answers.microsoft.com/en-us/windows/forum/all/perfmon-problems-unable-to-add-counters/e90f231d-0014-457d-8b1f-5f342971597a