Commit Graph

343 Commits

Author SHA1 Message Date
Georg Fritzsche
e78e47072d Bug 788512 - Actually generate Flash process dumps instead of just collecting them if present. r=bsmedberg,ted 2012-09-26 22:49:20 +02:00
Ted Mielczarek
c088cadc32 bug 791775 - Replace a diff hunk that got lost from the previous landing. r=me 2012-09-25 08:42:57 -04:00
Ted Mielczarek
11c6a0a8d9 bug 791775 - Update to Breakpad SVN r1047. r=glandium 2012-09-25 07:52:54 -04:00
Georg Fritzsche
110578ead9 Bug 784145 - When submitting hang reports, submit the browser report as a field of the plugin report instead of as a completely separate report. r=ted 2012-09-08 19:20:59 +02:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Bill McCloskey
47ed330639 Bug 765065 - Annotation for crash reports: "Are we GCing?" (r=bsmedberg) 2012-08-15 10:47:51 -07:00
Ms2ger
c8ea20cf42 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jim Mathies
11cb00a593 Bug 741741 - Enable headless crash reporting for metrofx. r=ted 2012-07-27 08:06:38 -05:00
Ted Mielczarek
e9f1e4fca4 bug 761909 - crash reporter plumbing for gonk. r=bsmedberg 2012-07-16 19:50:52 -04:00
Benjamin Smedberg
1c15c99487 Bug 773665 - Don't crash during shutdown because XPCOM is already mostly-dead and refuses to create a local file, r=ted 2012-07-13 13:43:17 -04:00
Benjamin Smedberg
540dd8a6ee Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Brandon Cheng
87ce9226fa Bug 577221 - Create the proper registry keys before writing the SubmitCrashReporter value. r=ted 2012-07-10 18:31:03 -04:00
Ehsan Akhgari
6889342b1f Merge mozilla-central into moizilla-inbound 2012-07-03 11:14:18 -04:00
Benjamin Smedberg
464433c541 Bug 769048 part E - Core crashreporter support for injecting a crashreporter DLL into an arbitrary process and callbacks for notifications when that process has crashed, r=ehsan 2012-07-02 14:55:23 -04:00
Benjamin Smedberg
c5339fc327 Bug 769048 part B - unbust our in-tree exception handler initializer which became ambiguous because NULL could have been a wstring* or a HANDLE, r=ehsan 2012-07-02 14:48:57 -04:00
Rafael Ávila de Espíndola
c5005534a5 Bug 732173 - poison write during shutdown in a debug build. r=ted.
With this patch we now patch the write functions during shutdown in a debug
build and abort if a non white listed write is found.
2012-07-03 09:15:34 -04:00
Wolfgang Rosenauer
e089430f8e Bug 762780 - crashreporter restart command should support MOZ_APP_LAUNCHER. r=ted 2012-06-20 17:41:34 +02:00
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Tim Abraldes
87bb4b82ca bug 752756. Read UTF-16le and UTF-8 BOMs in nsINIParser on Windows. Add parameter to nsIINIParserWriter::writeFile() specifying the charset of the file (BOM will be written). r=bsmedberg 2012-05-23 10:09:10 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2b55dddfca Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar 2012-05-18 13:30:49 -04:00
Nicholas Cameron
1f72c0eb30 Bug 733892; block reverting to the null last chance expception handler. r=ehsan 2012-04-20 21:07:55 +12:00
Mark Capella
590ec2e743 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Justin Lebar
b23a54e7c8 Bug 720444 - Add amount of free physical memory and free space in the page file to Windows crash reports. r=ted 2012-01-25 15:05:05 -05:00
Ali Juma
05e511c6f2 Bug 717951 - Allow AppendAppNotesToCrashReport to be called from off the main thread in the chrome process. r=ted 2012-01-25 09:43:52 -05:00
Benjamin Smedberg
42b67a523b Bug 716638 - Annotate the size of a failed allocation due to OOM and submit it with the crash report, r=ted 2012-01-24 11:08:51 -05:00
Benjamin Smedberg
7e7fc52d04 Bug 429592 part A - allow AnnotateCrashReport to be called from off the main thread in the chrome process, r=ted 2011-10-06 16:33:21 -04:00
Felix Fung
d641598243 Bug 688083 - Plugin Crash: Sync Submit Report Checkbox With Pref Between Instances. r=dolske 2011-10-03 13:26:08 -07:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
7d613942b0 Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones 2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 22:50:08 -07:00
Josh Matthews
a96a1ea627 Bug 581341 - Part 6: Hack around an MSVC PGO bug. r=ted 2011-09-30 13:02:52 -04:00
Josh Matthews
7fddb2b9f3 Bug 581341 - Part 3: Install child process exception handler before activating breakpad. r=bsmedberg 2011-06-23 19:30:31 -04:00
Josh Matthews
7f346f3089 Bug 581341 - Part 2: Hook up CrashReporter functions to IPC. r=ted 2011-06-08 16:21:03 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Bill McCloskey
9432e5867b Bug 662646 - Add API to register memory for inclusion in crash reports (r=ted) 2011-07-07 17:31:01 -07:00
Matheus Kerschbaum
9014e25ac7 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
84cae55b65 Bug 587488 warning: CrashReporter::OOPDeinit() declared static but never defined [!IPC]
r=luser
2011-03-22 10:57:26 -04:00
Chris Leary
f33cfbf9a9 Merge mozilla-central and tracemonkey. (a=blockers) 2011-02-06 15:30:39 -08:00
Serge Gautherie
ac2b6524fa Bug 626169 - [Win2k3 SDK] "nsExceptionHandler.cpp(739) : error C2065: 'MiniDumpWithFullMemoryInfo' : undeclared identifier"; (Av1) Match existing |ifdef XP_WIN32|, Add |#if MOZ_WINSDK_TARGETVER >= MOZ_NTDDI_LONGHORN|.
r=ted.mielczarek a-2.0=benjamin.
2011-02-02 18:32:19 +01:00
Ted Mielczarek
144bdfcf2b Fix whitespace from bug 620974 2011-01-28 11:28:10 -05:00
Rafael Ávila de Espíndola
7117b29221 Bug 623122 - CurrentThreadId does not have a return for an unreachable exit path (missing return); r=ted a=bsmedberg 2011-01-21 14:12:21 -05:00
Ted Mielczarek
b7f5703735 bug 620974 - add memory mapping info to Windows minidumps when we have a new enough dbghelp.dll. r+a=bsmedberg 2011-01-12 14:13:52 -05:00
Ted Mielczarek
267d37e290 Backed out changeset cc4c72425f0e, bug 620974 - Add memory mapping info to Windows minidumps. r=timeless,bsmedberg, a=bsmedberg
Didn't fix the actual bug, new patch being landed.
2011-01-11 10:28:55 -05:00
Bill McCloskey
35dd060bfa Bug 630288 - Reduce stack usage of MiniDumpCallback (r=ted) 2011-02-02 10:22:32 -08:00
Benjamin Smedberg
719a02c718 Bug 624835 - Exception handler ignores ::DebugBreak exceptions when it really shouldn't, r=ted a=blocker 2011-01-11 17:01:22 -05:00
Ted Mielczarek
a8f5730536 bug 620974 - Add memory mapping info to Windows minidumps. r=timeless,bsmedberg, a=bsmedberg 2010-12-23 14:18:31 -05:00