btop4win icon indicating copy to clipboard operation
btop4win copied to clipboard

[CRASH] Crash right after start

Open ondrej-vipo opened this issue 2 years ago • 16 comments

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):

  • 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>

ondrej-vipo avatar Oct 13 '22 06:10 ondrej-vipo

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

aristocratos avatar Oct 13 '22 20:10 aristocratos

Yes, same behaviour when I run it as admin.

ondrej-vipo avatar Oct 14 '22 05:10 ondrej-vipo

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

ondrej-vipo avatar Oct 14 '22 05:10 ondrej-vipo

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 avatar Oct 14 '22 05:10 aristocratos

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

aristocratos avatar Oct 14 '22 06:10 aristocratos

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

UScr00ge avatar Oct 23 '22 18:10 UScr00ge

@UScr00ge Could you post said crash dumps here?

aristocratos avatar Oct 23 '22 18:10 aristocratos

@UScr00ge Could you post said crash dumps here?

btop4win.exe.22064.zip

UScr00ge avatar Oct 23 '22 19:10 UScr00ge

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

brian6932 avatar Nov 11 '22 12:11 brian6932

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

zippyy avatar Mar 21 '23 03:03 zippyy

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

Kystre avatar Nov 18 '23 18:11 Kystre

Any update?

DEAD1SIDE avatar Jan 19 '24 22:01 DEAD1SIDE

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

donnaken15 avatar Jul 16 '24 06:07 donnaken15

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

sskras avatar Jul 19 '24 08:07 sskras

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

flexik555 avatar Jul 19 '24 16:07 flexik555

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

sskras avatar Aug 06 '24 16:08 sskras

I've got a similar issue occurring with my instance: btop.exe.14588.dmp.zip

Installed via Scoop, running on Windows Terminal in Windows 10 22H2 19045.5011

Owlgaze avatar Oct 17 '24 06:10 Owlgaze