如何阅读使用WinDbg谷歌浏览器崩溃转储(How to read a google chrome

2019-07-29 16:08发布

这里是我试图解决的问题。 我从谷歌浏览器崩溃转储。

  1. 我打开WinDbg中说文件 - >符号文件路径:“SRV * C:\代码\符号* HTTP://msdl.microsoft.com/download/symbols; SRV * C:\代码\符号* https://开头铬-browser-symsrv.commondatastorage.googleapis.com”我猜这看起来从让利给右侧的调试符号,并应最终从谷歌抓住他们呢。 我复制,从http://www.chromium.org/developers/how-tos/debugging 。

  2. 我拖放崩溃转储到WinDbg的

然后...

Microsoft (R) Windows Debugger Version 6.2.8400.0 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:\Users\cburgdorf\Desktop\Chrome-last.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: SRV*c:\code\symbols*http://msdl.microsoft.com/download/symbols;SRV*c:\code\symbols*https://chromium-browser-symsrv.commondatastorage.googleapis.com
Executable search path is: 
Windows 7 Version 7601 (Service Pack 1) MP (8 procs) Free x86 compatible
Product: WinNt, suite: SingleUserTS
Machine Name:
Debug session time: Wed May 16 16:25:24.000 2012 (UTC + 2:00)
System Uptime: not available
Process Uptime: 0 days 0:01:39.000
.........................................
This dump file has a breakpoint exception stored in it.
The stored exception information can be accessed via .ecxr.
eax=00000000 ebx=0038e1f8 ecx=00000001 edx=0012df58 esi=00000002 edi=0038e218
eip=776e013d esp=0038e1a8 ebp=0038e244 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00200246
ntdll!NtWaitForMultipleObjects+0x15:
776e013d 83c404          add     esp,4
0:000> .excr
           ^ Syntax error in '.excr'

你看,它说“存储的异常信息可以通过.ecxr访问”,但一旦我插入它告诉我,我有一个语法错误。

有谁知道我做错了吗?

Answer 1:

你有一个错字,这是.ecxr :)与此同时,另一个简单的方法来摆脱崩溃转储的信息,而不需要太多的WinDbg的福,就是:

.symfix; .reload
!analyze -v

如果这是一个.NET应用程序(Chromium不是只是额外信息),添加这三行

.loadby sos clr
!pe
~*e !clrstack


文章来源: How to read a google chrome crash dump with windbg