Commit Graph

343 Commits

Author SHA1 Message Date
Chris Peterson
0eccc785ff Bug 1277106 - Part 1: Use VS2015's real char16_t instead of aliasing wchar_t. r=Waldo
and remove MOZ_CHAR16_IS_NOT_WCHAR #ifdefs.
2016-07-20 22:01:43 -07:00
Ting-Yu Chou
b3957781cb Bug 1267329 - part 2 - Record the memory information for the minidumps on Windows. r=ted 2016-06-30 08:59:02 +08:00
Kirk Steuber
2739fab23f Bug 1263774 - Include memory reports in content process crash reports. r=mccr8, r=aklotz
MozReview-Commit-ID: 7y3GFBZxjsS
2016-06-21 11:45:25 -07:00
Dylan Roeh
e643c94b11 Bug 1262536 - Report minidump success/failure in CrashReporter. r=snorp 2016-05-17 15:53:15 -05:00
Milan Sreckovic
f0d03b465f Bug 1250637: Allow child process crash annotation off main thread. r=aklotz
MozReview-Commit-ID: B1oq7KlZrff
2016-05-10 15:59:00 -04:00
Kyle Huey
a9cf047227 Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Ted Mielczarek
aa18b7bab2 bug 1264242 - Write memory info streams for Windows Minidumps of child processes. r=bsmedberg
MozReview-Commit-ID: COHFdNiJIqm
2016-04-13 08:05:46 -04:00
Cervantes Yu
f185bfcd3f Bug 1257486 - Annotate global memory status in the crash reporter for child process; r=bsmedberg
MozReview-Commit-ID: ExVZS3aAp41
2016-03-29 19:16:09 +08:00
Aaron Klotz
c8a0d9ab7b Bug 1256541: Fix incorrect generation of path for child process .extra files when content sandboxing is disabled; r=bsmedberg
MozReview-Commit-ID: JQgqlntQ6cu
2016-03-16 12:35:50 -06:00
Wes Kocher
090bbab1db 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
b568d00e85 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
2016-03-16 12:35:50 -06:00
Benjamin Smedberg
f5c327d5c6 Bug 1257209 - record uptime in crash metadata/pings, r=gfritzsche
MozReview-Commit-ID: 8MVRwALXvW5
2016-03-16 16:59:06 -04:00
Benjamin Smedberg
8bdab4404f Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H
2016-03-14 09:31:19 -04:00
Daniel Holbert
ca38f91a55 backout d85b18faba72 (bug 1187270) for build bustage. 2016-03-15 15:51:56 -07:00
Benjamin Smedberg
b97feb5d63 Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H
2016-03-14 09:31:19 -04:00
Masatoshi Kimura
4afc042f1e Bug 1254963 - Fix build error C2664 on MSVC 2015. r=aklotz 2016-03-11 07:25:33 +09:00
Sebastian Hengst
39bac05fe3 Backed out changeset c1dbec35e0c5 (bug 1254963) for bustage. r=bustage on a CLOSED TREE 2016-03-10 00:14:49 +01:00
Masatoshi Kimura
d97317e861 Bug 1254963 - Fix build error C2664 on MSVC 2015. r=aklotz 2016-03-10 07:45:49 +09:00
Aaron Klotz
558b250488 Bug 1236108: Add support for exception-context annotations for content processes to the crash reporter; r=bsmedberg
This patch redefines XP_PATH_MAX on Windows to be MAX_PATH + 1. I did this
because the longer definition would actually not work with most Windows APIs.
Some APIs can work with longer lengths if the path is prefixed with "\\?\", but
that is not guaranteed in general.

See https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath

MozReview-Commit-ID: LhT5oM5hlkl
2016-03-07 12:48:58 -08:00
Milan Sreckovic
9c79dd9bfa Bug 1240160: Add the TimeStamp based uptime value to crash reports, tagging it as UptimeTS, to differentiate from an existing Uptime value. A bit of additional code, avoiding the usage of C libraries to format some strings and a way to gtest these. r=BenWa,ted.mielczarek carrying ted.mielczarek review for the exception handler changes.
MozReview-Commit-ID: 12pRuD7agIG
2016-02-17 17:44:21 -05:00
James Willcox
722f3ce22e Bug 1245612 - Send texture usage bytes in crash reports r=bsmedberg 2016-02-08 09:18:52 -06:00
Nick Alexander
1b7c8245e3 Bug 1208605 - Try MOZ_ANDROID_PACKAGE_NAME env var before static ANDROID_PACKAGE_NAME. r=snorp 2015-09-25 14:47:50 -07:00
Birunthan Mohanathas
ac37dec517 Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Nicholas Nethercote
c90ef7de34 Bug 1186785 - Replace nsBaseHashtable::EnumerateRead() calls in toolkit/ with iterators. r=froydnj. 2015-10-19 15:46:46 -07:00
Michael Layzell
14ccbcba87 Bug 1183355 - Annotate crash reports triggered by MOZ_CRASH in release builds, r=froydnj 2015-10-08 10:01:08 -04:00
Nicholas Nethercote
e7068e5429 Bug 1209351 (part 6) - Optimize nsTHashTable::RemoveEntry() usage in toolkit/. r=froydnj. 2015-09-24 21:38:04 -07:00
Mike Hommey
9de7ac58a9 Bug 1189967 - Be slightly more explicit about some conversions to std::wstring. r=nfroyd 2015-08-23 22:20:19 +09:00
Juan Gomez
89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04: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
Botond Ballo
3c50c1e080 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-26 14:33:55 -04:00
Phil Ringnalda
4c7e666e55 Back out 3 changesets (bug 1119980) for emulator-l bustage
CLOSED TREE

Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
3602e7412d Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-25 20:45:17 -04:00
Benjamin Smedberg
8203340033 Bug 1121013 part A - unify the Windows and Linux codepaths which write the .extra file. Write out a whitelist of metadata into the crash event file. r=dmajor 2015-04-27 10:49:44 -04:00
Mike Hommey
4d93988786 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Kartikaya Gupta
ebe4a3e37e Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
David Major
0bb08704f6 Bug 1135543 - Part 3: Create events file format crash.main.2 which contains metadata; r=bsmedberg 2015-03-14 18:54:36 +13:00
Nicholas Nethercote
0247de46d8 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
David Major
659fe4fe48 Bug 1124892 (second attempt) - Increase Breakpad reserve size yet again. r=bsmedberg 2015-02-01 16:09:13 +13:00
David Major
6efea0ae69 Bug 1124892 - Adjust Breakpad reservation for xul.dll inflation. r=bsmedberg 2015-01-22 14:46:00 -05:00
James Willcox
ff21ddddca Bug 1110499 - Don't exit crash handler on Android until we've finished started the reporter r=ted,blassey 2014-12-15 12:13:12 -06:00
Jacek Caban
d25d6005a4 Bug 856566 - Fix crashreporter compilation and profiler on mingw. r=ted 2014-11-03 14:15:17 +01:00
Kyle Huey
5473f9417c Bug 820716: Disable MOZ_ASSERT(OOPInitialized()). no-review 2014-11-01 08:45:25 -07: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
Stephen Pohl
98e6551412 Bug 1077282: Cleanup uses of GreD vs GreBinD in our crashreporter, introcuded by v2 signature changes on OSX. r=bsmedberg 2014-10-10 15:07:01 -04:00
David Major
efd0ef72de Bug 844196 - Register a JitExceptionHandler for breakpad (r=bsmedberg) 2014-10-08 14:25:20 -05:00
Stephen Pohl
270318b6fa Mac v2 signing - Bug 1050944 - Get Firefox to launch and run on OSX with the new .app bundle structure, made necessary by Apple's v2 signatures. r=smichaud, r=ted, sr=bsmedberg 2014-09-29 11:51:04 -07:00