Commit Graph

274 Commits

Author SHA1 Message Date
David Major
e54f95a5bf Bug 958348 - Allow swapping the current and previous exception filters. r=dmajor 2014-01-29 17:07:35 -05:00
Art Rothstein
5c9ef91085 Bug 791784 - Add serialization to avoid a thread race when a plug-in crashes during Firefox shutdown. r=ted, r=bsmedberg 2014-01-15 10:03:14 -05:00
Ryan VanderMeulen
a7e51ed33a Backed out changeset e50da0289f45 (bug 791784) for Mutex leaks. 2014-01-13 10:25:24 -05:00
Art Rothstein
c72bb814cb Bug 791784 - Add serialization to avoid a thread race when a plug-in crashes during Firefox shutdown. r=ted 2014-01-13 09:19:04 -05:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Birunthan Mohanathas
88a0348924 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo 2013-12-08 21:52:54 -05:00
Benjamin Smedberg
8189de3570 Bug 946799 part A - annotate the location and size of the breakpad memory reservation, r=ted 2013-12-06 09:00:06 -05:00
Jacek Caban
1f4025e98c Bug 944913 - toolkit/crashreporter part r=ehsan 2013-12-05 10:52:54 +01:00
Jacek Caban
39a024ea15 Bug 944913 - Partial revert of a41081c1026c due to build bustage. 2013-12-03 16:35:11 +01:00
Jacek Caban
1ff8afb08c Bug 944913 - Fixed char16_t/wchar_t mismatch in tollkit/. r=ehsan 2013-12-03 16:07:22 +01:00
Andrew Halberstadt
34ce477ba3 Bug 866937 - Enable crashreporter by default on debug gonk builds, r=ted 2013-11-29 11:15:39 -05:00
David Major
5cee85aaf1 Bug 943051 - Fix VirtualAlloc and VirtualFree flags for gBreakpadReservedVM. r=bsmedberg 2013-11-26 13:22:01 -05:00
David Major
f3ff22e118 Bug 932100 - Part 2: Move DLL blocklist code to mozglue. r=bsmedberg, r=glandium 2013-11-12 08:31:32 -05:00
Jonas Finnemann Jensen
cf099c0754 Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer. r=BenWa 2013-11-05 07:45:20 -05:00
Benjamin Smedberg
d7ad4de553 Bug 927944 - Annotate crash reports with a list of DLLs that were blocked via the windows blocklist. Also fix the blocklist to recognize forward-slash as a path delimiter, r=ehsan 2013-10-18 14:24:50 -04:00
Daniel Holbert
af38cb5a3f Bug 913548 part 2: Replace unused variable "ignored" with unused<< in nsExceptionHandler.cpp, and add a few other unused<< for consistency. r=ted 2013-10-16 16:46:22 -07:00
Daniel Holbert
c5d2456484 Bug 913548 part 1: Switch nsExceptionHandler.cpp from (void) to unused<<. r=ted 2013-10-16 16:46:14 -07:00
Birunthan Mohanathas
4b28016da2 Bug 784739 - Switch from NULL to nullptr in toolkit/crashreporter/; r=ehsan 2013-10-10 16:39:09 -04:00
Ehsan Akhgari
9ad38c5057 Bug 919505 - Minimize the #includes in dom/ipc; r=jst 2013-09-23 17:30:40 -04:00
Ehsan Akhgari
0ad407b19a Bug 918926 - Minimize the crashreporter #includes; r=ted 2013-09-21 23:04:10 -04:00
Robert O'Callahan
51222bdd45 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
Boris Zbarsky
be34665721 Bug 911771. Remove uses of MOZ_DEBUG in .cpp files, since there is no such thing there. Use DEBUG instead. r=glandium 2013-09-04 16:43:12 -04:00
Mike Hommey
4046824780 Bug 717538 - Enable crash reporter in application.ini with MOZ_CRASHREPORTER instead of MOZILLA_OFFICIAL. r=ted 2013-08-30 11:10:57 +09:00
Jim Mathies
41dd671be9 Bug 853857 - Check the result of CrashReporter::CheckForLastRunCrash. r=ted 2013-06-21 04:11:43 -05:00
Benjamin Smedberg
d2235c6eba Bug 837835 - Reserve VM space at startup and free it when a crash happens, in the hope that writing a minidump will then succeed. r=ted 2013-04-13 09:10:28 -04:00
Brian Nicholson
9b97a1e4d0 Bug 856163 - Part 2: Move preprocessed code to AppConstants. r=kats,mfinkle,rnewman 2013-04-09 17:10:47 -07:00
Mike Hommey
c7e996a58a Bug 855823 - Rely on breakpad finding file ids itself instead of relying on AddLibraryMapping caller to provide them. r=ted 2013-04-09 14:04:53 +02:00
Jacek Caban
40a7a6afd2 Bug 856566 - Fixed crashreporter compilation and profiler on mingw. r=ted 2013-04-05 11:29:50 +02:00
Mike Hommey
ba055f6a8a Bug 855822 - Remove Add/RemoveLibraryMappingForChild. r=ted 2013-03-30 10:32:10 +01:00
Benjamin Smedberg
df80525656 Bug 623462 - Add an environment variable to save a full dump, not just a minidump, r=ted 2013-02-26 14:03:26 -05:00
Kartikaya Gupta
754bf58ed0 Bug 811763 - Ensure crash reporter is invoked with the right android user serial number in Android 4.2 and above. r=blassey, snorp 2012-11-15 14:56:22 -08:00
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