Commit Graph

1069 Commits

Author SHA1 Message Date
Vincent Povirk
11f98b1551 Run 2to3 on source tree. 2019-09-06 15:43:04 +02:00
Ted Mielczarek
0ee2bee94f Bug 1264242 - Write memory info streams for Windows Minidumps of child processes. r=bsmedberg, a=ritu
MozReview-Commit-ID: COHFdNiJIqm
2016-04-13 08:05:46 -04:00
Cervantes Yu
5b2da66acb Bug 1257486 - Annotate global memory status in the crash reporter for child process; r=bsmedberg, a=ritu
MozReview-Commit-ID: ExVZS3aAp41
2016-03-29 19:16:09 +08:00
Aaron Klotz
920cf5f82c Bug 1256541: Fix incorrect generation of path for child process .extra files when content sandboxing is disabled; r=bsmedberg, a=lizzard
MozReview-Commit-ID: JQgqlntQ6cu
2016-03-16 12:35:50 -06:00
Aaron Klotz
6a3b9aff95 Bug 1236108: Backout 34a219cbd67d; r=backout a=lizzard
MozReview-Commit-ID: EEYLmdZrZmN
2016-03-28 12:41:48 -06:00
Benjamin Smedberg
16a6aff750 Bug 1257209 - record uptime in crash metadata/pings, r=gfritzsche a=ritu CLOSED TREE
MozReview-Commit-ID: 8MVRwALXvW5
2016-03-16 16:59:06 -04:00
Benjamin Smedberg
eb266fd5f1 Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche a=ritu
MozReview-Commit-ID: GwVI0dfsT4H
2016-03-14 09:31:19 -04:00
Ryan VanderMeulen
8ef0386053 Backed out changesets d59774690fc8, 26e323cbbfc0, and 1864afbb3bd4 (bug 1236108) for test_content_exception_time_annotation.js failures. 2016-03-13 21:02:58 -04:00
Aaron Klotz
f1bc95aa31 Bug 1236108 - Add support for exception-context annotations for content processes to the crash reporter. r=bsmedberg, a=lizzard
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
Mike de Boer
5d17ca0675 Bug 1241930: Part 6 - convert all assertion methods used inside content tasks to the Assert.* family in toolkit tests. r=mconley 2016-03-04 14:32:34 +01:00
James Willcox
971791b2bb Bug 1247399 - Put r7 in clobber registers for breakpad's sys_clone() r=glandium 2016-02-26 14:50:39 -06:00
Jeffrey Tran
b62fba67b8 Bug 637238 - Uncheck rich text option in MainMenu.nib. r=ted 2016-02-22 09:21:15 -08:00
Milan Sreckovic
718c1f90fb 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
Birunthan Mohanathas
97fa807eb0 Bug 1236343 - Cherry-pick upstream Breakpad commit "Try loading msdiaNNN.dll if CoCreateInstance(CLSID_DiaSource) fails". r=ted
1e24e66fbb

DONTBUILD because we don't build pdb_source_line_writer.cc yet.
2016-02-17 11:36:19 -05:00
James Willcox
b66db23e34 Bug 1247978 - Ensure minidump header gets written during crash dump on Linux r=ted 2016-02-16 10:16:57 -06:00
James Willcox
d2c9b45171 Bug 1247399 - Add some debug spew to Linux crash handler r=ted 2016-02-16 10:16:57 -06:00
Mike Hommey
2412e7fe93 Followup for bug 1069556: Remove what was removed in bug 1245055. r=me 2016-02-10 10:16:07 +09:00
Blake Kaplan
c1a453289a Bug 1245723 - Make crashreporter browser-chrome tests e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
James Willcox
7a9c161c34 Bug 1245612 - Send texture usage bytes in crash reports r=bsmedberg 2016-02-08 09:18:52 -06:00
Ted Mielczarek
17dc55c851 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium, benwa
This commit contains a few things:
* Update our copy of google-breakpad to upstream c53ed143108948eb7e2d7ee77dc8c0d92050ce7c
* Get rid of all but one local patch, fold a few related local patches into one
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux
2016-01-27 09:39:53 -05:00
Ted Mielczarek
a715475db7 bug 1069556 - change update-breakpad.sh to work with Breakpad's git repo (NPOTB) 2015-10-23 15:25:30 -04:00
Dave Townsend
71be6979b2 Bug 1245649: Turn on use-isnan, no-unexpected-multiline, no-octal and no-self-compare. r=MattN 2016-02-03 18:21:30 -08:00
Dave Townsend
4dd6b34d65 Bug 1245649: Turn on no-extra-semi. r=markh 2016-02-03 17:27:36 -08:00
Dave Townsend
309dc8a792 Bug 1245649: Turn on linebreak-style. r=Gijs 2016-02-03 17:04:56 -08:00
Dave Townsend
dd99c04a73 Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe 2016-02-03 13:12:18 -08:00
Mike Hommey
a01e44dc89 Bug 1245055 - Remove toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in. r=mshal
The remains in this file come from bug 633436. I'm not sure what the
toolchain was back then (5 years ago), but it doesn't appear what it
was trying to work around happens nowadays, so just get rid of the
workaround.
2016-02-03 08:41:26 +09:00
Blake Kaplan
2406442dad Bug 1243928 - Make these tests work in e10s. r=felipe 2016-02-02 13:44:11 -08:00
James Willcox
f98826f89f Bug 1142944 - Don't use PTRACE_GETFPREGS when getting crash trace on Android/ARM r=ted 2016-01-26 11:49:59 -06:00
Carsten "Tomcat" Book
7e49d89c3e Backed out changeset 0e628eff02f5 (bug 1069556) for multiple test failures after landing on a CLOSED TREE 2016-01-26 14:53:45 +01:00
Carsten "Tomcat" Book
6e37335f30 Backed out changeset 09fd4f3ab6e7 (bug 1069556) 2016-01-26 14:53:06 +01:00
Carsten "Tomcat" Book
fa82dc1b72 Backed out changeset 31c98f5e107b (bug 1069556) 2016-01-26 14:53:02 +01:00
Carsten "Tomcat" Book
4da159aed8 Backed out changeset 168001ae11e4 (bug 1069556) 2016-01-26 14:53:00 +01:00
Ted Mielczarek
f97b4ab78b Fix dep build bustage from bug 1069556. r=bustage CLOSED TREE HOSED TREE 2016-01-26 06:25:27 -05:00
Ted Mielczarek
b36485f315 bug 1069556 - local build changes to match up with upstream Breakpad. r=benwa,glandium
This commit contains a few things:
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux
2015-11-09 08:14:52 -05:00
Ted Mielczarek
747ff45e16 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium 2015-10-09 15:29:26 -04:00
Ted Mielczarek
2bc99c8350 bug 1069556 - change update-breakpad.sh to work with Breakpad's git repo (NPOTB) 2015-10-23 15:25:30 -04:00
Sylvestre Ledru
14ec5bc735 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
Chris Peterson
24ba10180a Bug 1236390 - Suppress -Wimplicit-fallthrough warnings in third-party code from Google Breakpad. r=bsmedberg
toolkit/crashreporter/google-breakpad/src/common/dwarf/dwarf2reader.cc:195:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
toolkit/crashreporter/google-breakpad/src/processor/minidump.cc:4022:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-12-30 11:50:27 -07:00
Dave Townsend
fb1e757d42 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Ryan VanderMeulen
f0dc54f9b2 Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Nick Alexander
2d12810664 Bug 1207890 - Post: Hacks to make --disable-compile-environment work on Mac OS X. r=glandium 2015-12-23 16:50:47 -08:00
Dave Townsend
625465b938 Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN 2015-12-03 10:02:45 -08:00
Mike Hommey
e49f5e69ec Bug 1228742 - Don't install CrashTestUtils.jsm to dist/bin/modules. r=mshal
It's actually shipped by mistake, and it's copied to the appropriate
test directory by other means.
2015-12-01 08:25:22 +09:00
Mike Hommey
3d20ea6fce Backout changeset 0104f1c911ca (bug 1223530) because it breaks running on Windows XP on a CLOSED TREE 2015-11-26 08:38:16 +09:00
Ted Mielczarek
7038d7d62a bug 1223530 - Move MOZ_WINCONSOLE to configure. r=glandium
This patch moves the logic for selecting MOZ_WINCONSOLE out of individual
Makefile.in files and into configure. It also changes config.mk to only
pass -SUBSYSTEM:CONSOLE if MOZ_WINCONSOLE=1. The MSDN docs state that
in the absence of -SUBSYSTEM, the linker will select the proper subsystem
based on whether the program contains [w]main or [w]WinMain, so let it
do that.

One program (windbgdlg) needed a tweak to add a wmain for when MOZ_WINCONSOLE
is defined.

This patch leaves one instance in security/sandbox/win/wow_helper/Makefile.in,
that Makefile has its own separate bug.
2015-11-11 06:24:39 -05:00
Ted Mielczarek
d31d435b55 bug 1224308 - Remove some Makefile cruft. r=gps 2015-11-12 06:39:11 -05:00
Nick Alexander
f460ef1711 Bug 1208605 - Try MOZ_ANDROID_PACKAGE_NAME env var before static ANDROID_PACKAGE_NAME. r=snorp 2015-09-25 14:47:50 -07:00
Ted Mielczarek
22afca1f84 Remove some old clobber-workarounds. No bug. 2015-11-09 09:36:35 -05:00
Birunthan Mohanathas
94998cf5fe Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Gregory Szorc
fa967a4cfd Bug 1207871 - Process files in descending file size order; r=ted
Large files take longer to process. Scheduling large files after smaller
files means there is a higher chance a large file may be a long pole
during processing.

This commit changes the scheduling logic to exhaustively obtain the set
of files to be processed. It then sorts them by descending file size and
schedules them in the resulting order, thus minimizing the chances for a
large file to be the long pole holding up processing completion.

On my machine this doesn't change wall execution time. However,
automation may be different. And the logic of the new behavior is sound.
2015-09-23 22:26:41 -04:00