aristocratos / btop4win

btop++ for windows
Apache License 2.0
746 stars 21 forks source link

[CRASH] Crash right after start #18

Open ondrej-vipo opened 1 year ago

ondrej-vipo commented 1 year ago

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 btop4win

Info (please complete the following information):

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>
aristocratos commented 1 year ago

@ondrej-vipo Does it crash if you run it as admin?

ondrej-vipo commented 1 year ago

Yes, same behaviour when I run it as admin.

ondrej-vipo commented 1 year ago

... also I have tried to run it inside Windows Hyper-V VM on the same host machine and it also crashes.

aristocratos commented 1 year ago

Which language are you using in your VM? If not english, would you mind changing to english and try to run again. Also the event log in english would be helpful.

It looks to be crashing right after WMI information collection begins (about a second after btop4win start). But no idea why as of yet.

aristocratos commented 1 year ago

Also if you don't mind you could try enabling user-mode crash dumps: https://learn.microsoft.com/sv-se/windows/win32/wer/collecting-user-mode-dumps?redirectedfrom=MSDN

And see if you get a crash dump generated for btop in %LOCALAPPDATA%\CrashDumps

UScr00ge commented 1 year ago

Mine is also crashing, and is generating crash dumps in %LOCALAPPDATA%\CrashDumps

aristocratos commented 1 year ago

@UScr00ge Could you post said crash dumps here?

UScr00ge commented 1 year ago

@UScr00ge Could you post said crash dumps here?

btop4win.exe.22064.zip

brian6932 commented 1 year ago

I am also getting a WMI related crash image Latest .dmp file: https://i.alienpls.org/gpf.dmp

zippyy commented 1 year ago

I am having the same issue on a new install as well.

Kystre commented 9 months ago

i am also having this issue: image

btop4win version: btop4win version: 1.0.4
Binary: from release via scoop
Windows Version: Windows 10 Pro 22h2
Terminal used: Official Windows Terminal
Font used: Cascadia Code
DEAD1SIDE commented 7 months ago

Any update?

donnaken15 commented 1 month ago

I'm also getting crashed right after the WMI bit on LHM, but on normal build, it crashes after one screen refresh image

sskras commented 1 month ago

Similar thing happening on my notebook too:

Microsoft Windows [Version 10.0.19044.3086]
(c) Microsoft Corporation. All rights reserved.

C:\Users\saukrs> dir/o:-d %LOCALAPPDATA%\CrashDumps
 Volume in drive C is pagrindinis
 Volume Serial Number is 10FF-971D

 Directory of C:\Users\saukrs\AppData\Local\CrashDumps

19/07/2024  11:45           759,763 btop4win.exe.7592.dmp
19/07/2024  11:45    <DIR>          ..
19/07/2024  11:45    <DIR>          .
19/07/2024  11:44           726,235 btop4win.exe.4996.dmp
19/07/2024  11:43           727,739 btop4win.exe.6368.dmp
19/07/2024  11:43           759,115 btop4win.exe.8560.dmp
19/07/2024  11:41           751,755 btop4win.exe.1556.dmp
19/07/2024  11:41           761,379 btop4win.exe.7460.dmp
19/07/2024  11:41           757,899 btop4win.exe.13464.dmp
19/07/2024  11:40           732,891 btop4win.exe.10256.dmp
17/07/2024  11:26         2,463,158 dash.14208.dmp
17/07/2024  11:25         2,463,158 dash.12476.dmp
              10 File(s)     10,903,092 bytes
               2 Dir(s)   1,702,920,192 bytes free
flexik555 commented 1 month ago

It crashes in the same way as people from above with a crash dump

sskras commented 1 month ago

Today's dump: btop4win.exe.1440.dmp.zip