Page 1 of 1

WTools feedback/suggestions

Posted: Mon Jun 28, 2021 6:24 pm
by Ultime
Hi,
Feel free to share any issues, feedback, ideas or suggestions for WTools.

We also plan add options in the "Tool" tab. If ideas/suggestion related to this section make sense and is doable, its possible we may implement them.

thanks.

Re: WTools feedback/suggestions

Posted: Fri Sep 03, 2021 12:03 pm
by alphabit
Wtools v1.0.0.0 is crashing reliably for me on 'Search Registry for Issues' whenever 'Class Issues' is checked.

dump file is generated in \%AppData%\Local\CrashDumps\WTools.exe.[id].dmp,
dump file analysis using Microsoft WinDbg Preview below, not sure if it helps at all.

Code: Select all

This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(1b68.2b00): CLR exception - code e0434352 (first/second chance not available)
For analysis of this file, run !analyze -v
ntdll!NtWaitForMultipleObjects+0x14:
00007ffd`856ed8c4 c3              ret
0:000> !analyze -v
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

DEBUG_FLR_EXCEPTION_CODE(80131500) and the ".exr -1" ExceptionCode(e0434352) don't match
MethodDesc:   00007ffce2d6ebd8
Method Name:          MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
Class:                00007ffce2d3fe58
MethodTable:          00007ffce2d6ec60
mdToken:              00000000060002DD
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce36460e0
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd4110dfc4
     CodeAddr:           00007ffce36460e0  (OptimizedTier1)
     NativeCodeVersion:  000001F56E0358E0
     CodeAddr:           00007ffd41215ed0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bdc2e0
Method Name:          System.Windows.Threading.DispatcherOperation.Invoke()
Class:                00007ffce2bc9cc8
MethodTable:          00007ffce2bdc4d0
mdToken:              0000000006000F84
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3645f80
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd411378f8
     CodeAddr:           00007ffce3645f80  (OptimizedTier1)
     NativeCodeVersion:  000001F56E034E60
     CodeAddr:           00007ffd4127aea0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bd20f0
Method Name:          System.Windows.Threading.Dispatcher.ProcessQueue()
Class:                00007ffce2bc3228
MethodTable:          00007ffce2bd29f0
mdToken:              0000000006000F1A
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3644ce0
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd41136178
     CodeAddr:           00007ffce3644ce0  (OptimizedTier1)
     NativeCodeVersion:  000001F56E031AB0
     CodeAddr:           00007ffd41277a60  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bd2198
Method Name:          System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
Class:                00007ffce2bc3228
MethodTable:          00007ffce2bd29f0
mdToken:              0000000006000F21
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3644a80
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd41136450
     CodeAddr:           00007ffce3644a80  (OptimizedTier1)
     NativeCodeVersion:  000001F56E0318F0
     CodeAddr:           00007ffd412781c0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bdcce8
Method Name:          MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
Class:                00007ffce2bca018
MethodTable:          00007ffce2bdcea0
mdToken:              00000000060001A3
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3610420
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd41104e6c
     CodeAddr:           00007ffce3610420  (OptimizedTier1)
     NativeCodeVersion:  000001F5705E4550
     CodeAddr:           00007ffd412065f0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2be3880
Method Name:          MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
Class:                00007ffce2bccdf0
MethodTable:          00007ffce2be3a70
mdToken:              0000000006000193
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3610360
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd411047e4
     CodeAddr:           00007ffce3610360  (OptimizedTier1)
     NativeCodeVersion:  000001F5705E4510
     CodeAddr:           00007ffd41205770  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bd3250
Method Name:          System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
Class:                00007ffce2bc3828
MethodTable:          00007ffce2bd3310
mdToken:              0000000006000EAF
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3605250
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd41134978
     CodeAddr:           00007ffce3605250  (OptimizedTier1)
     NativeCodeVersion:  000001F5705E3B40
     CodeAddr:           00007ffd412743a0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bd3238
Method Name:          System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
Class:                00007ffce2bc3828
MethodTable:          00007ffce2bd3310
mdToken:              0000000006000EAE
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3605150
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd41134920
     CodeAddr:           00007ffce3605150  (OptimizedTier1)
     NativeCodeVersion:  000001F5705E3240
     CodeAddr:           00007ffd412742d0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bd1dd8
Method Name:          System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
Class:                00007ffce2bc3228
MethodTable:          00007ffce2bd29f0
mdToken:              0000000006000EFA
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce360ff50
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd41135854
     CodeAddr:           00007ffce360ff50  (OptimizedTier1)
     NativeCodeVersion:  000001F5705E4410
     CodeAddr:           00007ffd412766c0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2be3850
Method Name:          MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
Class:                00007ffce2bccdf0
MethodTable:          00007ffce2be3a70
mdToken:              0000000006000191
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce360fb90
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd4110460c
     CodeAddr:           00007ffce360fb90  (OptimizedTier1)
     NativeCodeVersion:  000001F5705E43D0
     CodeAddr:           00007ffd41205380  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2be7a18
Method Name:          ILStubClass.IL_STUB_ReversePInvoke(Int64, Int32, Int64, Int64)
Class:                00007ffce2b4df70
MethodTable:          00007ffce2b4dfe8
mdToken:              0000000006000000
Module:               00007ffce2b24f60
IsJitted:             yes
Current CodeAddr:     00007ffce286d730
Version History:
MethodDesc:   00007ffce2d88870
Method Name:          ILStubClass.IL_STUB_PInvoke(System.Windows.Interop.MSG ByRef)
Class:                00007ffce2b4df70
MethodTable:          00007ffce2b4dfe8
mdToken:              0000000006000000
Module:               00007ffce2b24f60
IsJitted:             yes
Current CodeAddr:     00007ffce2cb0310
Version History:

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 7187

    Key  : Analysis.DebugAnalysisManager
    Value: Create

    Key  : Analysis.Elapsed.mSec
    Value: 206029

    Key  : Analysis.Init.CPU.mSec
    Value: 421

    Key  : Analysis.Init.Elapsed.mSec
    Value: 18550

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 245

    Key  : CLR.Engine
    Value: CORECLR

    Key  : CLR.Version
    Value: 5.0.921.35908

    Key  : Timeline.Process.Start.DeltaSec
    Value: 21

    Key  : WER.OS.Branch
    Value: vb_release

    Key  : WER.OS.Timestamp
    Value: 2019-12-06T14:06:00Z

    Key  : WER.OS.Version
    Value: 10.0.19041.1

    Key  : WER.Process.Version
    Value: 1.0.0.0


NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  (.ecxr)
rax=0000000000000000 rbx=000001f54cc91d20 rcx=0000000000000000
rdx=0000000000000000 rsi=0000000000000005 rdi=00000000e0434352
rip=00007ffd833b4f99 rsp=000000bf80dcdc80 rbp=000000bf80dce040
 r8=000000bf00000000  r9=000000bf00000006 r10=00007ffd4231404a
r11=0000000000000000 r12=000001f54b922eb8 r13=0000000000000000
r14=0000000000000001 r15=000000bf80dcde18
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000206
KERNELBASE!RaiseException+0x69:
00007ffd`833b4f99 0f1f440000      nop     dword ptr [rax+rax]
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffd833b4f99 (KERNELBASE!RaiseException+0x0000000000000069)
   ExceptionCode: e0434352 (CLR exception)
  ExceptionFlags: 00000001
NumberParameters: 5
   Parameter[0]: ffffffff80131500
   Parameter[1]: 0000000000000000
   Parameter[2]: 0000000000000000
   Parameter[3]: 0000000000000000
   Parameter[4]: 00007ffd42280000

PROCESS_NAME:  WTools.exe

EXCEPTION_CODE_STR:  80131500

FAULTING_THREAD:  ffffffff

STACK_TEXT:  
000000bf`80dcdfd0 00007ffd`3fa67361 System_Private_CoreLib!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw+0x21
000000bf`80dce000 00007ffc`e36461d7 WindowsBase!MS.Internal.CulturePreservingExecutionContext.Run+0xf7
000000bf`80dce050 00007ffc`e3645fbe WindowsBase!System.Windows.Threading.DispatcherOperation.Invoke+0x3e
000000bf`80dce0b0 00007ffc`e3644f5a WindowsBase!System.Windows.Threading.Dispatcher.ProcessQueue+0x27a
000000bf`80dce140 00007ffc`e3644aee WindowsBase!System.Windows.Threading.Dispatcher.WndProcHook+0x6e
000000bf`80dce1b0 00007ffc`e36104dd WindowsBase!MS.Win32.HwndWrapper.WndProc+0xbd
000000bf`80dce240 00007ffc`e36103e6 WindowsBase!MS.Win32.HwndSubclass.DispatcherCallbackOperation+0x86
000000bf`80dce290 00007ffc`e3605357 WindowsBase!System.Windows.Threading.ExceptionWrapper.InternalRealCall+0x107
000000bf`80dce2f0 00007ffc`e3605185 WindowsBase!System.Windows.Threading.ExceptionWrapper.TryCatchWhen+0x35
000000bf`80dce340 00007ffc`e361010c WindowsBase!System.Windows.Threading.Dispatcher.LegacyInvokeImpl+0x1bc
000000bf`80dce3d0 00007ffc`e360fe07 WindowsBase!MS.Win32.HwndSubclass.SubclassWndProc+0x277
000000bf`80dce4d0 00007ffc`e286d782 DirectWriteForwarder!ILStubClass.IL_STUB_ReversePInvoke+0x52
000000bf`80dce760 00007ffc`e2cb038b DirectWriteForwarder!ILStubClass.IL_STUB_PInvoke+0x7b
000000bf`80dce820 00007ffd`41277ee3 WindowsBase!System.Windows.Threading.Dispatcher.PushFrameImpl+0xc3
000000bf`80dce8b0 00007ffd`412753c1 WindowsBase!System.Windows.Threading.Dispatcher.PushFrame+0x41
000000bf`80dce8e0 00007ffd`4127536e WindowsBase!System.Windows.Threading.Dispatcher.Run+0x3e
000000bf`80dce910 00007ffd`3ed796bc PresentationFramework!System.Windows.Application.RunDispatcher+0x1c
000000bf`80dce940 00007ffd`3ed77d1d PresentationFramework!System.Windows.Application.RunInternal+0x15d
000000bf`80dce990 00007ffd`3ed74cac PresentationFramework!System.Windows.Application.Run+0x2c
000000bf`80dce9c0 00007ffc`e2856182 UNKNOWN!WTools.App.Main+0x42


STACK_COMMAND:  ** Pseudo Context ** ManagedPseudo ** Value: ffffffff ** ; kb

SYMBOL_NAME:  System_Private_CoreLib!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw+21

MODULE_NAME: System_Private_CoreLib

IMAGE_NAME:  System.Private.CoreLib.dll

FAILURE_BUCKET_ID:  CLR_EXCEPTION_80131500_System.Private.CoreLib.dll!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  5.0.921.35908

FAILURE_ID_HASH:  {bece1b4c-6899-5342-6577-44e5d43feebe}

Followup:     MachineOwner
---------

Re: WTools feedback/suggestions

Posted: Fri Sep 03, 2021 12:21 pm
by Wagnard
alphabit wrote: Fri Sep 03, 2021 12:03 pm Wtools v1.0.0.0 is crashing reliably for me on 'Search Registry for Issues' whenever 'Class Issues' is checked.

dump file is generated in \%AppData%\Local\CrashDumps\WTools.exe.[id].dmp,
dump file analysis using Microsoft WinDbg Preview below, not sure if it helps at all.

Code: Select all

This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(1b68.2b00): CLR exception - code e0434352 (first/second chance not available)
For analysis of this file, run !analyze -v
ntdll!NtWaitForMultipleObjects+0x14:
00007ffd`856ed8c4 c3              ret
0:000> !analyze -v
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

DEBUG_FLR_EXCEPTION_CODE(80131500) and the ".exr -1" ExceptionCode(e0434352) don't match
MethodDesc:   00007ffce2d6ebd8
Method Name:          MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
Class:                00007ffce2d3fe58
MethodTable:          00007ffce2d6ec60
mdToken:              00000000060002DD
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce36460e0
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd4110dfc4
     CodeAddr:           00007ffce36460e0  (OptimizedTier1)
     NativeCodeVersion:  000001F56E0358E0
     CodeAddr:           00007ffd41215ed0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bdc2e0
Method Name:          System.Windows.Threading.DispatcherOperation.Invoke()
Class:                00007ffce2bc9cc8
MethodTable:          00007ffce2bdc4d0
mdToken:              0000000006000F84
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3645f80
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd411378f8
     CodeAddr:           00007ffce3645f80  (OptimizedTier1)
     NativeCodeVersion:  000001F56E034E60
     CodeAddr:           00007ffd4127aea0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bd20f0
Method Name:          System.Windows.Threading.Dispatcher.ProcessQueue()
Class:                00007ffce2bc3228
MethodTable:          00007ffce2bd29f0
mdToken:              0000000006000F1A
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3644ce0
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd41136178
     CodeAddr:           00007ffce3644ce0  (OptimizedTier1)
     NativeCodeVersion:  000001F56E031AB0
     CodeAddr:           00007ffd41277a60  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bd2198
Method Name:          System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
Class:                00007ffce2bc3228
MethodTable:          00007ffce2bd29f0
mdToken:              0000000006000F21
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3644a80
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd41136450
     CodeAddr:           00007ffce3644a80  (OptimizedTier1)
     NativeCodeVersion:  000001F56E0318F0
     CodeAddr:           00007ffd412781c0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bdcce8
Method Name:          MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
Class:                00007ffce2bca018
MethodTable:          00007ffce2bdcea0
mdToken:              00000000060001A3
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3610420
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd41104e6c
     CodeAddr:           00007ffce3610420  (OptimizedTier1)
     NativeCodeVersion:  000001F5705E4550
     CodeAddr:           00007ffd412065f0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2be3880
Method Name:          MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
Class:                00007ffce2bccdf0
MethodTable:          00007ffce2be3a70
mdToken:              0000000006000193
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3610360
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd411047e4
     CodeAddr:           00007ffce3610360  (OptimizedTier1)
     NativeCodeVersion:  000001F5705E4510
     CodeAddr:           00007ffd41205770  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bd3250
Method Name:          System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
Class:                00007ffce2bc3828
MethodTable:          00007ffce2bd3310
mdToken:              0000000006000EAF
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3605250
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd41134978
     CodeAddr:           00007ffce3605250  (OptimizedTier1)
     NativeCodeVersion:  000001F5705E3B40
     CodeAddr:           00007ffd412743a0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bd3238
Method Name:          System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
Class:                00007ffce2bc3828
MethodTable:          00007ffce2bd3310
mdToken:              0000000006000EAE
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce3605150
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd41134920
     CodeAddr:           00007ffce3605150  (OptimizedTier1)
     NativeCodeVersion:  000001F5705E3240
     CodeAddr:           00007ffd412742d0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2bd1dd8
Method Name:          System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
Class:                00007ffce2bc3228
MethodTable:          00007ffce2bd29f0
mdToken:              0000000006000EFA
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce360ff50
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd41135854
     CodeAddr:           00007ffce360ff50  (OptimizedTier1)
     NativeCodeVersion:  000001F5705E4410
     CodeAddr:           00007ffd412766c0  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2be3850
Method Name:          MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
Class:                00007ffce2bccdf0
MethodTable:          00007ffce2be3a70
mdToken:              0000000006000191
Module:               00007ffce29b78a8
IsJitted:             yes
Current CodeAddr:     00007ffce360fb90
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ffd4110460c
     CodeAddr:           00007ffce360fb90  (OptimizedTier1)
     NativeCodeVersion:  000001F5705E43D0
     CodeAddr:           00007ffd41205380  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
MethodDesc:   00007ffce2be7a18
Method Name:          ILStubClass.IL_STUB_ReversePInvoke(Int64, Int32, Int64, Int64)
Class:                00007ffce2b4df70
MethodTable:          00007ffce2b4dfe8
mdToken:              0000000006000000
Module:               00007ffce2b24f60
IsJitted:             yes
Current CodeAddr:     00007ffce286d730
Version History:
MethodDesc:   00007ffce2d88870
Method Name:          ILStubClass.IL_STUB_PInvoke(System.Windows.Interop.MSG ByRef)
Class:                00007ffce2b4df70
MethodTable:          00007ffce2b4dfe8
mdToken:              0000000006000000
Module:               00007ffce2b24f60
IsJitted:             yes
Current CodeAddr:     00007ffce2cb0310
Version History:

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 7187

    Key  : Analysis.DebugAnalysisManager
    Value: Create

    Key  : Analysis.Elapsed.mSec
    Value: 206029

    Key  : Analysis.Init.CPU.mSec
    Value: 421

    Key  : Analysis.Init.Elapsed.mSec
    Value: 18550

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 245

    Key  : CLR.Engine
    Value: CORECLR

    Key  : CLR.Version
    Value: 5.0.921.35908

    Key  : Timeline.Process.Start.DeltaSec
    Value: 21

    Key  : WER.OS.Branch
    Value: vb_release

    Key  : WER.OS.Timestamp
    Value: 2019-12-06T14:06:00Z

    Key  : WER.OS.Version
    Value: 10.0.19041.1

    Key  : WER.Process.Version
    Value: 1.0.0.0


NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  (.ecxr)
rax=0000000000000000 rbx=000001f54cc91d20 rcx=0000000000000000
rdx=0000000000000000 rsi=0000000000000005 rdi=00000000e0434352
rip=00007ffd833b4f99 rsp=000000bf80dcdc80 rbp=000000bf80dce040
 r8=000000bf00000000  r9=000000bf00000006 r10=00007ffd4231404a
r11=0000000000000000 r12=000001f54b922eb8 r13=0000000000000000
r14=0000000000000001 r15=000000bf80dcde18
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000206
KERNELBASE!RaiseException+0x69:
00007ffd`833b4f99 0f1f440000      nop     dword ptr [rax+rax]
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffd833b4f99 (KERNELBASE!RaiseException+0x0000000000000069)
   ExceptionCode: e0434352 (CLR exception)
  ExceptionFlags: 00000001
NumberParameters: 5
   Parameter[0]: ffffffff80131500
   Parameter[1]: 0000000000000000
   Parameter[2]: 0000000000000000
   Parameter[3]: 0000000000000000
   Parameter[4]: 00007ffd42280000

PROCESS_NAME:  WTools.exe

EXCEPTION_CODE_STR:  80131500

FAULTING_THREAD:  ffffffff

STACK_TEXT:  
000000bf`80dcdfd0 00007ffd`3fa67361 System_Private_CoreLib!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw+0x21
000000bf`80dce000 00007ffc`e36461d7 WindowsBase!MS.Internal.CulturePreservingExecutionContext.Run+0xf7
000000bf`80dce050 00007ffc`e3645fbe WindowsBase!System.Windows.Threading.DispatcherOperation.Invoke+0x3e
000000bf`80dce0b0 00007ffc`e3644f5a WindowsBase!System.Windows.Threading.Dispatcher.ProcessQueue+0x27a
000000bf`80dce140 00007ffc`e3644aee WindowsBase!System.Windows.Threading.Dispatcher.WndProcHook+0x6e
000000bf`80dce1b0 00007ffc`e36104dd WindowsBase!MS.Win32.HwndWrapper.WndProc+0xbd
000000bf`80dce240 00007ffc`e36103e6 WindowsBase!MS.Win32.HwndSubclass.DispatcherCallbackOperation+0x86
000000bf`80dce290 00007ffc`e3605357 WindowsBase!System.Windows.Threading.ExceptionWrapper.InternalRealCall+0x107
000000bf`80dce2f0 00007ffc`e3605185 WindowsBase!System.Windows.Threading.ExceptionWrapper.TryCatchWhen+0x35
000000bf`80dce340 00007ffc`e361010c WindowsBase!System.Windows.Threading.Dispatcher.LegacyInvokeImpl+0x1bc
000000bf`80dce3d0 00007ffc`e360fe07 WindowsBase!MS.Win32.HwndSubclass.SubclassWndProc+0x277
000000bf`80dce4d0 00007ffc`e286d782 DirectWriteForwarder!ILStubClass.IL_STUB_ReversePInvoke+0x52
000000bf`80dce760 00007ffc`e2cb038b DirectWriteForwarder!ILStubClass.IL_STUB_PInvoke+0x7b
000000bf`80dce820 00007ffd`41277ee3 WindowsBase!System.Windows.Threading.Dispatcher.PushFrameImpl+0xc3
000000bf`80dce8b0 00007ffd`412753c1 WindowsBase!System.Windows.Threading.Dispatcher.PushFrame+0x41
000000bf`80dce8e0 00007ffd`4127536e WindowsBase!System.Windows.Threading.Dispatcher.Run+0x3e
000000bf`80dce910 00007ffd`3ed796bc PresentationFramework!System.Windows.Application.RunDispatcher+0x1c
000000bf`80dce940 00007ffd`3ed77d1d PresentationFramework!System.Windows.Application.RunInternal+0x15d
000000bf`80dce990 00007ffd`3ed74cac PresentationFramework!System.Windows.Application.Run+0x2c
000000bf`80dce9c0 00007ffc`e2856182 UNKNOWN!WTools.App.Main+0x42


STACK_COMMAND:  ** Pseudo Context ** ManagedPseudo ** Value: ffffffff ** ; kb

SYMBOL_NAME:  System_Private_CoreLib!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw+21

MODULE_NAME: System_Private_CoreLib

IMAGE_NAME:  System.Private.CoreLib.dll

FAILURE_BUCKET_ID:  CLR_EXCEPTION_80131500_System.Private.CoreLib.dll!System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  5.0.921.35908

FAILURE_ID_HASH:  {bece1b4c-6899-5342-6577-44e5d43feebe}

Followup:     MachineOwner
---------
Thanks for the debug. Could you also provide what the Event viewer under application provide ?

Re: WTools feedback/suggestions

Posted: Fri Sep 03, 2021 12:29 pm
by alphabit
Two events, first one just a basic Application Error:

Code: Select all

Faulting application name: WTools.exe, version: 1.0.0.0, time stamp: 0x60e896d9
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1202, time stamp: 0xc9db1934
Exception code: 0xe0434352
Fault offset: 0x0000000000034f99
Faulting process ID: 0x1d9c
Faulting application start time: 0x01d7a0df16d99d3a
Faulting application path: C:\Wtools v1.0.0.0\WTools.exe
Faulting module path: C:\windows\System32\KERNELBASE.dll
Report ID: 60d28ad6-7d7c-4d6e-99ee-27b951265168
Faulting package full name: 
Faulting package-relative application ID: 
Second event .NET Runtime:

Code: Select all

Application: WTools.exe
CoreCLR Version: 5.0.921.35908
.NET Version: 5.0.9
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AggregateException: One or more errors occurred. (One or more errors occurred. (Unable to cast object of type 'System.Int32' to type 'System.String'.))
 ---> System.AggregateException: One or more errors occurred. (Unable to cast object of type 'System.Int32' to type 'System.String'.)
 ---> System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'.
   at WTools.CleanupEngine.<>c__DisplayClass7_1.<ScanRegistryCLSID>b__1(String regkeySubkeyname)
   at System.Threading.Tasks.Parallel.<>c__DisplayClass32_0`2.<ForEachWorker>b__0(Int32 i)
   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`1.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`1.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
   at System.Threading.Tasks.TaskReplicator.Replica`1.ExecuteAction(Boolean& yieldedBeforeCompletion)
   at System.Threading.Tasks.TaskReplicator.Replica.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](TSource[] array, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
   at WTools.CleanupEngine.ScanRegistryCLSID()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.WaitAll(Task[] tasks)
   at WTools.MainWindow.searchReg()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at WTools.MainWindow.btn_SearchReg_Click(Object sender, RoutedEventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run()
   at WTools.App.Main()
Thanks

Re: WTools feedback/suggestions

Posted: Fri Sep 03, 2021 12:48 pm
by Wagnard
alphabit wrote: Fri Sep 03, 2021 12:29 pm Two events, first one just a basic Application Error:

Code: Select all

Faulting application name: WTools.exe, version: 1.0.0.0, time stamp: 0x60e896d9
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1202, time stamp: 0xc9db1934
Exception code: 0xe0434352
Fault offset: 0x0000000000034f99
Faulting process ID: 0x1d9c
Faulting application start time: 0x01d7a0df16d99d3a
Faulting application path: C:\Wtools v1.0.0.0\WTools.exe
Faulting module path: C:\windows\System32\KERNELBASE.dll
Report ID: 60d28ad6-7d7c-4d6e-99ee-27b951265168
Faulting package full name: 
Faulting package-relative application ID: 
Second event .NET Runtime:

Code: Select all

Application: WTools.exe
CoreCLR Version: 5.0.921.35908
.NET Version: 5.0.9
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AggregateException: One or more errors occurred. (One or more errors occurred. (Unable to cast object of type 'System.Int32' to type 'System.String'.))
 ---> System.AggregateException: One or more errors occurred. (Unable to cast object of type 'System.Int32' to type 'System.String'.)
 ---> System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'.
   at WTools.CleanupEngine.<>c__DisplayClass7_1.<ScanRegistryCLSID>b__1(String regkeySubkeyname)
   at System.Threading.Tasks.Parallel.<>c__DisplayClass32_0`2.<ForEachWorker>b__0(Int32 i)
   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`1.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`1.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
   at System.Threading.Tasks.TaskReplicator.Replica`1.ExecuteAction(Boolean& yieldedBeforeCompletion)
   at System.Threading.Tasks.TaskReplicator.Replica.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](TSource[] array, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
   at WTools.CleanupEngine.ScanRegistryCLSID()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.WaitAll(Task[] tasks)
   at WTools.MainWindow.searchReg()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at WTools.MainWindow.btn_SearchReg_Click(Object sender, RoutedEventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run()
   at WTools.App.Main()
Thanks
Thanks, this will be very helpful.

Edit: Issue possibly found, will post an updated version for you here soon, if you could report if it is fixed or not it would be great.

Re: WTools feedback/suggestions

Posted: Fri Sep 03, 2021 1:20 pm
by Wagnard
alphabit wrote: Fri Sep 03, 2021 12:29 pm Two events, first one just a basic Application Error:

Code: Select all

Faulting application name: WTools.exe, version: 1.0.0.0, time stamp: 0x60e896d9
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1202, time stamp: 0xc9db1934
Exception code: 0xe0434352
Fault offset: 0x0000000000034f99
Faulting process ID: 0x1d9c
Faulting application start time: 0x01d7a0df16d99d3a
Faulting application path: C:\Wtools v1.0.0.0\WTools.exe
Faulting module path: C:\windows\System32\KERNELBASE.dll
Report ID: 60d28ad6-7d7c-4d6e-99ee-27b951265168
Faulting package full name: 
Faulting package-relative application ID: 
Second event .NET Runtime:

Code: Select all

Application: WTools.exe
CoreCLR Version: 5.0.921.35908
.NET Version: 5.0.9
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AggregateException: One or more errors occurred. (One or more errors occurred. (Unable to cast object of type 'System.Int32' to type 'System.String'.))
 ---> System.AggregateException: One or more errors occurred. (Unable to cast object of type 'System.Int32' to type 'System.String'.)
 ---> System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'.
   at WTools.CleanupEngine.<>c__DisplayClass7_1.<ScanRegistryCLSID>b__1(String regkeySubkeyname)
   at System.Threading.Tasks.Parallel.<>c__DisplayClass32_0`2.<ForEachWorker>b__0(Int32 i)
   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`1.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.<>c__DisplayClass19_0`1.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
   at System.Threading.Tasks.TaskReplicator.Replica`1.ExecuteAction(Boolean& yieldedBeforeCompletion)
   at System.Threading.Tasks.TaskReplicator.Replica.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.TaskReplicator.Run[TState](ReplicatableUserAction`1 action, ParallelOptions options, Boolean stopOnFirstFailure)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](TSource[] array, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
   at WTools.CleanupEngine.ScanRegistryCLSID()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.WaitAll(Task[] tasks)
   at WTools.MainWindow.searchReg()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at WTools.MainWindow.btn_SearchReg_Click(Object sender, RoutedEventArgs e)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run()
   at WTools.App.Main()
Thanks
Give this version a shot: ***Official Download Here***

Re: WTools feedback/suggestions

Posted: Fri Sep 03, 2021 7:51 pm
by alphabit
No more crashes with the new version posted, thanks!

Re: WTools feedback/suggestions

Posted: Mon Dec 27, 2021 1:33 am
by 4r0
Hello! Thank you for your work and I wish you happy holidays!

AFAIK there's only one program that can change devices interruptions' affinity and that's Microsoft Interrupt Affinity Tool, it's released in 2007 and it's really user unfriendly - it shows error warnings and asks questions, but also the list of devices it shows is chaotic and not grouped.

My suggestion is to add a feature to change the interruptions affinities for all devices in a computer and make it user-friendly, e.g. show devices like they're shown in Device Manager (devmgmt.msc) sorted by connection and show some kind of understandable names/descriptions of devices, may be also group them by what they are (audio, video etc.).

Re: WTools feedback/suggestions

Posted: Sat May 20, 2023 7:45 pm
by Spartan
Can you please add these 2 features in the next version:

1) Flush DNS

Code: Select all

ipconfig /flushdns
@echo Restart your computer
PAUSE
2) Reset Network:

Code: Select all

ipconfig /release
ipconfig /renew
arp -d *
nbtstat -R
nbtstat -RR
ipconfig /flushdns
ipconfig /registerdns
@echo Restart your computer
PAUSE