History log of /external/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
de9fe36b16a45972571b9d650633fe5cb156b536 03-Nov-2014 ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix Windows client compilation on mingw.
A=Jacek Caban <jacek@codeweavers.com>, R=ted at http://breakpad.appspot.com/548002/

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1399 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc
f1cb1b4882b1b6111b922902ea7cf19730777bd0 17-Jan-2014 cdn@chromium.org <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Refactor the Windows MinidumpGenerator interface to get rid of the overloads when generating dumps.
All required params are now passed to the constructor and the various options are set through new methods.

BUG=N/A
TEST=Existing minidump generation tests
R=mark@chromium.org

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

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1274 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc
a00e22daf1c3337026d3f9a2c5c3e2452f049b25 17-Dec-2013 thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix error r1258.

BUG=556
R=cdn@chromium.org, mark@chromium.org

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

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1262 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc
3bf449febe7042c1a93f262f32fa25bf310f1e66 12-Dec-2013 cdn@chromium.org <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Expose the ability to supply additional user streams in the windows dump generator.

BUG=N/A
R=mark@chromium.org

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

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1258 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc
5b952981263255ed110f2e7c58674b16965d5587 06-Jun-2013 cdn@chromium.org <cdn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> add interface for WriteMinidump which allows the caller to supply file handles instead of paths where the minidumps should be written.

BUG=N/A
TEST=N/A
R=ivan.penkov@gmail.com, mark@chromium.org

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

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1191 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc
6e44cece49f04b70bef2ea0325093f082837f044 17-Aug-2012 ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fixing a Windows compiler warning in src/client/windows/crash_generation/minidump_generator.cc

http://breakpad.appspot.com/432002/



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1014 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.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/minidump_generator.cc
1dbac5ca16482864abc4313f17ceb2d09f3a7e70 23-Jul-2012 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix a Windows compiler warning with a cast:

minidump_generator.cc(423) : warning C4267: '=' : conversion from 'size_t' to
'ULONG', possible loss of data

Patch by Robert Sesek <rsesek@chromium.org>
Review URL: https://breakpad.appspot.com/420002/


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@994 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.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/minidump_generator.cc
43cf13983a6f0ed145f3c9409bc237ab61efdfbb 03-Jul-2012 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Do not fail crash dump generation if handle operations tracing is not enabled
and yet the fatal exception was STATUS_INVALID_HANDLE.

BUG=131699

Patch by Alex Pakhunov <alexeypa@chromium.org>

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


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@980 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc
4e6d79c37e178237e434e736e090685a9615a673 03-Jul-2012 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Allow the minidump writer to collect handle data so that resulting dump contains
information about opened handles (!handle) and handle operations trace
(!htrace).

Depending on the dump type different amount of data is collected. For a full
dump all handles and complete handle trace are included to the dump. In the case
of a minidump the list of handle operations for a single handle value (the last
handle value that caused STATUS_INVALID_HANDLE exception) is recorded. In either
case the handle trace should be explicitly enabled by the client process (or by
a debugger) in order to produce any handle trace data.

BUG=131699

Patch by Alex Pakhunov <alexeypa@chromium.org>

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


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@979 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc
8cf0a52becf937650056dad55769a2d85d30f75d 12-May-2010 hansl@google.com <hansl@google.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Moved exception_handler_test to the more aptly named exception_handler_death_test. It doesn't test anything else than death and exit.
Created the exception_handler_test that test the generation of dump and the dumps themselves.
Moved all dump analysis code from minidump to its right class DumpAnalysis. The class is used by both minidump_test and exception_handler_test. The tests are way simpler that way (ie. no handling of HANDLE).
minidump_test now uses the minidump_generator class instead of using Win32. It works well and pass all tests.
exception_handler now passes both the exception and assertion infos to the client to generate the dump. If one is NULL it's going to be handled correctly.
crash_generation_client can now RequestDump with both exception and assertion info.
minidump_generator returns both the mini and full dump string pointers, and output both (or either) depending on which was generated.
All original interfaces and method signature are still there, but call the new functions if possible.

Review URL: http://codereview.chromium.org/1994015

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@596 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc
bb067bf185feec9b5c5f4e88c92a15b91ee2563e 10-Oct-2008 nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix warning when converting int to bool



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@288 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc
a509f4ec4b404f3eb8edb8640f5a94fe9def89fe 16-Sep-2008 mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> Generate Windows full memory dumps as a separate file. Patch by Huan Ren
<huanr@google.com>. r=me


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@285 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc
f6b3e16ef8a5e6d6014f216dc1f130dd29fc8d2a 31-May-2008 doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> Set the dump thread id and the requesting thread id properties of MDRawBreakpadInfo
only in case of in-process dump generation; otherwise the dump processing code of
breakpad doesn't identify the crashing thread properly.

I am checking this in to-be-reviewed since it is needed urgently in one of the
products at Google.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@276 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc
9033edcd7bab5a25c748dd1979f51853bbe06f87 17-Apr-2008 doshimun <doshimun@4c0a9323-5329-0410-9bdc-e9ce6186880e> Add one more parameter to the ClientDumpRequestCallback in crash generation server
to pass in the path of the dump file if the dump was generated successfully.



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@262 4c0a9323-5329-0410-9bdc-e9ce6186880e
/external/google-breakpad/src/client/windows/crash_generation/minidump_generator.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/minidump_generator.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/minidump_generator.cc