ramensoftware / windhawk-mods

The official collection of Windhawk mods
286 stars 53 forks source link

explorer.exe: Exception processing message 0xc0000005 - unexpected parameters. [windows-11-taskbar-styler] #396

Open Dook1 opened 10 months ago

Dook1 commented 10 months ago

Exception appears when I restart Windows if "Windows 11 Taskbar Styler" mod is enabled with one of these styles:

systemtray:ImageIconContent > Grid
Padding=1

taskbar:TaskListLabeledButtonPanel#IconPanel > Image
Width=16

taskbar:TaskListLabeledButtonPanel#IconPanel > TextBlock
Margin=-15,0,0,0

Rectangle#RunningIndicator
Visibility=1

And this exception does not occur with other styles. All other mods are disabled. Windows 11 22631.2715

m417z commented 10 months ago

I couldn't reproduce it. Any other ideas about reproducing it?

Also, can you capture a crash dump? You should be able to get it with the following steps:

explorer_PppZmUxQaY

Dook1 commented 10 months ago

The error appears when restarting windows, not when restarting explorer.exe.

Dump is not created for some reason. Although *.dmp files are created when crashing other applications.

An entry in the event log: "Exception Processing Message 0xc0000005 - Unexpected parameters" EventID=26

I found a similar problem in Google - https://github.com/microsoft/PowerToys/issues/16666 . It mentions WinUI3.

m417z commented 10 months ago

OK, so perhaps it's not a crash but just an error message. I couldn't reproduce it with a restart as well (tried with only the first rule).

Dook1 commented 10 months ago

I just checked and added the 1st style. An error occurred during reboot.

m417z commented 10 months ago

Have you changed any of Windhawk's advanced settings? Let me know and I'll try to reproduce again. If not, I'm not really sure how to reproduce or fix this issue.

Dook1 commented 10 months ago

Yes, I changed it. Process exclusion list: * Process inclusion list: explorer.exe

m417z commented 10 months ago

I tried that, and still couldn't reproduce the issue after a reboot. Perhaps there's something extra in your configuration, let me know if you find a way to reproduce it reliably.

Dook1 commented 10 months ago

Maybe it's the Windows version? I have 23H2.

m417z commented 10 months ago

Maybe. I'll try it when I have the chance.

m417z commented 10 months ago

Please try Windows 11 Taskbar Styler v1.2, I changed several things, perhaps it caused the issue to be fixed.

Dook1 commented 10 months ago

The error number has changed:

Faulting application name: explorer.exe Faulting module name: KERNELBASE.dll Exception code: 0x20474343 Fault offset: 0x000000000006565c

m417z commented 10 months ago

0x20474343 is a GCC exception. Are you sure that it's related to Windhawk in any way? Windhawk doesn't use GCC.

Dook1 commented 10 months ago

If I remove these styles, the reboot goes without error.