fastfetch-cli / fastfetch

An actively maintained, feature-rich and performance oriented, neofetch like system information tool.
MIT License
8.43k stars 350 forks source link

Utilities have exception under Windows Server 2019/2022 #484

Closed Zeroes1 closed 1 year ago

Zeroes1 commented 1 year ago

General description of bug:

both fastfetch.exe and flashfetch.exe have exception c0000005 under Windows Server 2019/2022

run flashfetch.exe and nothing.... need press ctrl-c to show info after this auto exit to console

Often helpful information:

trouble 100% reproduced

Output of fastfetch --version:

fastfetch 1.11.3 (x86_64)
Zeroes1 commented 1 year ago

DMP+WER INFO bug.zip

CarterLi commented 1 year ago

Does registry path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\ exist? If yes, please paste the screenshot of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\{*}\0000 here. Like this

image

Zeroes1 commented 1 year ago

image

Zeroes1 commented 1 year ago

both 2019 and 2022 servers are virtual based VMware vSphere

CarterLi commented 1 year ago

image

I don't see much difference from mine

I can't do much without getting a stack trace. I have added some debug log in the latest dev build. Please try it with fastfetch -s gpu --pipe

Zeroes1 commented 1 year ago

1) run fastfetch.exe or flashfetch.exe from (CMake (Windows): remove an unused dependency #1346) build crashed under 2019/2022

2) now run fastfetch.exe or flashfetch.exe without any options from (GPU (Windows): add debug logs for #484 #1348) build work fine! not crashed under 2019/2022

3) D:\install\dindikov\test>fastfetch -s gpu --pipe ffPrintGPU start ffDetectGPU start ffDetectGPUImpl: start ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl EnumDisplayDevicesW ffDetectGPUImpl deviceKeyLength 0 ffDetectGPUImpl end ffDetectGPU end 1 ffPrintGPU 1 ffPrintGPU 2 ffPrintGPU 3 ffPrintGPU 4

CarterLi commented 1 year ago

ffDetectGPUImpl deviceKeyLength 0

That's not expected. Anyway, I have pushed a work around for this. Please test the latest dev build

Zeroes1 commented 1 year ago

Under 2019/2022 work fine, thanks! May be to release 1.14?