我的应用程序的一位用户抱怨他无法打开该应用程序。 他给了我崩溃应用程序的调试输出...不幸的是我不是专家并且很难管理它...请你帮我一下并帮助我理解为什么应用程序崩溃了他的系统? / p>
感谢!!!
调用堆栈:
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() + 0xac bytes
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) + 0x38 bytes
mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() + 0x5b bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() + 0x16b bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x5a bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x56 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame) + 0xae bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame frame) + 0x49 bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.Run() + 0x4b bytes
PresentationFramework.dll!System.Windows.Application.RunDispatcher(object ignore) + 0x17 bytes
PresentationFramework.dll!System.Windows.Application.RunInternal(System.Windows.Window window) + 0x6f bytes
PresentationFramework.dll!System.Windows.Application.Run(System.Windows.Window window) + 0x26 bytes
PresentationFramework.dll!System.Windows.Application.Run() + 0x1b bytes
myapplication.exe!myapplication.Application.Main() + 0x54 bytes
调试输出:
'myapplication.exe'(Managed(v4.0.30319)):已加载 'C:\ WINDOWS \ Microsoft.Net \装配\ GAC_MSIL \ System.Configuration \ v4.0_4.0.0.0__b03f5f7f11d50a3a \ System.Configuration.dll', 跳过加载符号。模块已优化并具有调试器选项 'Just My Code'已启用。 'myapplication.exe'(Managed(v4.0.30319)): 加载 'C:\ WINDOWS \ Microsoft.Net \装配\ GAC_MSIL \ PresentationFramework.Aero \ v4.0_4.0.0.0__31bf3856ad364e35 \ PresentationFramework.Aero.dll', 跳过加载符号。模块已优化并具有调试器选项 'Just My Code'已启用。 'myapplication.exe'(Managed(v4.0.30319)): 加载'C:\ Program Files(x86)\ myapplication \ Interop.WMPLib.dll', 跳过加载符号。模块已优化并具有调试器选项 'Just My Code'已启用。 'myapplication.exe'(Managed(v4.0.30319)): 加载 'C:\ Windows \ assembly \ GAC_MSIL \ Microsoft.VisualStudio.Debugger.Runtime \ 11.0.0.0__b03f5f7f11d50a3a \ Microsoft.VisualStudio.Debugger.Runtime.dll'C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ PresentationFramework \ v4。 0_4.0.0.0__31bf3856ad364e35 \ PresentationFramework.dll: 无法找到或打开PDB文件。 C:\ WINDOWS \ Microsoft.Net \装配\ GAC_MSIL \ PresentationFramework \ v4.0_4.0.0.0__31bf3856ad364e35 \ PresentationFramework.dll: 无法找到或打开PDB文件。
答案 0 :(得分:0)
我认为你应该更多地了解你的用户环境(操作系统,正在运行的应用程序......),因为它可能只是将共享资源与其他应用程序一起使用