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

1791 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou 62c067e92f Bug 1578037 - Disable tests that cause leaks on fission. r=johannh
Differential Revision: https://phabricator.services.mozilla.com//D44599
2019-09-04 07:18:42 +03:00
Nathan Froyd ab3b2432a1 Bug 1578531 - be even more careful about success when running dsymutil; r=nalexander
Even if we don't see error messages from `llvm-dsymutil`, we can still
generate dSYM bundles that `dump_syms` completely falls over on.  Let's
implement a super-careful check that actually examines the debug
information produced to ensure that `dump_syms` will accept our bundle.

Differential Revision: https://phabricator.services.mozilla.com/D44529

--HG--
extra : moz-landing-system : lando
2019-09-03 20:46:43 +00:00
Itiel cd710e0a58 Bug 1578145 - Fix submit/view buttons position in about:crashes for RTL r=gsvelto,ntim
Differential Revision: https://phabricator.services.mozilla.com/D44407

--HG--
extra : moz-landing-system : lando
2019-09-03 18:41:12 +00:00
Noemi Erli 92241d2f48 Backed out changeset 97ec7ec089c4 (bug 1576748) for bustage in symbolstore.py 2019-09-01 15:08:20 +03:00
Nathan Froyd 1793f8666d Bug 1576748 - make symbolstore.py complain loudly if expected output isn't found; r=nalexander
This change surfaces errors faster, and ensures that we don't silently
end up with empty crashreporter symbols if `dump_syms` can't run for
some reason.

Differential Revision: https://phabricator.services.mozilla.com/D43520

--HG--
extra : moz-landing-system : lando
2019-08-30 15:37:13 +00:00
Brindusan Cristian 1372429f15 Backed out changeset 9d271586649f (bug 1576748) for spidermonkey bustages. CLOSED TREE
--HG--
extra : rebase_source : 74a1fcf4140ab3fe02603565cc53e701b0ae7739
2019-08-30 18:23:40 +03:00
Nathan Froyd ce03852616 Bug 1576748 - make symbolstore.py complain loudly if expected output isn't found; r=nalexander
This change surfaces errors faster, and ensures that we don't silently
end up with empty crashreporter symbols if `dump_syms` can't run for
some reason.

Differential Revision: https://phabricator.services.mozilla.com/D43520

--HG--
extra : moz-landing-system : lando
2019-08-29 20:57:15 +00:00
Nathan Froyd 8d0937ce11 Bug 1576941 - be more careful about success when running dsymutil; r=nalexander
Various artifacts we produce don't actually have debug symbols, but
`llvm-dsymutil` will happily run on them and produce garbage for
`dump_syms` to look at.  Let's not do that.

Differential Revision: https://phabricator.services.mozilla.com/D43772

--HG--
extra : moz-landing-system : lando
2019-08-30 13:35:04 +00:00
Nathan Froyd 59daa65372 Bug 1577326 - use std::unique_ptr in the crashreporter client; r=gsvelto
`std::auto_ptr` is going away in C++17, so we might as well switch to
the approved thing now.

Differential Revision: https://phabricator.services.mozilla.com/D44042

--HG--
extra : moz-landing-system : lando
2019-08-30 05:35:12 +00:00
Noemi Erli 839b4f2f72 Backed out changeset f5c3925fab83 (bug 1576748) for bustage in symbolstore.py 2019-08-27 18:03:42 +03:00
Nathan Froyd 86440591dc Bug 1576748 - make symbolstore.py complain loudly if expected output isn't found; r=nalexander
This change surfaces errors faster, and ensures that we don't silently
end up with empty crashreporter symbols if `dump_syms` can't run for
some reason.

Differential Revision: https://phabricator.services.mozilla.com/D43520

--HG--
extra : moz-landing-system : lando
2019-08-27 14:30:53 +00:00
Nicholas Nethercote adb9edf389 Bug 1574388 - Implement PHC on Mac. r=gsvelto,glandium
But it is not yet enabled; bug 1576515 will do that.

Differential Revision: https://phabricator.services.mozilla.com/D42264

--HG--
extra : moz-landing-system : lando
2019-08-25 23:16:05 +00:00
Dustin J. Mitchell 48511543d2 Bug 1566365 - log output when test fails r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D42855

--HG--
extra : moz-landing-system : lando
2019-08-22 20:35:37 +00:00
Gabriele Svelto 303c5ce8d0 Bug 1566855 - Submit incomplete crashes by synthesizing a minimal .extra file with sensible crash annotations r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D42575

--HG--
rename : toolkit/crashreporter/test/browser/browser_aboutCrashesResubmit.js => toolkit/crashreporter/test/browser/browser_aboutCrashesIncomplete.js
extra : moz-landing-system : lando
2019-08-20 20:54:35 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Razvan Maries 3be1d4cc62 Backed out changeset 2b1ffc8004d5 (bug 1035892) for causing bug 1574515. a=backout 2019-08-19 18:04:05 +03:00
Gabriele Svelto f4e2add6c3 Bug 1035892 - Handle 64-bit addresses for EXC_BAD_ACCESS exceptions on Mac r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24356

--HG--
extra : moz-landing-system : lando
2019-08-15 19:44:15 +00:00
Jed Davis 51bcb910f3 Bug 1426526 - Remove references to the old Chromium temporary file prefix. r=gsvelto,florian
With the removal of the old Chromium file_util code, we should no longer
be using temporary files with names starting with "org.chromium.", so the
crash reporter and main thread I/O test no longer need to recognize that
prefix.

Differential Revision: https://phabricator.services.mozilla.com/D34629

--HG--
extra : moz-landing-system : lando
2019-08-14 22:48:43 +00:00
Gabriele Svelto beb62c4c31 Bug 1282776 - Finalize crash reports for child process crashes happening too early r=froydnj
This changes the way crash reports for child processes happening too early
during the child process' startup. Before bug 1547698 we wrote a partial
.extra file with those crashes that lacked the process type. The user would
not be notified of those crashes until she restarted Firefox and even when
submitted those crashes would be erroneously labeled as browser crashes.

After bug 1547698 we stopped writing .extra files entirely for those crashes
which left orphaned .dmp files among the pending crash reports.

This patch does three things to improve the situation:

* It writes a partial .extra file so that the crashes are detected at the next
  startup. So the user is still not notified directly of these crashes but she
  can report them later.
* It adds the process type to the .extra file so that the crash reporters are
  labelled correctly.
* It fixes a leak in the `pidToMinidump` hash-map. Since the crashes were
  not finalized the `ChildProcessData` strucutre associated with them would
  never be fred.

Differential Revision: https://phabricator.services.mozilla.com/D40810

--HG--
extra : moz-landing-system : lando
2019-08-09 14:23:19 +00:00
Brian Hackett 793df565cd Bug 1570089 Part 2 - Associate replaying process crash reports with their own pid, r=gsvelto.
Depends on D39925

Differential Revision: https://phabricator.services.mozilla.com/D39926

--HG--
extra : moz-landing-system : lando
2019-08-01 11:41:58 +00:00
Gabriele Svelto 50f416564f Bug 1570789 - Remove the unused field from GeckoView/Fennec crash reports r=nalexander,agi
Differential Revision: https://phabricator.services.mozilla.com/D40331

--HG--
extra : moz-landing-system : lando
2019-08-02 08:26:05 +00:00
Nicholas Nethercote e38691d6e6 Bug 1569862 - Implement PHC on Windows. r=glandium
The most important part is the `GetPHCAddrInfo()` function in
`exception_handler.cc`, which extracts a crash address from an
`EXCEPTION_POINTERS` object.

The commit also changes the code so that it works if MozStackWalk() returns an
empty stack trace. This happens in practice on Windows on automation sometimes,
I'm not sure why.

The rest of the commit is just plumbing and the smoothing over of minor
platform differences.

Differential Revision: https://phabricator.services.mozilla.com/D39841

--HG--
extra : moz-landing-system : lando
2019-08-02 00:33:04 +00:00
Jed Davis 6b2b3d2faa Bug 1511556 - Don't leak crash annotation pipes when the crash reporter is disabled. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D38953

--HG--
extra : moz-landing-system : lando
2019-07-23 16:04:05 +00:00
Nicholas Nethercote 38dbbfcffc Bug 1523276 - Implement PHC, a probabilistic heap checker. r=glandium,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D25021

--HG--
extra : rebase_source : 86e94499f746b18a596130341692c6a9992d4867
2019-07-03 09:26:11 +10:00
Sylvestre Ledru 90fac8fa22 Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37217

--HG--
extra : moz-landing-system : lando
2019-07-10 12:03:37 +00:00
Andreea Pavel b698eeec56 Backed out changeset 3d59cb02b6ff (bug 1562642) for eslint failure on a CLOSED TREE 2019-07-10 14:44:29 +03:00
Sylvestre Ledru fd95abf361 Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37217

--HG--
extra : moz-landing-system : lando
2019-07-10 11:15:25 +00:00
shindli a060733df8 Backed out changeset b59c9bfa328d (bug 1541603) for causing xpcshell failure in toolkit/crashreporter/test/unit_ipc/test_content_annotation.js CLOSED TREE 2019-07-09 02:10:29 +03:00
mandy cheang b5650ccc80 Bug 1541603 - remove creation of minidumps folder on startup, create it lazily in crash reporter. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D36370

--HG--
extra : moz-landing-system : lando
2019-07-08 18:25:09 +00:00
Alvina Waseem 627ccdaaa3 Bug 1558372 - Fixed Crash Reporter on Mac. r=snorp,froydnj,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D35877

--HG--
extra : moz-landing-system : lando
2019-06-27 19:51:04 +00:00
Sylvestre Ledru fc2eb5393c Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37146

--HG--
extra : moz-landing-system : lando
2019-07-08 09:27:47 +00:00
Victor Porof 30de4722a3 Bug 1561435 - Format toolkit/crashreporter/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36054

--HG--
extra : source : 0b29c27eb14e47c44674fc7aa8e90f74e4430233
2019-07-05 11:15:04 +02:00
Andrew McCreight f3d1db0145 Bug 1560977 - Annotate crash reports if Fission is enabled. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D36530

--HG--
extra : moz-landing-system : lando
2019-07-02 21:08:55 +00:00
Martin Stransky 14cac6b6f3 Bug 1561859 - [Wayland] Expose active DRM on Wayland in about:support & telemetry, r=kats
Differential Revision: https://phabricator.services.mozilla.com/D36248

--HG--
extra : moz-landing-system : lando
2019-07-02 09:17:22 +00:00
shindli 8152cee1b1 Backed out changeset 6e378fbef555 (bug 1561859) for gtest crashes on libwayland-client.so.0.3.0 CLOSED TREE 2019-07-01 18:57:33 +03:00
Martin Stransky f785fa7021 Bug 1561859 - [Wayland] Expose active DRM on Wayland in about:support & telemetry, r=kats
Differential Revision: https://phabricator.services.mozilla.com/D36248

--HG--
extra : moz-landing-system : lando
2019-07-01 13:44:14 +00:00
Narcis Beleuzu a89b67e772 Backed out 15 changesets (bug 1479960, bug 1426526, bug 1534780, bug 1536697) for toolchain bustages on UniquePtrExtensions.h . CLOSED TREE
Backed out changeset a8518ea4b594 (bug 1479960)
Backed out changeset 7172762c4b87 (bug 1536697)
Backed out changeset 2ea5ccb8f3a1 (bug 1426526)
Backed out changeset d892a888fe9c (bug 1426526)
Backed out changeset 2c4d12bdfec3 (bug 1479960)
Backed out changeset 8a322064cf6d (bug 1479960)
Backed out changeset 47d387b6cd4a (bug 1479960)
Backed out changeset 8332565a6943 (bug 1479960)
Backed out changeset 9d7f1835f96f (bug 1479960)
Backed out changeset 0aa8af4965c5 (bug 1479960)
Backed out changeset 036809330a51 (bug 1479960)
Backed out changeset 39e18373e3d3 (bug 1479960)
Backed out changeset 6c2b995a9d30 (bug 1479960)
Backed out changeset 3c2b31744645 (bug 1534780)
Backed out changeset 26bb00a94d5d (bug 1534780)
2019-06-28 22:42:00 +03:00
Gabriele Svelto 74276da797 Bug 1536221 - Re-enable mochitests and xpcshell tests that depend on the crash reporter on Windows/AArch64 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35995

--HG--
extra : moz-landing-system : lando
2019-06-26 13:15:24 +00:00
Jed Davis 142fe6ae22 Bug 1426526 - Remove references to the old Chromium temporary file prefix. r=gsvelto,florian
With the removal of the old Chromium file_util code, we should no longer
be using temporary files with names starting with "org.chromium.", so the
crash reporter and main thread I/O test no longer need to recognize that
prefix.

Differential Revision: https://phabricator.services.mozilla.com/D34629

--HG--
extra : moz-landing-system : lando
2019-06-20 22:40:42 +00:00
Ciure Andrei 72f3f971fb Backed out 15 changesets (bug 1479960, bug 1426526, bug 1534780, bug 1536697) for causing build bustages CLOSED TREE
Backed out changeset 5645e0cc3915 (bug 1479960)
Backed out changeset a7c09894c6a0 (bug 1536697)
Backed out changeset 510f03381af9 (bug 1426526)
Backed out changeset 7cf4735a088f (bug 1426526)
Backed out changeset 41080844e645 (bug 1479960)
Backed out changeset fdba3c5f8fd0 (bug 1479960)
Backed out changeset 26a8ebcb2db4 (bug 1479960)
Backed out changeset d0d383e5bae1 (bug 1479960)
Backed out changeset c418095bb7b7 (bug 1479960)
Backed out changeset 7b78b1945532 (bug 1479960)
Backed out changeset c47d47d4073d (bug 1479960)
Backed out changeset 71253b62a633 (bug 1479960)
Backed out changeset ae525f20bdbb (bug 1479960)
Backed out changeset 7fba719355d7 (bug 1534780)
Backed out changeset 771db331860a (bug 1534780)
2019-06-20 19:54:57 +03:00
Jed Davis 1ad12afe4e Bug 1426526 - Remove references to the old Chromium temporary file prefix. r=gsvelto,florian
With the removal of the old Chromium file_util code, we should no longer
be using temporary files with names starting with "org.chromium.", so the
crash reporter and main thread I/O test no longer need to recognize that
prefix.

Differential Revision: https://phabricator.services.mozilla.com/D34629

--HG--
extra : moz-landing-system : lando
2019-06-17 02:20:08 +00:00
Gabriele Svelto c4d9ffe88a Bug 1555954 - Serialize content processes' exception-time annotations in binary format when sending them to the main process r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D33376

--HG--
extra : moz-landing-system : lando
2019-06-18 19:19:33 +00:00
Gabriele Svelto 4ca4d77829 Bug 1558554 - Properly detect low-commit space scenarios on Windows r=dmajor
This uses GetPerformanceInformation() to measure how much commit space is
available globally. Previously we relied on GlobalMemoryStatusEx() but in
spite of the function name the commit-space values it returns are
*per process* and thus unreliable. Available physical memory measurement has
also been removed since it was never used and we don't plan on using it
anytime soon.

Differential Revision: https://phabricator.services.mozilla.com/D35018

--HG--
extra : moz-landing-system : lando
2019-06-14 20:56:41 +00:00
Jan Varga 82fad8077a Bug 1542572 - Add more temporary logging to LocalStorageShutdownTimeout crash annotation; r=asuth dr=chutten
Differential Revision: https://phabricator.services.mozilla.com/D34295
2019-06-09 21:46:34 +02:00
Sylvestre Ledru 4c5d57afc4 Bug 1524194 - Do not add stack pointer to clobber list r=gsvelto
Cherry-pick upstream patch to address a build issue with gcc 9

https://chromium.googlesource.com/linux-syscall-support/+/8048ece6c16c91acfe0d36d1d3cc0890ab6e945c

Differential Revision: https://phabricator.services.mozilla.com/D34316

--HG--
extra : moz-landing-system : lando
2019-06-14 07:14:08 +00:00
Christoph Kerschbaumer 4c50a83f11 Bug 1497195: Apply Meta CSP to about:crashes.
Differential Revision: https://phabricator.services.mozilla.com/D34125

--HG--
extra : moz-landing-system : lando
2019-06-07 09:50:48 +00:00
Nicholas Nethercote f6f463d037 Bug 1556891 - Remove unused defines from nsExceptionHandler.cpp. r=gsvelto
Depends on D33737

Differential Revision: https://phabricator.services.mozilla.com/D33738

--HG--
extra : moz-landing-system : lando
2019-06-05 06:42:52 +00:00
Nicholas Nethercote 6a60a35c6e Bug 1556891 - Remove `base` argument from `XP_TTOA` and `XP_STOA`. r=gsvelto
It's ignored on non-Windows platforms, and all callsites use 10.

Differential Revision: https://phabricator.services.mozilla.com/D33737

--HG--
extra : moz-landing-system : lando
2019-06-05 06:43:19 +00:00
Gabriele Svelto 76021a664b Bug 1555917 - Exception handler and crash reporter client cleanup r=froydnj
This patch includes multiple changes cleaning up various aspects of the crash
reporter client and exception handler:

* Some Unix-specific code was moved out from the base crashreporter client
  code and into the appropriate platform implementation
* Functions used to open files in the crashreporter client now accept C++
  `std::ios` flags instead of unreadable booleans
* Useless character conversion routines were removed from the
  minidump-analyzer
* Crash annotations are not serialized into a huge string anymore every time
  they change. They are all written out individually during an exception.
* `WriteEscapedMozCrashReason()` uses the exception-safe `my_strlen()` instead
  of plain `strlen()`
* The Windows-specific DLL-blocklist shutdown was removed from the Linux &
  macOS Breakpad callbacks
* The `CrashReporterHost`, `CrashReporterClient` and
  `CrashReporterMetadataShmem` classes now take `nsACString` references
  instead of `nsCString` ones since they never modify their contents

Differential Revision: https://phabricator.services.mozilla.com/D33267

--HG--
extra : moz-landing-system : lando
2019-05-31 21:54:03 +00:00
Andrew Osmond fd0fefd13a Bug 1554540 - Expose window protocol (X11, Wayland) in nsIGfxInfo and about:support. r=kats,stransky,flod
Differential Revision: https://phabricator.services.mozilla.com/D32651
2019-05-28 06:40:34 -04:00