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

149 Коммитов

Автор SHA1 Сообщение Дата
Gabriele Svelto 93a12df7cb Bug 1776279 - Remove the ContainsMemoryReport annotation r=rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D150183
2022-06-24 19:49:50 +00:00
Jamie Nicol 00cdec76f5 Bug 1775480 - Add more crash annotations for bug 1772839. r=gfx-reviewers,aosmond
Add crash annotations for the total number of webrender renderers, as
well as the number that are currently not paused, as this error could
be caused by having multiple renderers in a resumed state
concurrently. Additionally, add some gfxCriticalNotes for potentially
relevant error cases.

Differential Revision: https://phabricator.services.mozilla.com/D150000
2022-06-22 15:31:56 +00:00
Randell Jesup d3b15de2f1 Bug 1762920: remove whitelist from xpcom/crashreporter r=nika,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D142843
2022-05-16 01:37:39 +00:00
Butkovits Atila d5e0f927a0 Backed out changeset 9d6d0af194af (bug 1762920) for causing failures at test_crash_manager. CLOSED TREE 2022-05-13 01:44:55 +03:00
Randell Jesup e4786a68a6 Bug 1762920: remove whitelist from xpcom/crashreporter r=nika,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D142843
2022-05-12 21:07:25 +00:00
Alexandre Lissy bd7a7312d0 Bug 1768028 - Send Utility sandbox information in crash ping r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D145633
2022-05-06 16:26:12 +00:00
Gabriele Svelto 4e25142c69 Bug 1762949 - Explicitly flag all crash reports as throttleable when they've not been submitted manually r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D143185
2022-04-25 06:37:17 +00:00
Gabriele Svelto 95e13b1839 Bug 1702509 - Add an annotation describing how a crash report was submitted r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D143184
2022-04-21 12:43:11 +00:00
criss e8d6d26858 Backed out changeset 5382bd66d8f7 (bug 1702509) for causing failures on browser_UnsubmittedCrashHandler.js . CLOSED TREE 2022-04-20 14:18:20 +03:00
Gabriele Svelto 08af3280d9 Bug 1702509 - Add an annotation describing how a crash report was submitted r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D143184
2022-04-20 08:08:28 +00:00
Alexandre Lissy d9ad186ba7 Bug 1753424 - Add SandboxingKind for UtilityProcess crash annotations r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D140742
2022-03-26 19:46:42 +00:00
Cristian Tuns b217ab7e55 Backed out 6 changesets (bug 1753424) for causing build bustages CLOSED TREE
Backed out changeset 930136daf858 (bug 1753424)
Backed out changeset d62c1e5d1881 (bug 1753424)
Backed out changeset 911060d2bd8e (bug 1753424)
Backed out changeset cce723862a92 (bug 1753424)
Backed out changeset 97b3fd69185b (bug 1753424)
Backed out changeset 4748652694c7 (bug 1753424)
2022-03-26 14:49:47 -04:00
Alexandre Lissy d8a614f619 Bug 1753424 - Add SandboxingKind for UtilityProcess crash annotations r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D140742
2022-03-26 09:53:46 +00:00
Butkovits Atila 68679c8f29 Backed out 5 changesets (bug 1753424) for causing bustages. CLOSED TREE
Backed out changeset e2b40064eb59 (bug 1753424)
Backed out changeset 0892c1d3c379 (bug 1753424)
Backed out changeset 4df499ef4647 (bug 1753424)
Backed out changeset f27fbfb9e8f1 (bug 1753424)
Backed out changeset 0f244f2eb2de (bug 1753424)
2022-03-26 16:39:16 +02:00
Alexandre Lissy 454c3f7bc3 Bug 1753424 - Add SandboxingKind for UtilityProcess crash annotations r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D140742
2022-03-26 09:53:46 +00:00
Gabriele Svelto 8a17aeccc2 Bug 1756505 - Remove the ThreadIdNameMapping annotation and all the associated machinery r=Gankra
This has several implications:
* A race-condition that could manifest itself both on macOS and Linux is
  removed. The race could happen if we took the lock to the thread name
  mapping while another suspended thread was in the memory allocator. Taking
  the lock required an allocation thus the thread acting within the exception
  handler would get stuck.
* We save a few KiBs of memory per process since we don't have to keep the
  thread name mapping around.
* Thread startup will be slightly faster since the first thing each new thread
  did was to fill its own mapping.

Differential Revision: https://phabricator.services.mozilla.com/D139319
2022-03-15 09:23:38 +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
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
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
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
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
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
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
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
Kris Maglione 18ef3e62db Bug 1724509: Part 1 - Annotate crash report with last-startup-was-crash and startup cache status. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D122028
2021-10-05 19:06:43 +00:00
Toshihito Kikuchi 01adc17c9a Bug 1729918 - Annotate the user interaction state. r=haik
This patch adds a crash annotation named *LastInteractionDuration*, that indicates
the length of the user interaction duration if the crash happen when the user is
inactive.

Differential Revision: https://phabricator.services.mozilla.com/D125718
2021-10-05 04:41:53 +00:00
Narcis Beleuzu 3437927335 Backed out changeset 656210ea1124 (bug 1729918) for Bp-hybrid bustages on AvailableMemoryWatcher.cpp . CLOSED TREE 2021-10-04 17:46:18 +03:00
Toshihito Kikuchi b214f47578 Bug 1729918 - Annotate the user interaction state. r=haik
This patch adds a crash annotation named *LastInteractionDuration*, that indicates
the length of the user interaction duration if the crash happen when the user is
inactive.

Differential Revision: https://phabricator.services.mozilla.com/D125718
2021-10-04 13:21:23 +00:00
Marian-Vasile Laza fc8b433cc4 Backed out changeset cda6b6fe842a (bug 1729918) for causing buid bustages. CLOSED TREE 2021-10-04 11:21:01 +03:00
Toshihito Kikuchi 00b6865582 Bug 1729918 - Annotate the user interaction state. r=haik
This patch adds a crash annotation named *LastInteractionDuration*, that indicates
the length of the user interaction duration if the crash happen when the user is
inactive.

Differential Revision: https://phabricator.services.mozilla.com/D125718
2021-10-04 07:01:46 +00:00
Marian-Vasile Laza b50f0ce625 Backed out changeset 65f8b0434e1e (bug 1708580) for causing Btime failures. CLOSED TREE 2021-08-14 00:44:48 +03:00
Aaron Klotz d8a5c41db0 Bug 1708580: When the "quit-application" event fires in GeckoView, annotate the GeckoThread.State and force crash on nightly and early beta; r=agi
AFAICT, all roads lead though [`nsAppStartup::Quit`](https://searchfox.org/mozilla-central/rev/0fec57c05d3996cc00c55a66f20dd5793a9bfb5d/toolkit/components/startup/nsAppStartup.cpp#448),
which is responsible for firing the `"quit-application"` observer notification
and then posting the `nsAppExitEvent` that causes the `nsAppShell` to break out
of its event loop and proceed with shutdown.

If we trigger a native crash in the observer, we should be able to capture a
symbolicated stack of whatever called `Quit`. We might as well force-crash
anyway, since AC is going to throw an exception regardless...

Before we crash, we annotate the current `GeckoThread` state to enable us to
find out whether we were fully initialized at the time of the shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D122256
2021-08-13 15:45:37 +00:00
Dorel Luca c5bcb28b25 Backed out changeset 27e6d1f6f6c1 (bug 1708580) on Dev's request. CLOSED TREE 2021-08-12 22:30:34 +03:00
Aaron Klotz 9daf72aa1f Bug 1708580: When the "quit-application" event fires in GeckoView, annotate the GeckoThread.State and force crash on nightly and early beta; r=agi
AFAICT, all roads lead though [`nsAppStartup::Quit`](https://searchfox.org/mozilla-central/rev/0fec57c05d3996cc00c55a66f20dd5793a9bfb5d/toolkit/components/startup/nsAppStartup.cpp#448),
which is responsible for firing the `"quit-application"` observer notification
and then posting the `nsAppExitEvent` that causes the `nsAppShell` to break out
of its event loop and proceed with shutdown.

If we trigger a native crash in the observer, we should be able to capture a
symbolicated stack of whatever called `Quit`. We might as well force-crash
anyway, since AC is going to throw an exception regardless...

Before we crash, we annotate the current `GeckoThread` state to enable us to
find out whether we were fully initialized at the time of the shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D122256
2021-08-12 19:12:49 +00:00
Haik Aftandilian 4c3aebfa63 Bug 1714382 - Patch 2 - Correct description of MacMemoryPressureSysctl r=jrmuizel DONTBUILD
Correct the description of the MacMemoryPressureSysctl crash annotation to indicate 1 is the value for normal memory pressure.

The integer values are from the XNU kernel event.h header file and observable with `$ sysctl kern.memorystatus_vm_pressure_level`.

Differential Revision: https://phabricator.services.mozilla.com/D122032
2021-08-10 15:08:36 +00:00
Gabriele Svelto 65f2ae5b03 Bug 1723934 - Remove old and useless crash annotations r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D121709
2021-08-09 20:08:17 +00:00
Haik Aftandilian 66b55bf012 Bug 1714382 - Include the Mac memory pressure state in crash reports r=spohl,KrisWright
Subscribe to memory pressure events on macOS and add crash report annotations to parent and content process crash reports that can be used to determine if the system was under memory pressure at the time of the crash.

Include the memory pressure level reported via the DISPATCH_SOURCE_TYPE_MEMORYPRESSURE dispatch with timestamps of transitions, the memory pressure level as read from the kern.memorystatus_vm_pressure_level sysctl, and a measurement of the percentage of available memory in the system read from the kern.memorystatus_level sysctl.

Differential Revision: https://phabricator.services.mozilla.com/D116725
2021-07-27 16:17:43 +00:00
Iulian Moraru ee9e1dd7c0 Backed out changeset 4f0fe70a0e34 (bug 1714382) for causing assertion failures on nsCycleCollector.cpp. CLOSED TREE 2021-07-27 02:48:53 +03:00
Haik Aftandilian b00b0d585c Bug 1714382 - Include the Mac memory pressure state in crash reports r=spohl,KrisWright
Subscribe to memory pressure events on macOS and add crash report annotations to parent and content process crash reports that can be used to determine if the system was under memory pressure at the time of the crash.

Include the memory pressure level reported via the DISPATCH_SOURCE_TYPE_MEMORYPRESSURE dispatch with timestamps of transitions, the memory pressure level as read from the kern.memorystatus_vm_pressure_level sysctl, and a measurement of the percentage of available memory in the system read from the kern.memorystatus_level sysctl.

Differential Revision: https://phabricator.services.mozilla.com/D116725
2021-07-26 22:52:33 +00:00
Kris Maglione 3ee95f8b32 Bug 1716849: Add crash annotation for error when aborting for failed module import. r=mccr8
There are a number of modules that we import from C++ and can't continue
running without. We have a number of crashes for some of those failed loads. A
lot of them are from OOMs or corruption, but we're not sure about the rest.

This patch adds a crash annotation with the details of the error wherever we
abort for failing to load a module.

Differential Revision: https://phabricator.services.mozilla.com/D120290
2021-07-22 16:58:02 +00:00
Butkovits Atila f1369e39ea Backed out changeset ef812b3d914d (bug 1716849) for causing assertion failures at nsImportModule.cpp. CLOSED TREE 2021-07-22 06:49:23 +03:00
Kris Maglione f69238e72d Bug 1716849: Add crash annotation for error when aborting for failed module import. r=mccr8
There are a number of modules that we import from C++ and can't continue
running without. We have a number of crashes for some of those failed loads. A
lot of them are from OOMs or corruption, but we're not sure about the rest.

This patch adds a crash annotation with the details of the error wherever we
abort for failing to load a module.

Differential Revision: https://phabricator.services.mozilla.com/D120290
2021-07-22 01:28:22 +00:00
Valentin Gosu daedfd16fa Bug 1716543 - Annotate nsStandardURL::SanityCheck with URL offsets r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D117894
2021-06-17 11:14:17 +00:00
Christoph Kerschbaumer 54389c7bbb Bug 1716556: Remove unused crash annotation for loadinfo in nsIOService r=valentin DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D117902
2021-06-15 14:53:21 +00:00
Gabriele Svelto 4bdb354ea7 Bug 1703761 - Flag crash reports intercepted by WER with a special annotation r=KrisWright
Since this added the new flag to the crash ping I also took the time to update
the crash ping documentation with all the flags that have been added and
removed over the last few versions of Firefox.

Depends on D115380

Differential Revision: https://phabricator.services.mozilla.com/D116017
2021-06-11 09:59:50 +00:00
Iulian Moraru d5be2d4af2 Backed out 5 changesets (bug 1682518, bug 1703761, bug 1711418, bug 1697895) for causing build bustages on nsEmbedFunctions.cpp. CLOSED TREE
Backed out changeset d747dd950198 (bug 1711418)
Backed out changeset 58092e594233 (bug 1711418)
Backed out changeset d9b5dd9f7307 (bug 1703761)
Backed out changeset 345c36d8e46b (bug 1682518)
Backed out changeset a9be55acfd91 (bug 1697895)
2021-06-11 07:08:38 +03:00
Gabriele Svelto 1ed394a645 Bug 1703761 - Flag crash reports intercepted by WER with a special annotation r=KrisWright
Since this added the new flag to the crash ping I also took the time to update
the crash ping documentation with all the flags that have been added and
removed over the last few versions of Firefox.

Depends on D115380

Differential Revision: https://phabricator.services.mozilla.com/D116017
2021-06-10 22:01:33 +00:00
Brindusan Cristian df90ffe9bc Backed out 5 changesets (bug 1697895, bug 1682518, bug 1703761, bug 1711418) for causing Windows 2012 x64 asan buid bustages.
CLOSED TREE

Backed out changeset 4cc2cb3653f2 (bug 1711418)
Backed out changeset 02cf2dc4c3c8 (bug 1711418)
Backed out changeset ca35e73d9445 (bug 1703761)
Backed out changeset 43c12d3f5c4f (bug 1682518)
Backed out changeset d75aef90ac53 (bug 1697895)
2021-06-10 16:30:44 +03:00