Commit Graph

62 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Jim Mathies
86288bee44 Bug 1160142 - Updates for exception handler apis to allow the pairing of a passed in minidump. r=ted 2015-06-11 12:25:45 -05:00
Jim Mathies
9765a544ad Bug 1153205 - ContentParent should annotate crash reports prior to calling GeneratePairedMinidump. r=ted 2015-06-11 12:25:45 -05:00
Steven Michaud
83cc34e3bf Bug 1088938 - Allow annotations set using CrashReporter::AnnotateCrashReport() to be removed subsequently. r=ted 2014-10-28 11:08:46 -05:00
David Major
a30f7df896 Bug 1007534 - Part 1: Add a saveMemoryReport method to nsICrashReporter. r=froydnj 2014-08-30 17:21:09 +12:00
Benjamin Smedberg
ec5514aa71 Bug 1039577 - CrashReporter::OOPInit should be multithread-safe, r=ted 2014-07-18 13:31:45 -04:00
Benjamin Smedberg
a9aaedd1c3 Bug 1004623 - UpdateCrashEventsDir() is called before XPCOM is started, which means crash events are not being recorded until/unless the user uses an out-of-process plugin. r=ted 2014-05-06 15:48:40 -04:00
Gregory Szorc
4474708573 Bug 875562 - Part 8: Write crash events for main process crashes; r=bsmedberg
This patch makes the crash reporter crash event directory aware and
writes main process crash event files at crash time.
2014-02-18 15:58:03 -08:00
Aaron Klotz
c0f724e6c0 Bug 852117: Add event loop nesting level API to crash reporter; r=ted 2014-02-13 10:51:09 -07:00
Jed Davis
83d6ea6474 Bug 945498 - Use breakpad to report seccomp violations as crashes. r=ted, r=kang
Upstream issue for breakpad patch: https://breakpad.appspot.com/1114003/
2014-02-05 13:29:51 -05:00
Benjamin Smedberg
1246de99b0 Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj 2013-11-25 15:06:17 -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
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
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
0ad407b19a Bug 918926 - Minimize the crashreporter #includes; r=ted 2013-09-21 23:04:10 -04: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
Mike Hommey
ba055f6a8a Bug 855822 - Remove Add/RemoveLibraryMappingForChild. r=ted 2013-03-30 10:32:10 +01: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
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
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
Ted Mielczarek
e9f1e4fca4 bug 761909 - crash reporter plumbing for gonk. r=bsmedberg 2012-07-16 19:50:52 -04:00
Joshua Cranmer
a9921e1d15 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan 2012-07-06 15:14:07 -05: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
Justin Wood
530ae73640 Backed out Bug 771251 -- changeset 95c9bc0e63f7 due to red. 2012-07-10 22:50:33 -04:00
Benjamin Smedberg
4346cbf347 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
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
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
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
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
Ted Mielczarek
7b416cd516 bug 605832 - Remote AddLibraryMapping from the child process, and use the results for child process minidump generation. r=cjones a=blocking-fennec 2010-11-24 09:15:03 -05:00
Ted Mielczarek
d843b2dcce bug 603592 - Add an API for the Android embedding to use to provide info about shared libraries mapped into anonymous mappings. r=mwu a=blocking-fennec 2010-10-19 15:05:47 -04:00
Ted Mielczarek
e1db9e0ca0 bug 587747 - Implement writing of minidumps from hang detection on OS X. r=cjones a=blocking 2010-08-27 09:32:45 -04:00
Ted Mielczarek
56bd78cc30 bug 559228 - Implement multi-process crash reporting on Mac. r=bsmedberg a=blocking 2010-08-16 15:05:09 -04:00
Chris Jones
14b0b89474 Bug 557011: Ensure OOP crashreporter has been initialized on mac. r=bsmedberg 2010-04-12 15:47:47 -05:00
Chris Jones
15ef348e90 Bug 555309, part 1: Add a CrashReporter::CurrentThreadId interface. r=bsmedberg 2010-03-30 19:24:45 -05:00
Chris Jones
4e3eb56206 Bug 544936, part 4: Move some common code for dealing with minidumps and .extra files into nsExceptionHandler. r=ted 2010-03-24 16:22:01 -05:00
Chris Jones
5e4efa5402 Bug 544936, part 3: Add a CrashReporter API to create a child/parent minidump pair with its own GUID. r=ted 2010-03-24 16:22:00 -05:00
Chris Jones
43838bad72 Backed out changeset bda8efa53512 2010-03-18 21:01:10 -05:00
Chris Jones
cd57df6d13 Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted 2010-03-18 17:52:38 -05:00
Chris Jones
8c04dce765 Bug 551392: Remove subprocess minidumps after they're grabbed to avoid spurious crash detection. r=ted 2010-03-18 17:52:36 -05:00
Justin Dolske
e7aaa34e46 Bug 540532 - allow setting report submission preference via XPCOM. r=gavin, r=ted 2010-02-09 17:05:31 -08:00
Chris Jones
c949e68be1 bug 539552 - keep track of child process minidumps, offer pid based lookup API, write out .extra data in child minidump callback. r=ted,bsmedberg 2010-01-14 17:38:00 -05:00
Benjamin Smedberg
f3451af0e6 Followup to bug 516759 (multi-process crash reporting), make childCrashNotificationPipe a leaked char* instead of a leaked nsString, so that it doesn't show up in leakstats. r=ted (Filed bug 539451 as a followup.) 2010-01-13 10:44:10 -05:00
Chris Jones
65721e4fc8 Bug 516759: Use OOP crash reporting in Gecko. r=luser 2010-01-12 15:14:38 -06:00
Ted Mielczarek
15ffcfbf2c bug 484033 - extend nsICrashReporter to allow crashreporter to be used without going through XRE_Main. r=bsmedberg 2009-04-02 11:41:12 -04:00