Commit Graph

1180 Commits

Author SHA1 Message Date
Ted Mielczarek
6e351deef3 bug 1156300 - symbolstore.py FixFilenameCase doesn't fix up directory names. r=gps
MozReview-Commit-ID: 2nEaouS1oHD

--HG--
extra : rebase_source : c993a749f7c932cc1e7026a82332a127b5f7e3ca
2016-04-11 08:53:42 -04:00
Cervantes Yu
3540ae23db Bug 1257486 - Annotate global memory status in the crash reporter for child process; r=bsmedberg
MozReview-Commit-ID: ExVZS3aAp41

--HG--
extra : rebase_source : 9ddf96d5ce95aa96629e8772ae33719a6898e235
2016-03-29 19:16:09 +08:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Dustin J. Mitchell
6618eec31d Bug 1261045: remove unused SYMBOL_SERVER_*; r=ted.mielczarek
MozReview-Commit-ID: 4fyzQufrXbO

--HG--
extra : rebase_source : a739e0c0004df6d3d49d3ec9687a25010b024dfe
2016-04-01 14:00:27 +00: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
Daniel Holbert
b84ccd903b Bug 1258269: Declare logging string-literals in exception_handler.cc as 'const char[]' to fix build warning & for consistency. r=ted
MozReview-Commit-ID: 9UDHiPJus0C

--HG--
extra : rebase_source : a1eda37de65b7d25b37291c993d5c0a369fe29fc
2016-03-20 23:35:13 -07:00
Benjamin Smedberg
ea170a13cf Bug 1257209 - record uptime in crash metadata/pings, r=gfritzsche
MozReview-Commit-ID: 8MVRwALXvW5

--HG--
extra : rebase_source : e79362e885ca4986c1c4b8a3a82830de88f1107b
2016-03-16 16:59:06 -04:00
Mike Hommey
7f131dbc35 Bug 1256988 - Replace tests on MOZ_ENABLE_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester 2016-03-17 06:49:44 +09: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
Wes Kocher
3b14ab8ca2 Merge inbound to m-c a=merge 2016-03-15 17:24:43 -07:00
Blair McBride
3a42cce9c7 Bug 750054 - Update loading throbbers in secondary UI. r=mikedeboer,dolske
--HG--
rename : toolkit/themes/linux/global/icons/loading_16.png => toolkit/themes/linux/global/icons/loading.png
rename : toolkit/themes/osx/global/icons/loading_16.png => toolkit/themes/osx/global/icons/loading.png
rename : browser/themes/osx/tabbrowser/loading@2x.png => toolkit/themes/osx/global/icons/loading@2x.png
rename : toolkit/themes/windows/global/icons/loading_16.png => toolkit/themes/windows/global/icons/loading.png
rename : browser/themes/windows/tabbrowser/loading@2x.png => toolkit/themes/windows/global/icons/loading@2x.png
extra : rebase_source : 0dee8b2270eb2ef74cc2224270712bedb5fe8e6a
2016-03-15 23:04:22 +13:00
Ted Mielczarek
7b1faa29bc bug 1255479 - make mach python-tests use TestResolver for discovery, make mach test work for python tests. r=nalexander
MozReview-Commit-ID: CK2Vh6gdnb0

--HG--
extra : rebase_source : 2b1b05224ade41ad500dc66116beb3b091db9cde
extra : amend_source : 349f7cc876383d873acb1c73c0118d394f39284d
extra : histedit_source : 6d1d44188bb3a4fc69da2900e8118ce2a88a5fd7
2016-03-10 12:30:10 -05:00
Mike Shal
89f2907216 Bug 1254120 - Remove toolkit/crashreporter/test/Makefile.in; r=ted
MozReview-Commit-ID: 9RTd5ty1GDC
2016-03-11 14:24:36 -05:00
Masatoshi Kimura
857d45278a Bug 1254963 - Fix build error C2664 on MSVC 2015. r=aklotz 2016-03-11 07:25:33 +09:00
Sebastian Hengst
3f2ab6d07e Backed out changeset c1dbec35e0c5 (bug 1254963) for bustage. r=bustage on a CLOSED TREE 2016-03-10 00:14:49 +01:00
Masatoshi Kimura
8377f8426d Bug 1254963 - Fix build error C2664 on MSVC 2015. r=aklotz 2016-03-10 07:45:49 +09:00
Birunthan Mohanathas
ec65f12dd8 Bug 623183 - Build dump_syms on Windows when using VS2015; r=ted
MozReview-Commit-ID: LCvipO5FXdR

--HG--
extra : source : e68a8c608182025bac53dcbb48b0c0d474931f90
extra : amend_source : 3113865fb4be93db6b51ce55514cd2a55e577df9
2016-03-08 14:07:28 -08:00
Aaron Klotz
89e67972f0 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

--HG--
extra : rebase_source : 377f92157010c924d8ab1d9af5f93a9496526d5f
2016-03-07 12:48:58 -08:00
Mike de Boer
cf23a40c78 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
915320dbd0 Bug 1247399 - Put r7 in clobber registers for breakpad's sys_clone() r=glandium 2016-02-26 14:50:39 -06:00
Jeffrey Tran
27795d6f6e Bug 637238 - Uncheck rich text option in MainMenu.nib. r=ted
--HG--
extra : commitid : EjcmdJqqaQl
extra : amend_source : e31dee840c9ff49b579c18f85c0e8854369c9b58
2016-02-22 09:21:15 -08:00
Milan Sreckovic
2967cf9b23 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

--HG--
extra : rebase_source : f4427c8a6fdc1054f0f74cdce8d42bbf470dd143
2016-02-17 17:44:21 -05:00
Birunthan Mohanathas
a22220e378 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
67da777b83 Bug 1247978 - Ensure minidump header gets written during crash dump on Linux r=ted 2016-02-16 10:16:57 -06:00
James Willcox
4a644027c8 Bug 1247399 - Add some debug spew to Linux crash handler r=ted 2016-02-16 10:16:57 -06:00
Mike Hommey
64173a71ed Followup for bug 1069556: Remove what was removed in bug 1245055. r=me 2016-02-10 10:16:07 +09:00
Blake Kaplan
8801eafc2e Bug 1245723 - Make crashreporter browser-chrome tests e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
James Willcox
34358e8ff5 Bug 1245612 - Send texture usage bytes in crash reports r=bsmedberg 2016-02-08 09:18:52 -06:00
Ted Mielczarek
ea6f9a1958 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

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc
extra : histedit_source : 43e65f5432657f548cac5aa7936461e58454c3b6%2C7b56ccc79d9d58ebde0583d920f3593e25212621
extra : rebase_source : f6dbfb8fb2ba5b27e63b26d57c404962679c7a76
extra : commitid : DMQlXPms868
extra : source : 09fd4f3ab6e764016fe073efb226f03b5969af59
extra : intermediate-source : 16f9d3a6d2ef6a6efd088e3b8eff0a4723daef8f
2016-01-27 09:39:53 -05:00
Ted Mielczarek
f2d72aa588 bug 1069556 - change update-breakpad.sh to work with Breakpad's git repo (NPOTB)
--HG--
extra : commitid : 8m3oeXmF9Ok
extra : rebase_source : fafe1efc3d5660dd82350fc9c6db727a201d0355
extra : intermediate-source : a319694b46d54d9240842f0c525cf5570cf4649a
extra : source : 0e628eff02f5cf6fdc118ef0e61f3e17f627e7d2
2015-10-23 15:25:30 -04:00
Dave Townsend
c8e4d5fbbc Bug 1245649: Turn on use-isnan, no-unexpected-multiline, no-octal and no-self-compare. r=MattN
--HG--
extra : commitid : oKFzhSyf1r
extra : rebase_source : 0d31d93961cdfb2e5e467e0c7f28edb4ab14a083
2016-02-03 18:21:30 -08:00
Dave Townsend
e496a11771 Bug 1245649: Turn on no-extra-semi. r=markh
--HG--
extra : commitid : HReQFPDOA6x
extra : rebase_source : 303a92f511c3c9dd2d26135975d4dc7c85e823b3
2016-02-03 17:27:36 -08:00
Dave Townsend
33281c75f0 Bug 1245649: Turn on linebreak-style. r=Gijs
--HG--
extra : commitid : 7JJb4UFNKj9
extra : rebase_source : 5c30f388ad82d3b73ce7d14c71a48a1f0ed84db7
2016-02-03 17:04:56 -08:00
Dave Townsend
541b00204a Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe
--HG--
extra : commitid : DrYPQokQp9O
extra : rebase_source : e0bacf124280ecdbeccfc34dbf66fd80f5a9d296
2016-02-03 13:12:18 -08:00
Mike Hommey
9ec0d0969f 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
31fb709fc3 Bug 1243928 - Make these tests work in e10s. r=felipe 2016-02-02 13:44:11 -08:00
James Willcox
084cb94a2c 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
770228e318 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
1bcf4b4b99 Backed out changeset 09fd4f3ab6e7 (bug 1069556)
--HG--
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc
2016-01-26 14:53:06 +01:00
Carsten "Tomcat" Book
db55b0fa77 Backed out changeset 31c98f5e107b (bug 1069556)
--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in
2016-01-26 14:53:02 +01:00
Carsten "Tomcat" Book
345f60ff8d Backed out changeset 168001ae11e4 (bug 1069556) 2016-01-26 14:53:00 +01:00
Ted Mielczarek
d41a42ce86 Fix dep build bustage from bug 1069556. r=bustage CLOSED TREE HOSED TREE
--HG--
extra : commitid : 9bb4g7fFAHe
extra : amend_source : 39bb10daaad5fcd6093261e00d3c8bc0ee48e24f
2016-01-26 06:25:27 -05:00
Ted Mielczarek
bf718146b7 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

--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in
extra : commitid : GR2H5y5DM7E
extra : rebase_source : 212b8f04703555658e1df026de2211ea20ac390b
2015-11-09 08:14:52 -05:00
Ted Mielczarek
8b33bf2725 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc
extra : commitid : JrvwN8snpm2
extra : rebase_source : 3433235330b64ae20abbcc6defb26218617a165f
2015-10-09 15:29:26 -04:00
Ted Mielczarek
0b8ac6acb9 bug 1069556 - change update-breakpad.sh to work with Breakpad's git repo (NPOTB)
--HG--
extra : commitid : 3RrJbnViuO3
extra : rebase_source : b2e37a5830d384ee689bbddc09b37b4ba65ddf47
2015-10-23 15:25:30 -04:00
Sylvestre Ledru
ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Chris Peterson
993326cad9 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
86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Ryan VanderMeulen
f93b41b27c Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Nick Alexander
d29d7963fa Bug 1207890 - Post: Hacks to make --disable-compile-environment work on Mac OS X. r=glandium
--HG--
extra : commitid : BJ6pEARC8bF
extra : rebase_source : 6fb8638fc55c0f402fbe011b8fd10904a4681d13
2015-12-23 16:50:47 -08:00
Dave Townsend
6fcdc1e67d Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN
--HG--
extra : commitid : 1iLsb7ZpSpI
extra : rebase_source : ed920934f04e520f5410454ec3930cd5992aa965
2015-12-03 10:02:45 -08:00
Mike Hommey
8caec249c9 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
0cc838448f Backout changeset 0104f1c911ca (bug 1223530) because it breaks running on Windows XP on a CLOSED TREE
--HG--
rename : toolkit/components/maintenanceservice/Makefile.in => xpcom/windbgdlg/Makefile.in
2015-11-26 08:38:16 +09:00
Ted Mielczarek
879065de9d 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.

--HG--
extra : commitid : 8acDjmfKivj
extra : rebase_source : 03b4fa4c8ae077a894b08f3762ef93541e34ac1a
2015-11-11 06:24:39 -05:00
Ted Mielczarek
8b765abfbe bug 1224308 - Remove some Makefile cruft. r=gps
--HG--
extra : commitid : JdDnpW7zfHf
extra : rebase_source : 9eca8f978c43eb6f26c8d14d5d13fee5ea556a02
2015-11-12 06:39:11 -05:00
Nick Alexander
369f2f953d Bug 1208605 - Try MOZ_ANDROID_PACKAGE_NAME env var before static ANDROID_PACKAGE_NAME. r=snorp
--HG--
extra : commitid : LLwNfsnJpKj
extra : rebase_source : 279f247ab62455671d8e0eaa931cb67c9d276684
extra : amend_source : f7972c0f384233f4c78f8f5d3989244156f701de
2015-09-25 14:47:50 -07:00
Ted Mielczarek
737a624570 Remove some old clobber-workarounds. No bug.
--HG--
extra : commitid : Aq9m2eEAqGo
extra : rebase_source : 84ff27c8a144dca757608d6b59fdc3344fc1afa2
2015-11-09 09:36:35 -05:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Gregory Szorc
bd9f7fa2a2 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.

--HG--
extra : commitid : CTbEbvKdEY4
extra : rebase_source : b75e0d5993a07f5244bf204a2b83b4082afe0bfd
2015-09-23 22:26:41 -04:00
Gregory Szorc
ce82de310f Bug 1175632 - Record how long each symbol file took to process; r=ted
As part of this an unused import was removed.

--HG--
extra : commitid : GwdjhcoGwi1
extra : rebase_source : f94d5f3d1a601212b4307093f8b3717acb554bad
2015-10-26 15:58:15 -04:00
Tooru Fujisawa
65e2703499 Bug 1217082 - Remove for-each from toolkit/. r=Gijs
--HG--
extra : commitid : Ewr7Bixammr
extra : rebase_source : 91e560a7b8b8d4b78debb1db2512867262b18375
2015-10-19 04:57:14 +09:00
Ted Mielczarek
3d40a38f29 bug 1217051 - Pipe dump_syms stderr to /dev/null. r=catlee
--HG--
extra : amend_source : 7457ec915e764caeb9b13b59a925a6bae80ee0e1
2015-10-21 12:54:16 -04:00
Nicholas Nethercote
343f285eca Bug 1186785 - Replace nsBaseHashtable::EnumerateRead() calls in toolkit/ with iterators. r=froydnj.
--HG--
extra : rebase_source : d472ec1638cb1697af0d2f2dbae4f4229bea1a80
2015-10-19 15:46:46 -07:00
Nicholas Nethercote
5b34a25af2 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.

--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Chris Manchester
08c59074db Bug 1175857 - Build libraries composing dump_syms with optimization. r=glandium
A previous patch enabled optimizations when building the dump_syms executable.
This patch enables optimizations when building dependent libraries, where much
of the work is actually done, to achieve the expected speeedup.

--HG--
extra : commitid : 6Ud7gz1BNMU
2015-10-19 17:57:11 -07:00
Mike Hommey
5cf0641007 Bug 1235674 - Move CXXFLAGS from toolkit/crashreporter/client/Makefile.in to the corresponding moz.build. r=mshal 2015-12-31 07:46:00 +09:00
Chris Manchester
83de823d6b Bug 1175857 - Build dump_syms with compiler optimizations; r=glandium
dump_syms has been measured to be ~50% faster when compiled with
optimizations. Since symbol generation takes a lot of time on the
builders, this difference matters.

Compile dump_syms with optimizations to make symbol dumping faster
and hopefully making build jobs faster as well.

--HG--
extra : commitid : 6g0sbZClTNW
2015-09-24 17:05:40 -04:00
Eric Rahm
80fca20565 Bug 1194555 - Part 6: Run reporters asynchronously. r=njn,jld,ted 2015-10-14 16:52:59 -07: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
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Nicholas Nethercote
5fe56b4623 Bug 1209351 (part 6) - Optimize nsTHashTable::RemoveEntry() usage in toolkit/. r=froydnj.
--HG--
extra : rebase_source : 242da824dab1ff2d263429a522f62e082a9230d6
2015-09-24 21:38:04 -07:00
Ted Mielczarek
91fbb87e99 bug 543111 - fix symbolstore.py to work properly for cross-compiled mac builds on linux. r=gps
--HG--
extra : commitid : 7CIg3hPH66H
extra : rebase_source : c1c556c5d6738cdb0c9f5fd426f97a18d4050cd9
2015-09-22 08:00:34 -04:00
Ted Mielczarek
dc4944233c bug 543111 - Fix Mac Breakpad host tools to build in Linux cross-compile. r=mento,glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc
extra : commitid : 1MeVskegqFV
extra : rebase_source : 99fae330b3917e46c380e0c83054790ecd661ea5
2015-10-01 15:04:27 -04:00
Carsten "Tomcat" Book
d325d6fc78 Backed out 4 changesets (bug 543111) for mac bustage on a CLOSED TREE
Backed out changeset 81f6fdc25862 (bug 543111)
Backed out changeset d1a73eaa6113 (bug 543111)
Backed out changeset 08c7f9ed5970 (bug 543111)
Backed out changeset 3b323ed3b20a (bug 543111)

--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm
2015-10-01 14:32:11 +02:00
Ted Mielczarek
3a65045d06 bug 543111 - fix symbolstore.py to work properly for cross-compiled mac builds on linux. r=gps
--HG--
extra : commitid : 6vIiH9J85gH
extra : rebase_source : be382b2e952912983b611f632b654e05ccce44b6
2015-09-22 08:00:34 -04:00
Ted Mielczarek
c3b97accbb bug 543111 - Fix Mac Breakpad host tools to build in Linux cross-compile. r=mento,glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc
extra : commitid : 9ALTpfdqmnH
extra : rebase_source : 67000f6e4027b895df096a48f3255e864ac10167
2015-10-01 06:24:58 -04:00
Tooru Fujisawa
8a0aa17cb2 Bug 1207497 - Part 2: Remove use of expression closure from tests in toolkit/. r=Gijs
--HG--
extra : commitid : F0AJXZT2xzk
extra : rebase_source : 4b076123afebebf10abfe62872d98f0a21e91ac8
2015-09-24 21:25:24 +09:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Ms2ger
ce50a0bf86 Bug 1194603 - Remove INTERNAL_TOOLS; r=mshal
Its only purpose is to disable PGO. Where that was not already explicitly done,
or irrelevant (because the directory only contains python), I disabled it in
moz.build.
2015-09-10 13:49:19 +02:00
Ted Mielczarek
6be16c3688 bug 1198226 - Move HOST_{C,CXX}FLAGS to moz.build HOST_{CFLAGS,CXXFLAGS,DEFINES}. r=mshal
As part of this move, HOST_NSPR_MDCPUCFG needed to be changed to get the quoting right.

--HG--
extra : commitid : J26MhSiPq9g
extra : rebase_source : 81c5b98371042803741ddace8d01b0097757dff3
2015-09-08 11:35:43 -04:00
Ted Mielczarek
d0e6114c5e bug 1201069 - retry symbol upload on any 500 error. r=ryanvm
--HG--
extra : commitid : AGN1INkPlp2
extra : rebase_source : 4fc7b0ee42a8108d454582dd712e59b830c42368
2015-09-04 08:13:05 -04:00
Benjamin Smedberg
3133303347 Bug 1199662 - Crash ping environment block is broken when any string field contains a quotation mark. Unescape INI fields properly using the library that already exists for the purpose. r=ted
--HG--
extra : commitid : 55V6027qEVE
extra : rebase_source : 700466ab6f872b049fae11c0ca3514def99dbd74
2015-08-28 12:53:43 -04:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Mike Hommey
8d4c5b336d Bug 1189967 - Be slightly more explicit about some conversions to std::wstring. r=nfroyd 2015-08-23 22:20:19 +09:00
Chris Peterson
1227e63de1 Bug 1190148 - Fix warnings in toolkit/crashreporter/client and mark as FAIL_ON_WARNINGS. r=ted 2015-08-01 11:59:40 -07:00
Ted Mielczarek
b2a52780fd bug 1164816 - Rewrite symbolstore.py to use concurrent.futures. r=gps
CLOSED TREE

--HG--
extra : commitid : 1m7vHey4bQo
extra : rebase_source : 03d72c7bcdc6f2343f71a0ad434c7840f087f3bb
extra : amend_source : 8ab051273feff157a90bb222f398db87da7a3a9f
2015-05-13 14:50:11 -04:00
Ted Mielczarek
6d5857bc49 bug 1164816 - Refactor symbolstore.py to remove WorkerInitializer. r=gps
concurrent.futures doesn't have a WorkerInitializer equivalent to what
multiprocessing.Pool has, so refactor things slightly to remove that dependency.

--HG--
extra : commitid : 4YBVznKwkhy
extra : rebase_source : abcd87bd5352f49dc39f52d4fa354cdb301af801
2015-05-13 14:14:08 -04:00
Petr Jasicek
5755b5bc07 Bug 1192243 - Fix Gtk3 crash reporter's ScrolledWindow and width. r=karlt 2015-08-11 14:12:44 -07:00
Makoto Kato
ed0bf31fba Bug 830801 - Part 3. Remove NOMINMAX define from cpp source. r=mshal 2015-08-03 10:07:20 +09:00
Makoto Kato
50e851b877 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Anthony Miyaguchi
ed1a3ed8a5 Bug 1168979 part 1 - Add fallback for buildconfig in standalone use of upload_symbols script; r=mrrrgn 2015-07-10 09:56:16 -07:00
Ryan VanderMeulen
35cc22a996 Backed out 7 changesets (bug 1168979) for breaking the gecko decision task on a CLOSED TREE.
Backed out changeset 0d9496880482 (bug 1168979)
Backed out changeset 913594264a8c (bug 1168979)
Backed out changeset 18560f41c3fb (bug 1168979)
Backed out changeset dd5644a30469 (bug 1168979)
Backed out changeset 162318c4e626 (bug 1168979)
Backed out changeset 5bfd2e72d330 (bug 1168979)
Backed out changeset 0d97c2ab4fe4 (bug 1168979)
2015-07-16 16:51:36 -04:00
Anthony Miyaguchi
e73ef57d83 Bug 1168979 part 1 - Add fallback for buildconfig in standalone use of upload_symbols script; r=mrrrgn 2015-07-10 09:56:16 -07: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
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Ted Mielczarek
0a7e8d98da bug 1171527 - Make upload_symbols.py retry on 500 errors from the API. r=gps
--HG--
extra : commitid : Dy8RzS9Wi4J
extra : rebase_source : 28d9119c94080f9066ca60bef068a7d75529624b
2015-06-05 07:38:14 -04: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
J. Ryan Stinnett
8bf1667a5d Bug 1166964 - Disable Breakpad INFO logging. r=ted 2015-06-08 13:04:04 -05:00
David Major
7f0bd81672 Bug 1154298: Use XPSP2 crash URL for XPx64 and Server2003SP1. r=ted 2015-06-08 09:12:17 -04:00
Ted Mielczarek
5b2ff28703 bug 1168535 - re-open the zip file for each upload_symbols retry. r=gps
--HG--
extra : rebase_source : 494951a414f6eb90d27b6705d486ef6723738296
2015-05-27 14:25:37 -04:00
Ted Mielczarek
9c7373d53a bug 1168535 - print error response body in upload_symbols.py. r=gps
--HG--
extra : rebase_source : 7838dc42440eca1df2cbb98fce06fdb131b678b5
2015-05-27 13:50:04 -04:00
Mike Hommey
ea7750bcb1 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
Botond Ballo
2e2a504271 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Phil Ringnalda
49dd872168 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
9934d127c1 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
Ted Mielczarek
543daa65bc bug 1166759 - force annotateCrashReport arguments to be UTF-8. r=bsmedberg
--HG--
extra : rebase_source : ffc4ee94de01206b853d5f69b26d0ad62836c2b2
2015-05-22 10:50:32 -04:00
Ted Mielczarek
dbe2cfb819 bug 1166759 - don't put nil values in POST data in Mac crash reporter. r=bsmedberg
--HG--
extra : rebase_source : 0e34b197cf6d0ee2fd221b1507f6e050e2bbedb4
2015-05-21 14:03:43 -04:00
Ted Mielczarek
89ef156852 bug 1165347 - use retries for symbol uploads. r=gps
--HG--
extra : rebase_source : 57386c02182d3a1b4b11757a660b9a7eda4fe860
2015-05-15 13:48:16 -04:00
Jose' Rios
a224ee9100 Bug 1142300 - Closing descriptor when fscanf fails. r=erahm 2015-05-14 15:49:00 -07:00
Ted Mielczarek
01fca7d3b1 bug 528092 - Supply binaries from the symbol server. r=gps
--HG--
extra : rebase_source : 2a43adef2ca8e2fbc15f3f3f5fceffc1548536ba
2015-05-13 17:43:19 -04:00
Ted Mielczarek
9549f29287 bug 1076848 - fix source server indexing for headers from dist/include. r=dmajor
--HG--
extra : rebase_source : 378c17c4656858fa76f5273537c65318f2199b68
extra : source : 5b1402a3d3ca0df8fe25edd7d0bdcd6b99aa3b9d
2015-05-07 07:11:27 -04:00
Phil Ringnalda
9dd8f05489 Back out 2 changesets (bug 528092, bug 1076848) for introducing an extra 3 hour timeout to builds
CLOSED TREE

Backed out changeset b15dac9231ee (bug 528092)
Backed out changeset 5b1402a3d3ca (bug 1076848)
2015-05-11 19:52:19 -07:00
Mike Hommey
fe90037862 Bug 1043692 - Add a DIST_INSTALL variable to moz.build, and replace NO_DIST_INSTALL with it. r=gps 2015-05-12 07:55:21 +09:00
Ted Mielczarek
2509fbe6cc bug 528092 - Supply binaries from the symbol server. r=gps
--HG--
extra : rebase_source : a8e662db02e379fc26a5336dcf9050bc8acb09e3
2010-09-03 13:19:41 -04:00
Ted Mielczarek
be88e14c91 bug 1076848 - fix source server indexing for headers from dist/include. r=dmajor
--HG--
extra : rebase_source : c98ea332576f244ee29326c44eee3201e99f08ed
2015-05-07 07:11:27 -04:00
Benjamin Smedberg
254715ac08 Bug 1121013 part B - test that part A is writing out event files and annotations are making it back into the crash manager, r=ted
--HG--
extra : rebase_source : cf6a43d67c4876be6ec19db5f4389d405e88cfe0
extra : source : 7cecb4e23fcf3bd8693e7b421abe29abb07ce01e
2015-03-25 14:41:13 -04:00
Benjamin Smedberg
f2605b383f 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
--HG--
extra : rebase_source : 3dcf21653ce4d5bf4dffe08cffab439a54a6fd2e
extra : source : 028a6957eea29d9c5057c8e4ac2a64029efb806b
2015-04-27 10:49:44 -04:00
Richard Marti
16fd303b29 Bug 1161161 - about:crashes - use the new in-content styling. r=dao 2015-05-04 20:07:02 +02:00
Mike Hommey
924c9eb636 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
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrea Marchesini
cb54385682 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Ted Mielczarek
f579fcc2d6 bug 1085557 - Switch symbol upload to use Socorro production server. r=rhelmer
--HG--
extra : rebase_source : b229336f85b1967c64b83645c8ecc7fc429c7fb6
2015-04-06 07:12:50 -04:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ted Mielczarek
2a71420061 bug 1085557 - bump symbol upload timeout to 120s. r=tryingtofixuploadtimeout, a=ryanvm
--HG--
extra : rebase_source : 75deb3bd73dcd940318a5525e4b00952fd89e794
extra : amend_source : 7783d608538954e7b748fd99fc98b03cb975004a
2015-03-25 07:49:05 -04:00
Gervase Markham
55e31ac559 Bug 1141045 - Take upstream patch to fix licensing of Unicode Consortium files. r=ted 2015-03-20 09:14:00 -04:00
David Major
bff0694ceb Bug 1138794: Use an alternate crash report server on Windows XP SP2. r=ted a=lmandel
--HG--
extra : rebase_source : de3a3c17d6427449272c3535fc8b756e0c0caf98
2015-03-19 10:29:15 +13:00
Sebastian Hengst
394a2dd441 Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin 2015-03-15 19:36:24 +01:00
David Major
267318954e Bug 1135543 - Part 3: Create events file format crash.main.2 which contains metadata; r=bsmedberg
--HG--
extra : rebase_source : 26de3cac35f9e5a5398f912f36f3d3cc0b286806
2015-03-14 18:54:36 +13:00
Jim Mathies
3602131bc9 bug 575919 - hide Windows error dialogs in symbolstore.py. r=ted
--HG--
extra : rebase_source : f5e08fd9c6cb8033e24a919be02a7ee8f1cd33fb
2015-03-11 20:02:43 -04:00
Ted Mielczarek
1097d4012f bug 1135700 - make uploadsymbols use Socorro symbol upload API. r=gps
--HG--
extra : rebase_source : 2f177f3e2dbae3e658da9c034dfd9e4b29c03015
2015-02-23 13:48:54 -05:00
Birunthan Mohanathas
a1d674ae00 Bug 1088125 - Part 2: Use arrow function instead of separate 'self' variable. r=gfritzsche 2015-02-09 19:51:17 +02:00
Birunthan Mohanathas
615b35a636 Bug 1088125 - Part 1: Make CrashSubmit.submit return a Promise. r=gfritzsche 2015-02-09 19:50:43 +02:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Dave Hylands
78039a64a3 Bug 1129231 - Remove a couple JS octal constant warnings. r=fabrice
This has just the intended changes.
2015-02-04 14:51:39 -08:00
Dave Hylands
95217cc09f Backed out changeset a21eb15bbf08 2015-02-04 14:45:43 -08:00
Dave Hylands
91bfb094bf Bug 1129231 - Remove a couple JS octal constant warnings. r=fabrice 2015-02-04 14:05:45 -08:00
David Major
eed94a1b16 Bug 1124892 (second attempt) - Increase Breakpad reserve size yet again. r=bsmedberg
--HG--
extra : rebase_source : 9e59682d36dd0189f09c19a8c674c818bd75598a
2015-02-01 16:09:13 +13:00
Ryan VanderMeulen
53a1d4ed8d Merge m-c to inbound. a=merge 2015-01-30 12:32:49 -05:00
Ryan VanderMeulen
175de6b258 Merge inbound to m-c. a=merge 2015-01-30 12:22:33 -05:00
Todd Whiteman
2b1c3cb2e2 Bug 1124984 - Force the gzip call to run. r=ted
--HG--
extra : rebase_source : 343a5f84b741e9f58c367b842477d6f9fdfc8db4
2015-01-22 19:36:00 -05:00