1
Vote

MouseGesturesAddIn.ActionsLibrary.InvokeAction, exception occurred

description

Hello,
Mouse Gesture sometimes throws exception, then visual studio 2008 will crashed.
Following is the some related information.
 
(cb4.1ec): CLR exception - code e0434f4d (!!! second chance !!!)
eax=0026ee90 ebx=e0434f4d ecx=00000001 edx=00000000 esi=0026ef18 edi=03a1b750
eip=774242eb esp=0026ee90 ebp=0026eee0 iopl=0 nv up ei pl nz ac pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00200216
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\kernel32.dll -
kernel32!RaiseException+0x58:
774242eb c9 leave
0:000> !threads
PDB symbol for mscorwks.dll not loaded
ThreadCount: 12
UnstartedThread: 0
BackgroundThread: 9
PendingThread: 0
DeadThread: 3
Hosted Runtime: yes
                                  PreEmptive   GC Alloc           Lock
   ID OSID ThreadOBJ    State     GC       Context       Domain   Count APT Exception
0 1 1ec 03a1b750 4220 Enabled 39c98b98:39c9a204 03a097b8 0 STA System.Reflection.TargetInvocationException (39c98960)
2 2 528 03a25f90 b220 Enabled 00000000:00000000 03a097b8 0 MTA (Finalizer)
3 3 a90 03a299d8 1220 Enabled 00000000:00000000 03a097b8 0 Ukn
11 4 b90 0b4f0788 80a220 Enabled 00000000:00000000 03a097b8 0 MTA (Threadpool Completion Port)
16 5 b98 0c9d4348 180b220 Enabled 39c74234:39c76204 03a097b8 0 MTA (Threadpool Worker)
21 6 84c 14c637c0 80a220 Enabled 00000000:00000000 03a097b8 0 MTA (Threadpool Completion Port)
XXXX 7 0 14c63b90 1801820 Enabled 00000000:00000000 03a097b8 0 Ukn (Threadpool Worker)
22 8 774 14ac9720 880b220 Enabled 00000000:00000000 03a097b8 0 MTA (Threadpool Completion Port)
25 9 a68 14e32d98 220 Enabled 00000000:00000000 03a097b8 0 Ukn
XXXX a 0 2bd2b1a0 9820 Enabled 00000000:00000000 03a097b8 0 Ukn
XXXX b 0 2be45ff0 8801820 Enabled 00000000:00000000 03a097b8 0 Ukn (Threadpool Completion Port)
30 c af0 2c164fc0 180b220 Enabled 39b9c69c:39b9e204 03a097b8 0 MTA (Threadpool Worker)
0:000> !clrstack
OS Thread Id: 0x1ec (0)
ESP EIP
0026ef94 774242eb [GCFrame: 0026ef94]
0026f040 774242eb [CustomGCFrame: 0026f040]
0026f008 774242eb [GCFrame: 0026f008]
0026f024 774242eb [GCFrame: 0026f024]
0026f208 774242eb [HelperMethodFrame_1OBJ: 0026f208] System.RuntimeMethodHandle._InvokeMethodFast(System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeTypeHandle)
0026f278 707a52d8 System.RuntimeMethodHandle.InvokeMethodFast(System.Object, System.Object[], System.Signature, System.Reflection.MethodAttributes, System.RuntimeTypeHandle)
0026f2c8 707a5086 System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, Boolean)
0026f304 707a4f6e System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
0026f324 03bd376f MouseGesturesAddIn.ActionsLibrary.InvokeAction(System.String, EnvDTE80.DTE2)
0026f33c 03bd3676 MouseGesturesAddIn.Connect.mg_Gesture(System.Object, MouseGestures.MouseGestureEventArgs)
0026f34c 03bd363c MouseGestures.MouseGestures.RaiseGestureEvent(MouseGestures.MouseGestureEventArgs)
0026f350 03bd34b8 MouseGestures.MouseGestures.RaiseGestureEvents(MouseGestures.MouseGesture)
0026f368 03bd2cb4 MouseGestures.MouseGestures.EndGesture(System.Object, System.EventArgs)
0026f37c 03bd2c3f MouseGestures.LLMouseFilter.RaiseRightButtonUpEvent()
0026f380 023b0c30 MouseGestures.LLMouseFilter.MouseHookCallback(Int32, IntPtr, IntPtr)
0:000>
OS Thread Id: 0x1ec (0)
ESP EIP
0026ef94 774242eb [GCFrame: 0026ef94]
0026f040 774242eb [CustomGCFrame: 0026f040]
0026f008 774242eb [GCFrame: 0026f008]
0026f024 774242eb [GCFrame: 0026f024]
0026f208 774242eb [HelperMethodFrame_1OBJ: 0026f208] System.RuntimeMethodHandle._InvokeMethodFast(System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeTypeHandle)
0026f278 707a52d8 System.RuntimeMethodHandle.InvokeMethodFast(System.Object, System.Object[], System.Signature, System.Reflection.MethodAttributes, System.RuntimeTypeHandle)
0026f2c8 707a5086 System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, Boolean)
0026f304 707a4f6e System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
0026f324 03bd376f MouseGesturesAddIn.ActionsLibrary.InvokeAction(System.String, EnvDTE80.DTE2)
0026f33c 03bd3676 MouseGesturesAddIn.Connect.mg_Gesture(System.Object, MouseGestures.MouseGestureEventArgs)
0026f34c 03bd363c MouseGestures.MouseGestures.RaiseGestureEvent(MouseGestures.MouseGestureEventArgs)
0026f350 03bd34b8 MouseGestures.MouseGestures.RaiseGestureEvents(MouseGestures.MouseGesture)
0026f368 03bd2cb4 MouseGestures.MouseGestures.EndGesture(System.Object, System.EventArgs)
0026f37c 03bd2c3f MouseGestures.LLMouseFilter.RaiseRightButtonUpEvent()
0026f380 023b0c30 MouseGestures.LLMouseFilter.MouseHookCallback(Int32, IntPtr, IntPtr)
0:000> !pe
Exception object: 39c98960
Exception type: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
InnerException: System.Runtime.InteropServices.COMException, use !PrintException 39c986f8 to see more
StackTrace (generated):
SP       IP       Function
0026F278 707A52D8 mscorlib_ni!System.RuntimeMethodHandle.InvokeMethodFast(System.Object, System.Object[], System.Signature, System.Reflection.MethodAttributes, System.RuntimeTypeHandle)+0x48
0026F2C8 707A5086 mscorlib_ni!System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, Boolean)+0x106
0026F304 707A4F6E mscorlib_ni!System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)+0x1e
0026F324 03BD376F MouseGesturesAddIn!MouseGesturesAddIn.ActionsLibrary.InvokeAction(System.String, EnvDTE80.DTE2)+0x87
0026F33C 03BD3676 MouseGesturesAddIn!MouseGesturesAddIn.Connect.mg_Gesture(System.Object, MouseGestures.MouseGestureEventArgs)+0x26
0026F34C 03BD363C MouseGestures!MouseGestures.MouseGestures.RaiseGestureEvent(MouseGestures.MouseGestureEventArgs)+0x14
0026F350 03BD34B8 MouseGestures!MouseGestures.MouseGestures.RaiseGestureEvents(MouseGestures.MouseGesture)+0x40
0026F368 03BD2CB4 MouseGestures!MouseGestures.MouseGestures.EndGesture(System.Object, System.EventArgs)+0x64
0026F37C 03BD2C3F MouseGestures!MouseGestures.LLMouseFilter.RaiseRightButtonUpEvent()+0x17
0026F380 023B0C30 MouseGestures!MouseGestures.LLMouseFilter.MouseHookCallback(Int32, IntPtr, IntPtr)+0x70
 
StackTraceString: <none>
HResult: 80131604
0:000> !do 39c98960
Name: System.Reflection.TargetInvocationException
MethodTable: 707e285c
EEClass: 705b3504
Size: 72(0x48) bytes
(C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll)
Fields:
  MT    Field   Offset                 Type VT     Attr    Value Name
708008ec 40000b5 4 System.String 0 instance 00000000 _className
707ffd60 40000b6 8 ...ection.MethodBase 0 instance 00000000 _exceptionMethod
708008ec 40000b7 c System.String 0 instance 00000000 _exceptionMethodString
708008ec 40000b8 10 System.String 0 instance 05270cac _message
707fa248 40000b9 14 ...tions.IDictionary 0 instance 00000000 _data
70800a80 40000ba 18 System.Exception 0 instance 39c986f8 _innerException
708008ec 40000bb 1c System.String 0 instance 00000000 _helpURL
70800508 40000bc 20 System.Object 0 instance 39c98acc _stackTrace
708008ec 40000bd 24 System.String 0 instance 00000000 _stackTraceString
708008ec 40000be 28 System.String 0 instance 00000000 _remoteStackTraceString
70802b38 40000bf 34 System.Int32 1 instance 0 _remoteStackIndex
70800508 40000c0 2c System.Object 0 instance 00000000 _dynamicMethods
70802b38 40000c1 38 System.Int32 1 instance -2146232828 _HResult
708008ec 40000c2 30 System.String 0 instance 00000000 _source
708031b4 40000c3 3c System.IntPtr 1 instance 0 _xptrs
70802b38 40000c4 40 System.Int32 1 instance -532459699 _xcode

comments