History log of /external/google-breakpad/src/client/windows/crash_generation/client_info.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6afe338f2355bf1bbe4b8f869aeb16b093ae2ab2 15-Oct-2014 ivanpe@chromium.org <ivanpe@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> The process uptime computation when the Windows out-of-process Crash Generation
Server is used is done by subtracting the crashing process creation time from
the current time when the crash is generated:

uptime = now - process_creation_time

There was a bug and instead of the process creation time the code was using the
time when the process was registered with the Crash Generation Server.

R=mark@chromium.org

Review URL: https://breakpad.appspot.com/1744002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1391 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
c20745c254b0934520c5c45de9fdf0c4cbce54fd 20-May-2013 ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Submitting this on behalf of Xiaoling Bao.

Make custom info population before dump generation as an optional operation. This is part of a security change to move the crash generation and upload out of Google updater process.
Review URL: https://breakpad.appspot.com/586003

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1186 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
55cc396a9f783213f6033a6f4e12d56d47af40a5 16-Aug-2012 ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fixing a race condition in the Crash Generation Server which has to
do with simultaneous handling of dump requests and client process
termination events.

http://breakpad.appspot.com/430002/



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1013 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
e225039f41ab8670072410f2e6d674b28e88c140 25-Jul-2012 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Speculatively back out r984. See http://codereview.chromium.org/10805065/
and
http://build.chromium.org/p/chromium/builders/NACL%20Tests%20%28x64%29/builds/34563

chrome src/native_client/tests/inbrowser_crash_test/crash_dump_tester.py says
that the observed failures are a symptom of crash_service.exe itself crashing.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@999 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
08c5838aa96f7d8246ebb1883d0aec959ac38487 10-Jul-2012 cdn@chromium.org <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add the capability to include an arbitrary data stream within minidumps
This is supplied via a custom field "custom-data-stream"
Review URL: https://breakpad.appspot.com/408002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@984 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
14ec03a395dc6b0c9784e0e86ff4574cbe3d3795 17-Apr-2012 cdn@chromium.org <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Set limit on the number of custom client info entries that can be sent with a crash dump.

BUG=123709
TEST=N/A
Review URL: https://breakpad.appspot.com/377004

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@953 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
eb991531e31b7c001200cf23ce07efc5a32b41ae 14-Apr-2012 cdn@chromium.org <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Expose a callback to allow crash server implementations to defer the uploading of crash dumps to a later time. The client can provide a crash_id when the dump is performed and then at a later time connect again and request that the crash id be uploaded triggering an implementation defined callback.

BUG=473
TEST=CrashGenerationServerTest.*
Review URL: https://breakpad.appspot.com/379001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@952 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
664e4d769163108ebdcff580c214b978579ce5a3 28-Nov-2011 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Speculative back-out of r883, which may have broken Windows crash reporting.


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@891 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
27e54b4c6a9f273a274ee10f62d88b870792e3fe 11-Nov-2011 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Allow CrashGenerationClient to request that a dump of the parent process be written.
A=Jim Mathies <jmathies@mozilla.com> R=ted at https://bugzilla.mozilla.org/show_bug.cgi?id=679238

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@883 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
b0059c54da965f60e06d6f5d8d3ac32c014fad91 19-May-2010 ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> Issue 384 - UnregisterWait error handling is incorrect. Patch by Benjamin Smedberg <benjamin@smedbergs.us>, r=doshimun at http://breakpad.appspot.com/107001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@603 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
2d7664e8d477816e0641e822752f63982c1be74f 10-Jun-2008 doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> In the destructor of ClientInfo, currently the wait on the clent_crashed_event is
unregistered after the handle is closed. MSDN clearly says that the behavior is
undefined in this case. See http://msdn.microsoft.com/en-us/library/ms685061(VS.85).aspx

This change contains the fix for that bug. See attched diff.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@281 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
3a516e41775099eb27533e7d2b3178c5f353a3a8 06-Jun-2008 doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> Client process uptime is a very useful metric for crashes. Instead of each client process having to keep track of uptime and report it whenever a crash happens, integrate this feature into breakpad OOP code so that all clients get it for free.

I tested this using the test app I have to test OOP stuff.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@280 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
72bafd378d836d9a1fe81a1f26c91d51b2a7892b 15-May-2008 doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> Microsoft broke PROCESS_ALL_ACCESS when we build with WINVER=0x600. See http://nsylvain.blogspot.com/2008/01/winverwin32winnt-mayhem.html for
details (second half of the post).

Changing PROCESS_ALL_ACCESS to GENERIC_ALL in ClientInfo class when
opening the client process handle on the OOP server side.

A minor change to pipe name in the test app also.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@274 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
7ab126ecdd5237ccd566f415cc560b39f87e8a0f 08-May-2008 doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> Replace the user of wcscpy_s with safe_wcscpy in common/windows/string_utils-inl.h to
make the code compatible for teams that still use VS 2003 to build.

Fix a bug in client ClientInfo class that returned CustomClientInfo struct containing
a pointer in the client process address space instead of pointer to in-process data
structure.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@271 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
8602aa71ecba32d26985bdbbddc8e618ca203ff9 07-May-2008 doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> Some style guide compliance changes and changed the prototype of the method to get custom client info in ClientInfo class.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@270 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
0ded3d718f4b090d106014bb0ea9dbb7af4e1d81 05-May-2008 doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add a way for the client apps to specify custom information in case of out-of-process
scenarios that the OOP server can use in whatever way it wants to.

Fix a bug in CrashGenerationserver where CreateNamedPipe failure was not checked correctly.

TODO in near future: Add a custom stream to minidump files for the custom information.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@267 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
eeca9921c563d802cccc5593bf55dcb7683e7250 07-Apr-2008 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix newlines (#253). rs=ted.mielczarek

http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/7e62a299ce3fa222


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@255 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc
c79141e306dc44eff2d3646ddc153b7dfc128d21 08-Mar-2008 doshimun@gmail.com <doshimun@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Overview:
Implement out-of-process dump generation for Windows platform.

Details:
- Created a lib, crash_generation.lib, that implements the out-of-process dump generation protocol.
- The lib code is under client/windows/crash_generation folder and is organized in the following way:
- CrashGenerationServer class (crash_generation_server.h/.cc) implements the server side of
the protocol.
- CrashGenerationClient class (crash_generation_client.h/.cc) implements the client side of
the protocol.
- MinidumpGenerator class (minidump_generator.h/.cc) serves as an abstractino for generating
dump files using Windows APIs, coming up with new file names by creating GUIDs, etc.
- ProtocolMessage class (ipc_protocol.h) represents the message format between the client and server
for pipe IPC.
- Server allows one client at a time on the pipe in the current implementation.
- ReadMe.txt explains the state machine the server uses to serve clients.
- ExceptionHandler is modified and a new constructor is added that allows specifying the pipe name. If the
pipe name is NULL, the behavior is backward compatible - in-process dump generation is done as before. If
the pipe name is specified, out-of-process dump generation registration is attempted. If that fails, the
behavior is again backward compatible.
- If out-of-process registration succeeds, all write dump requests, direct or indirect, are directed to
crash server process that served the registration request. NOTE that the explicit dump requests made by
calling the static method of ExceptionHandler are not directed to theserver.
- client/windows/tests/crash_generation_app implements a simple Win32 GUI application to help test the
out-of-process dump generation client and server. Typical use of the app is to start one instance, click
Server --> Start and then start the other instance. The other instance will register with the first
instance automatically at start-up. Then the second instance can be used to request various typoes of
dump requests by using options under the Client menu.




git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@244 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/client_info.cc