Kirk Steuber
5b3eba1f2b
Bug 1263774 - Include memory reports in content process crash reports. r=mccr8, r=aklotz
...
MozReview-Commit-ID: 7y3GFBZxjsS
--HG--
extra : rebase_source : 9d5aaaa6caad336c85c42002df321b382c90c8a9
2016-06-21 11:45:25 -07:00
Aaron Klotz
0367a22494
Bug 1256541: Fix incorrect generation of path for child process .extra files when content sandboxing is disabled; r=bsmedberg
...
MozReview-Commit-ID: JQgqlntQ6cu
--HG--
extra : rebase_source : a1538a2430ff1960cd2a10d646b37cfdd56986df
2016-03-16 12:35:50 -06:00
Wes Kocher
6eae4e772d
Backed out changeset 0827e0e5d9d4 (bug 1256541) for timeouts and crashes in browser_CTP_crashreporting.js
...
MozReview-Commit-ID: 704JC6wknXc
2016-03-24 13:04:48 -07:00
Aaron Klotz
e84e757350
Bug 1256541: Fix incorrect generation of path for child process .extra files when content sandboxing is disabled; r=bsmedberg
...
Since the minidump path can be overridden programmatically in the chrome
process, using that path as the base for .extra files won't work since content
is unaware of it.
This patch changes everything to use the temp path when MOZ_CONTENT_SANDBOX is
not defined or when sandboxing is disabled via pref. It also moves the derivation
of the content temp path out of exception context on Windows and Mac, as I
found out that those functions touch the heap.
I also noticed that xpcshell is not sandbox-aware when utilized as a parent
process. I've filed bug 1257098 to take care of that, but this patch includes a
hack for the immediate term.
MozReview-Commit-ID: 3SIB5Nihqxh
--HG--
extra : rebase_source : f4f83c4474f12ececa34e9dda68fc19abc56a899
2016-03-16 12:35:50 -06:00
Benjamin Smedberg
702c087507
Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
...
MozReview-Commit-ID: GwVI0dfsT4H
--HG--
extra : rebase_source : 0ae9efbce919efcd0f20314bd89848da017b7e57
2016-03-14 09:31:19 -04:00
Daniel Holbert
58e5e16c44
backout d85b18faba72 (bug 1187270) for build bustage.
2016-03-15 15:51:56 -07:00
Benjamin Smedberg
42e1362b4d
Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
...
MozReview-Commit-ID: GwVI0dfsT4H
--HG--
extra : rebase_source : fae01778b3afbe6ca9dfcf774cead01eeac50445
extra : histedit_source : 98c0c070effca99711e35b4b4c3124a9fbdba089
2016-03-14 09:31:19 -04:00
James Willcox
34358e8ff5
Bug 1245612 - Send texture usage bytes in crash reports r=bsmedberg
2016-02-08 09:18:52 -06:00
Michael Layzell
e4681ea6a5
Bug 1183355 - Annotate crash reports triggered by MOZ_CRASH in release builds, r=froydnj
2015-10-08 10:01:08 -04:00
Birunthan Mohanathas
a8939590de
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
7158e1e557
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
78e87e72ef
Bug 1153205 - ContentParent should annotate crash reports prior to calling GeneratePairedMinidump. r=ted
2015-06-11 12:25:45 -05:00
Steven Michaud
574535f470
Bug 1088938 - Allow annotations set using CrashReporter::AnnotateCrashReport() to be removed subsequently. r=ted
2014-10-28 11:08:46 -05:00
David Major
9cb7f94c04
Bug 1007534 - Part 1: Add a saveMemoryReport method to nsICrashReporter. r=froydnj
2014-08-30 17:21:09 +12:00
Benjamin Smedberg
09c4a643b3
Bug 1039577 - CrashReporter::OOPInit should be multithread-safe, r=ted
2014-07-18 13:31:45 -04:00
Benjamin Smedberg
a8afb9f481
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
...
--HG--
extra : rebase_source : da13e7c52556c4747914ae502847beb6cc653c46
2014-05-06 15:48:40 -04:00
Gregory Szorc
a0a4ade497
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.
--HG--
extra : rebase_source : 1d6a817ae401230b3fe8fcd236468ceb3e309a10
2014-02-18 15:58:03 -08:00
Aaron Klotz
7c448581d3
Bug 852117: Add event loop nesting level API to crash reporter; r=ted
...
--HG--
extra : rebase_source : a7a487371b3bf3d881d245518bc9e0bc11ffb49d
2014-02-13 10:51:09 -07:00
Jed Davis
9af16a662a
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
9950de3641
Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj
...
--HG--
extra : rebase_source : f84278dfbba92c6d75458b525a559b6f8598500f
2013-11-25 15:06:17 -05:00
David Major
4a637bff20
Bug 932100 - Part 2: Move DLL blocklist code to mozglue. r=bsmedberg, r=glandium
...
--HG--
rename : toolkit/xre/nsWindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
2013-11-12 08:31:32 -05:00
Benjamin Smedberg
b5399b893f
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
...
--HG--
extra : rebase_source : 5cbff13357fe96c5a86b5511a58b69176aa71817
2013-10-18 14:24:50 -04:00
Birunthan Mohanathas
d0cf2be39f
Bug 784739 - Switch from NULL to nullptr in toolkit/crashreporter/; r=ehsan
2013-10-10 16:39:09 -04:00
Ehsan Akhgari
4eeac9eae5
Bug 918926 - Minimize the crashreporter #includes; r=ted
2013-09-21 23:04:10 -04:00
Mike Hommey
ff171032e1
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
dee5b120df
Bug 855822 - Remove Add/RemoveLibraryMappingForChild. r=ted
2013-03-30 10:32:10 +01:00
Georg Fritzsche
43830af254
Bug 788512 - Actually generate Flash process dumps instead of just collecting them if present. r=bsmedberg,ted
...
--HG--
extra : rebase_source : 3f418dfb63cd1d7f8830be548734d3b1cdca52e9
2012-09-26 22:49:20 +02:00
Georg Fritzsche
caeb23b288
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
e368dc9c85
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
579bf0d087
Bug 765065 - Annotation for crash reports: "Are we GCing?" (r=bsmedberg)
2012-08-15 10:47:51 -07:00
Ted Mielczarek
e865ee4b36
bug 761909 - crash reporter plumbing for gonk. r=bsmedberg
2012-07-16 19:50:52 -04:00
Joshua Cranmer
a1186c1020
Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
...
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Benjamin Smedberg
b341414c8f
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
8c0081b486
Backed out Bug 771251 -- changeset 95c9bc0e63f7 due to red.
2012-07-10 22:50:33 -04:00
Benjamin Smedberg
a1ac513b61
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
e7513f945a
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
...
--HG--
extra : rebase_source : eec98ad1d72106a34dfcd0764d85092a0725565c
2012-07-02 14:55:23 -04:00
Geoff Lankow
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ali Juma
68cc9e12bb
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
a8f9aab7bc
Bug 429592 part A - allow AnnotateCrashReport to be called from off the main thread in the chrome process, r=ted
...
--HG--
extra : rebase_source : b2aa9c90368ec702d6c8eaa295cbdd45f2596e6e
2011-10-06 16:33:21 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Bill McCloskey
feabc1b293
Bug 662646 - Add API to register memory for inclusion in crash reports (r=ted)
2011-07-07 17:31:01 -07:00
Matheus Kerschbaum
4eb6429f47
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Ted Mielczarek
99d03e6dc7
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
7c96c0ef20
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
f4b8a00e3c
bug 587747 - Implement writing of minidumps from hang detection on OS X. r=cjones a=blocking
...
--HG--
extra : rebase_source : fef081b5b0fae828ecc0c2678d83787778dfc70d
2010-08-27 09:32:45 -04:00
Ted Mielczarek
3f7bf2f258
bug 559228 - Implement multi-process crash reporting on Mac. r=bsmedberg a=blocking
...
--HG--
extra : rebase_source : 83e8073a3c8e47f8fec39b123221f80db89941e7
2010-08-16 15:05:09 -04:00
Chris Jones
5dfd6a235c
Bug 557011: Ensure OOP crashreporter has been initialized on mac. r=bsmedberg
2010-04-12 15:47:47 -05:00
Chris Jones
40e74c43d6
Bug 555309, part 1: Add a CrashReporter::CurrentThreadId interface. r=bsmedberg
2010-03-30 19:24:45 -05:00
Chris Jones
b9728f5cea
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