Граф коммитов

2225 Коммитов

Автор SHA1 Сообщение Дата
Gabriele Svelto 74cab0b0fc Bug 1754578 - Make the pthread_create() interposer work on glibc 2.34+ r=jld
Differential Revision: https://phabricator.services.mozilla.com/D138355
2022-02-10 20:18:57 +00:00
Gabriele Svelto 293a9cb5ee Bug 1752566 - Fix warnings in the stack overflow test crasher r=jld
Differential Revision: https://phabricator.services.mozilla.com/D137329
2022-02-04 08:29:04 +00:00
Sylvestre Ledru caaedeee98 Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D137741
2022-02-03 18:34:58 +00:00
Gabriele Svelto ff9bbb3d27 Bug 1678152 - Catch all stack overflows on Linux r=jld
This patch adds a library that contains an interposer function for
pthread_create(). The interposer will setup an alternate signal stack to
handle crashes - thus enabling us to catch stack overflows - and then call the
real pthread_create() function. Since the interposer needs to appear in the
linker's search order before libpthread we manually link it into firefox,
plugin-container and xpcshell's executables ASAP.

Differential Revision: https://phabricator.services.mozilla.com/D132736
2022-01-28 07:29:26 +00:00
Noemi Erli f471472a6b Backed out 2 changesets (bug 1678152, bug 1751041) for causing failures in test_missing_intermediate.js CLOSED TREE
Backed out changeset 034ae0e4c467 (bug 1751041)
Backed out changeset 46640f068ae4 (bug 1678152)
2022-01-25 20:09:51 +02:00
Gabriele Svelto 146c19e855 Bug 1678152 - Catch all stack overflows on Linux r=jld
Differential Revision: https://phabricator.services.mozilla.com/D132736
2022-01-25 16:41:21 +00:00
kriswright ad3aa241a4 Bug 1745526 - Add a crash annotation for the linux memory watcher r=gsvelto
Adds a crash annotation, `LinuxUnderMemoryPressure`, which the memory pressure monitor updates based on whether or not it is under memory pressure.

Differential Revision: https://phabricator.services.mozilla.com/D133555
2022-01-20 14:25:44 +00:00
Alexandre Lissy 161f130b0a Bug 1731890 - Adding Utility process with basic sandbox r=agi,nika,bobowen
Differential Revision: https://phabricator.services.mozilla.com/D126297
2022-01-12 20:52:58 +00:00
Mike Hommey 1acc37c7a6 Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
While mingw builds don't require user32 and advapi32 explicitly, it doesn't
hurt for them to be there (and they're required for clang-cl build).
Likewise, while clang-builds don't require uuid and userenv explicitly
because they're pulled in via #pragmas in the source code, mingw doesn't
support those #pragmas and needs them explicitly, which doesn't hurt the
clang-cl builds.

Differential Revision: https://phabricator.services.mozilla.com/D134737
2021-12-30 20:56:43 +00:00
Iulian Moraru b469802d84 Backed out changeset 7f9b4b6191ad (bug 1747756) for causing multiple failures. CLOSED TREE 2021-12-30 01:59:26 +02:00
Mike Hommey cb50a5444f Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
While mingw builds don't require user32 and advapi32 explicitly, it doesn't
hurt for them to be there (and they're required for clang-cl build).
Likewise, while clang-builds don't require uuid and userenv explicitly
because they're pulled in via #pragmas in the source code, mingw doesn't
support those #pragmas and needs them explicitly, which doesn't hurt the
clang-cl builds.

Differential Revision: https://phabricator.services.mozilla.com/D134737
2021-12-29 22:18:52 +00:00
Mike Hommey fce6eb7d83 Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134464
2021-12-23 20:29:07 +00:00
Cristian Tuns e1e31e01f2 Backed out 2 changesets (bug 1747165) for causing nightly blockers(bustages) a=backout
Backed out changeset 4b1ab0915c94 (bug 1747165)
Backed out changeset 96043d814772 (bug 1747165)
2021-12-23 08:00:54 -05:00
Hector Zhao 1b55a002af Bug 1744902 - Add DistributionID string as a crash annotation. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D133722
2021-12-23 00:48:12 +00:00
Mike Hommey b55194a16f Bug 1747165 - Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D134464
2021-12-22 23:56:24 +00:00
Mike Hommey 73230b8c3e Bug 1744234 - Bump minimum Rust version to 1.57. r=firefox-build-system-reviewers,andi
Also update the table of Firefox requirements. It's worth noting that I
actually upgraded to 1.57 earlier than I should have (too close to
freeze), but what is done is done.

Differential Revision: https://phabricator.services.mozilla.com/D134124
2021-12-17 08:37:39 +00:00
Brad Werth f248578206 Bug 1744135 Part 1: Add a 'FontName' key for crash reports. r=gfx-reviewers,gsvelto,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D133425
2021-12-16 21:57:22 +00:00
Iulian Moraru 02feb52e93 Backed out changeset 3cf2b111807a (bug 1678152) for causing hazard bustage on Promise.cpp. CLOSED TREE 2021-12-15 06:50:15 +02:00
Gabriele Svelto 901ea6c31d Bug 1678152 - Catch all stack overflows on Linux r=jld
Differential Revision: https://phabricator.services.mozilla.com/D132736
2021-12-14 21:17:12 +00:00
Jamie Nicol 61bcf0d1a8 Bug 1743454 - Add EXTRA_CRASH_PROCESS_TYPE argument to GeckoView crash reporter. r=agi,gsvelto
Currently the geckoview crash reporter has an EXTRA_CRASH_FATAL
argument, which indicates whether a crash is fatal, ie it occured in
the parent process and cannot be recovered from. Crashes in content
processes are by contrast deemed non-fatal, as the application can
recover from them.

With the upcoming GPU process on Android we will start collecting GPU
process crashes. These are certainly not fatal, and in fact should
barely be noticed by users. Applications may want a way to distinguish
between non-fatal but prominent content process crashes, and barely
noticeable GPU process crashes, so that they can avoid showing an
intrusive UI for GPU process crashes.

This deprecates the old EXTRA_CRASH_FATAL argument, and instead adds a
EXTRA_CRASH_PROCESS_TYPE argument to crash intents, whose value is a
String matching a new CRASHED_PROCESS_TYPE_* constant.

These constants are as follows:

* CRASHED_PROCESS_TYPE_MAIN: indicating a fatal main-process crash.
* CRASHED_PROCESS_TYPE_FOREGROUND_CHILD: indicating a recoverable but
  obvious crash such as in a content process.
* CRASHED_PROCESS_TYPE_BACKGROUND_CHILD indicating a barely noticable
  crash in a background process such as the GPU process

Differential Revision: https://phabricator.services.mozilla.com/D132809
2021-12-08 19:08:16 +00:00
Chris Peterson f6fdbf028a Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium
-Wshadow warnings are not enabled globally, so these -Wno-shadow suppressions have no effect. I had intended to enable -Wshadow globally along with these suppressions in some directories (in bug 1272513), but that was blocked by other issues.

There are too many -Wshadow warnings (now over 2000) to realistically fix them all. We should remove all these unnecessary -Wno-shadow flags cluttering many moz.build files.

Differential Revision: https://phabricator.services.mozilla.com/D132289
2021-12-01 06:40:04 +00:00
Emilio Cobos Alvarez efe2305b8d Bug 1742696 - Opt-in a bunch of about:pages to dark system colors / form controls. r=Gijs,preferences-reviewers,webcompat-reviewers,twisniewski
Privileged pages do this automatically via:

  https://searchfox.org/mozilla-central/rev/aa8c75b83f636948f708986173965c84cae8c25f/widget/nsXPLookAndFeel.cpp#1179-1183

So this makes everything more consistent. Known exceptions:

 * Pocket panels (as those don't seem to support dark mode)
 * about:reader (because it has its own dark mode handling)

Differential Revision: https://phabricator.services.mozilla.com/D132019
2021-11-25 21:24:43 +00:00
Mike Hommey 8ea8699ed3 Bug 1736486 - Link bcrypt where needed. r=firefox-build-system-reviewers,andi
rust 1.57's libstd adds a dependency on bcrypt on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D132110
2021-11-25 21:07:02 +00:00
Gabriele Svelto 4dbec03bf7 Bug 1741760 - Don't write garbage code IDs for modules that aren't ELF files r=Gankra
I'm being extra-defensive here: we're not resizing the vector that is supposed
to hold the UUID until we're sure we can fill it and we're also explicitly
clearing it in case `LinuxDumper::ElfFileIdentifierForMapping()` returns
false. This should cover all possible cases.

Differential Revision: https://phabricator.services.mozilla.com/D131496
2021-11-25 20:50:17 +00:00
Gabriele Svelto 1e61cb64e2 Bug 1710072 - Copy executables for all programs in the full crash reporter symbols archive r=Gankra
This also adds documentation and renames the function tasked with this job to
clarify that we're not only copying the file holding the debug information but
also the corresponding executable or library.

Differential Revision: https://phabricator.services.mozilla.com/D132002
2021-11-25 20:49:08 +00:00
Jens Stutte 72c2119804 Bug 1741131: Amend further the XPCOMSpinEventLoopStack annotation documentation r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D132046
2021-11-24 16:53:41 +00:00
Sylvestre Ledru 70be2344fc Bug 1707591 - ride along - reformat the tree with black 21.10b0 r=ahal,webdriver-reviewers,perftest-reviewers,whimboo,gerard-majax,alexandru.irimovici
This changed with this:
https://github.com/psf/black/pull/1740

Depends on D130964

Differential Revision: https://phabricator.services.mozilla.com/D130965
2021-11-22 22:10:03 +00:00
Ben Hearsum 62b77fa25e Bug 1738375: Annotate crash reports with Windows app package name and publisher. r=gsvelto
Depends on D130187

Differential Revision: https://phabricator.services.mozilla.com/D130188
2021-11-19 14:51:47 +00:00
Alexandre Lissy a9b9bae961 Bug 1726804 - Refactor PROCESS_TYPE_* from nsICrashService r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D121389
2021-11-19 14:02:56 +00:00
Alexandru Michis 2cb5b32d02 Backed out 2 changesets (bug 1726804) for causing sm bustages in geckoprocesstypes.
CLOSED TREE

Backed out changeset bf7f73fd1921 (bug 1726804)
Backed out changeset c9936f7534cb (bug 1726804)
2021-11-19 11:40:59 +02:00
Alexandre Lissy 882ec7bc7a Bug 1726804 - Refactor PROCESS_TYPE_* from nsICrashService r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D121389
2021-11-19 08:33:43 +00:00
Jens Stutte 71afe74c2c Bug 1741131: Document the possible misalignment of the annotation wrt stack status in child processes. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D131325
2021-11-19 07:54:56 +00:00
Nick Alexander 7fb2980a43 Bug 1697875 - Annotate headless and backgroundtask mode in crash reports. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D129882
2021-11-18 20:56:28 +00:00
Sylvestre Ledru cfd3613eeb Bug 1714788 - doc: Fix a link to the image r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Depends on D131088

Differential Revision: https://phabricator.services.mozilla.com/D131089
2021-11-16 07:59:46 +00:00
Iulian Moraru 897bb9d353 Backed out 2 changesets (bug 1707591) for causing python mozlint failures on test_yaml.py. CLOSED TREE
Backed out changeset a730ab2d0dbe (bug 1707591)
Backed out changeset 0269849fd7ef (bug 1707591)
2021-11-12 18:44:36 +02:00
Sylvestre Ledru c1b5edd8be Bug 1707591 - ride along - reformat the tree with black 21.10b0 r=webdriver-reviewers,whimboo,gerard-majax
This changed with this:
https://github.com/psf/black/pull/1740

Differential Revision: https://phabricator.services.mozilla.com/D130965
2021-11-12 15:06:56 +00:00
shravanrn@gmail.com 6314f91304 Bug 1740187 - Annotate crash reports with rlbox sandbox malloc failures r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D130727
2021-11-10 00:03:25 +00:00
Gabriele Svelto 35c19d320e Bug 1731162 - Don't attempt to pretty print the mach message ID in the crash message r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D130631
2021-11-09 08:44:01 +00:00
Gabriele Svelto 35207ee974 Bug 1731162 - Crash with more information when receiving odd exceptions on macOS r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D130126
2021-11-04 16:33:07 +00:00
Mike Hommey dcaa0fa66b Bug 1736459 - Disable test_crash_backgroundtask_moz_crash.js on Windows. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D129493
2021-10-27 22:35:56 +00:00
Norisz Fay 51e8153e60 Backed out 5 changesets (bug 1736459) for causing Windows crashes (bug 1738034) a=backout
Backed out changeset c934eeb21692 (bug 1736459)
Backed out changeset 0b2da7db414c (bug 1736459)
Backed out changeset 798893f69a02 (bug 1736459)
Backed out changeset 2a8f412c4d08 (bug 1736459)
Backed out changeset 59eeaeafdf67 (bug 1736459)
2021-10-27 16:02:24 +03:00
Mike Hommey c9e564afb9 Bug 1736459 - Disable test_crash_backgroundtask_moz_crash.js on Windows. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D129493
2021-10-26 23:11:39 +00:00
Evgenia Kotovich 0d0980ee0d Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-18 09:26:33 +00:00
Noemi Erli 2bba3cec69 Backed out changeset 2ab6bb03dcc1 (bug 1576768) for causing failures in test_double_submit.html CLOSED TREE 2021-10-18 02:05:57 +03:00
Evgenia Kotovich 3e3dff109c Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-17 14:59:14 +00:00
Alexandru Michis dac6815201 Backed out changeset 7c08aa027893 (bug 1576768) for causing multiple failures.
CLOSED TREE
2021-10-15 16:52:43 +03:00
Evgenia Kotovich a8b32926fa Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-15 12:58:11 +00:00
Mark Banner 3633fd7457 Bug 1378173 - Remove Promise.jsm. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D128098
2021-10-14 08:28:28 +00:00
Mike Hommey fdfbf4db02 Bug 1733547 - Fix non-unified build errors in breakpad. r=gsvelto
toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc:1761:17: error: use of undeclared identifier 'ReadTaskString'
toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc:1766:9: error: use of undeclared identifier 'ReadTaskString'
toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc:1770:19: error: use of undeclared identifier 'ReadTaskString'
toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc:1774:18: error: use of undeclared identifier 'ReadTaskString'
toolkit/crashreporter/google-breakpad/src/processor/stack_frame_symbolizer.cc:132:10: error: 'return' will never be executed [-Werror,-Wunreachable-code-return]

Differential Revision: https://phabricator.services.mozilla.com/D127240
2021-10-06 02:09:44 +00:00
Iulian Moraru 64193785d4 Backed out 3 changesets (bug 1724509) for causing marionette failures. CLOSED TREE
Backed out changeset d47ffc49daff (bug 1724509)
Backed out changeset b267592b49db (bug 1724509)
Backed out changeset b34151a18850 (bug 1724509)
2021-10-06 03:57:57 +03:00