[Webkit-unassigned] [Bug 37859] DumpRenderTree should save a stack trace and/or dump file when it crashes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 17 07:43:28 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37859





--- Comment #3 from Adam Roben (aroben) <aroben at apple.com>  2010-08-17 07:43:29 PST ---
I think we could do this by setting cdb or ntsd as the postmortem debugger in run-webkit-tests. This command:

ntsd.exe -iaec "-lines -c \"!analyze -vv;~kpn"

causes ntsd to set itself as the postmortem debugger, and, when invoked, prints an analysis of the crash and the stack traces of all threads. We just need to figure out how to get it piped to a file.

If Debugging Tools for Windows is installed, we should use the version included in it, since it will likely be newer than the version in system32. Otherwise we can fall back to the system32 version.

We'd want to install Debugging Tools for Windows on the test bots, and set up _NT_SYMBOL_PATH to point to the Safari and Microsoft symbol servers.

We'd want to save/restore any existing postmortem debugger in run-webkit-tests before setting up ntsd.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list