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

1866 Коммитов

Автор SHA1 Сообщение Дата
David Teller 80532f722f Bug 1587722 - Move crash memory statistics to the parent process;r=gsvelto
Depends on D55933

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

--HG--
extra : moz-landing-system : lando
2020-01-07 10:07:51 +00:00
David Teller e8dd86b0f2 Bug 1587722 - Tests for memory statistics on crashes;r=gsvelto
Depends on D55457

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

--HG--
rename : toolkit/crashreporter/test/unit/test_oom_annotation_windows.js => toolkit/crashreporter/test/unit/test_oom_annotation.js
extra : moz-landing-system : lando
2020-01-07 10:07:23 +00:00
David Teller 208fe7f860 Bug 1587722 - Memory statistics for Linux crashes;r=gsvelto
Depends on D55111

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

--HG--
extra : moz-landing-system : lando
2020-01-07 10:06:55 +00:00
Brian Hackett cef4dfc259 Bug 1598951 Part 1 - Avoid connecting to parent when replaying remotely, r=gsvelto.
Depends on D58436

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

--HG--
extra : moz-landing-system : lando
2020-01-03 16:47:41 +00:00
Brian Hackett a29b8d6b25 Bug 1603856 Part 1 - Specify crashing task explicitly when requesting minidumps, r=gsvelto.
Differential Revision: https://phabricator.services.mozilla.com/D57200

--HG--
extra : moz-landing-system : lando
2020-01-03 16:47:47 +00:00
Dorel Luca 212a51bc09 Backed out 5 changesets (bug 1603856, bug 1606447, bug 1605584, bug 1598951) for build bustages. CLOSED TREE
Backed out changeset cf403935cf9b (bug 1598951)
Backed out changeset af6e8b6be574 (bug 1605584)
Backed out changeset fbfa92bd4ec8 (bug 1603856)
Backed out changeset a6d13450295d (bug 1603856)
Backed out changeset e0b049ff115f (bug 1606447)

--HG--
rename : toolkit/recordreplay/Recording.cpp => toolkit/recordreplay/File.cpp
rename : toolkit/recordreplay/Recording.h => toolkit/recordreplay/File.h
rename : toolkit/recordreplay/ExternalCall.cpp => toolkit/recordreplay/MiddlemanCall.cpp
rename : toolkit/recordreplay/ExternalCall.h => toolkit/recordreplay/MiddlemanCall.h
2020-01-03 18:43:40 +02:00
Brian Hackett 8dc52ffa8f Bug 1598951 Part 1 - Avoid connecting to parent when replaying remotely, r=gsvelto.
Depends on D58436

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

--HG--
extra : moz-landing-system : lando
2020-01-02 16:27:35 +00:00
Brian Hackett 3bb2a00122 Bug 1603856 Part 1 - Specify crashing task explicitly when requesting minidumps, r=gsvelto.
Differential Revision: https://phabricator.services.mozilla.com/D57200

--HG--
extra : moz-landing-system : lando
2019-12-31 16:10:29 +00:00
Arthur Iakab f26446fbad Backed out 3 changesets (bug 1587722) for causing xpcshell failures on test_crashreporter_crash.js CLOSED TREE
Backed out changeset 6aad53d9e447 (bug 1587722)
Backed out changeset 7d664635c1dc (bug 1587722)
Backed out changeset c9dbcfa6a938 (bug 1587722)

--HG--
rename : toolkit/crashreporter/test/unit/test_oom_annotation.js => toolkit/crashreporter/test/unit/test_oom_annotation_windows.js
2019-12-30 17:28:31 +02:00
David Teller 0cfbf029b3 Bug 1587722 - Move crash memory statistics to the parent process;r=gsvelto
Depends on D55933

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

--HG--
extra : moz-landing-system : lando
2019-12-30 09:39:24 +00:00
David Teller ea6ba5c884 Bug 1587722 - Tests for memory statistics on crashes;r=gsvelto
Depends on D55457

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

--HG--
rename : toolkit/crashreporter/test/unit/test_oom_annotation_windows.js => toolkit/crashreporter/test/unit/test_oom_annotation.js
extra : moz-landing-system : lando
2019-12-26 15:33:24 +00:00
David Teller dc16c9a990 Bug 1587722 - Memory statistics for Linux crashes;r=gsvelto
Depends on D55111

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

--HG--
extra : moz-landing-system : lando
2019-12-12 16:06:53 +00:00
Manish Giri 6807abcb49 Bug 1604606 - Remove redundant function declaration in cpp file. r=sylvestre
Depends on D58228

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

--HG--
extra : moz-landing-system : lando
2019-12-26 08:39:12 +00:00
Aaron Klotz 1771877250 Bug 1603714: Backed out changeset 44b14e9e661f as this information is no longer needed;
Differential Revision: https://phabricator.services.mozilla.com/D58046

--HG--
extra : moz-landing-system : lando
2019-12-20 21:06:32 +00:00
Gabriele Svelto ca8ae39a56 Bug 1544147 - Ensure orphaned crashes are properly notified to the rest of the system r=froydnj
When a content or plug-in process crashes too early we haven't initialized the
CrashReporterHost for that process. This will cause the crash to be orphaned,
i.e. to miss most of its crash annotations. We added code to finalize those
crashes in bug 1282776 so that we wouldn't miss them entirely. This ensured
that crash reports would have both their .dmp and .extra files but the patch
failed to modify the code that notified various listeners about the crash
report's presence.

This changes always send the crash ID alongside the crash notifications, even
for orphaned crashes, so that listeners such as the content crash handler or
the test harnesses can always find the minidump and .extra file. Additionally
orphaned crashes are recorded in the CrashManager and in telemetry just like
normal crashes.

This also re-enables dom/ipc/tests/process_error.xul which failed frequently
because of this bug.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 17:50:45 +00:00
Aaron Klotz 0b62b4b5ac Bug 1603714: Add temporary, Nightly-only crash annotations to UntrustedModulesData and dependencies to determine failure location; r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D57558

--HG--
extra : moz-landing-system : lando
2019-12-18 15:23:02 +00:00
inspiro 3769a834f6 Bug 1516279 - Add "Submit All" button to about:crashes r=gsvelto,fluent-reviewers
Bug 151627 - Add "Submit All" button to about:crashes to submit all pending crashes with single click.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 15:33:09 +00:00
Kris Maglione 9853440599 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00
Kris Maglione 94e3b0bd8d Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
shindli 91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione 3ca78ce8e3 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione 16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Noemi Erli 7c58b57c69 Backed out 2 changesets (bug 1587722) for causing Linux browser-chrome failures CLOSED TREE
Backed out changeset c8e7456abc5b (bug 1587722)
Backed out changeset 19ffd117ebbd (bug 1587722)

--HG--
rename : toolkit/crashreporter/test/unit/test_oom_annotation.js => toolkit/crashreporter/test/unit/test_oom_annotation_windows.js
2019-12-10 13:06:50 +02:00
David Teller ff689ffe19 Bug 1587722 - Tests for memory statistics on crashes;r=gsvelto
Depends on D55457

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

--HG--
rename : toolkit/crashreporter/test/unit/test_oom_annotation_windows.js => toolkit/crashreporter/test/unit/test_oom_annotation.js
extra : moz-landing-system : lando
2019-12-10 08:44:26 +00:00
David Teller 5175676550 Bug 1587722 - Memory statistics for Linux crashes;r=gsvelto
Depends on D55111

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

--HG--
extra : moz-landing-system : lando
2019-12-10 10:11:09 +00:00
Noemi Erli 82d41a33b2 Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione fa3556c3fc Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00:00
Kris Maglione 910eab35d2 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Daniel Varga 84a601a6d4 Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione b5238224ba Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:22 +00:00
Kris Maglione 20da940e14 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:14 +00:00
Gabriele Svelto 4e2db3a3b5 Bug 1280561 - Wait for crashes to be registered by the crash manager before submitting them r=mconley
We wait for the crash to be recorded in the crash manager only for the
submission that will also be recorded. This is required because those crashes
are either content or plug-in crashes and the crash manager is aware of them.
Crash reports submitted from about:crashes are not recorded because they are
not known to the crash manager and thus we shouldn't wait for them.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 17:56:46 +00:00
Gabriele Svelto 5dc21d568c Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

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

--HG--
extra : moz-landing-system : lando
2019-12-06 09:17:57 +00:00
David Teller 43bf0f8688 Bug 1587721 - Memory statistics for crashes under macOS;r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D55111

--HG--
extra : moz-landing-system : lando
2019-12-03 11:53:45 +00:00
Ciure Andrei 313f24f785 Backed out changeset 71af6290f436 (bug 1587721) for causing nsExceptionHandler.cpp bustages CLOSED TREE 2019-12-02 17:45:17 +02:00
David Teller b533e8f9a7 Bug 1587721 - Memory statistics for crashes under macOS;r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D55111

--HG--
extra : moz-landing-system : lando
2019-12-02 15:21:14 +00:00
Gabriele Svelto d0e4d2c6c2 Bug 1420363 - Write crash annotations as JSON r=froydnj,agi
This patch rolls up all the required changes for this purpose. Since the
whole crash reporting flow must understand the new format it's not possible
to land this as separate patches as individually they would be broken. This
patch includes the following changes:

* Changes to the crash reporting machinery to write out annotations as JSON,
  these includes changes to the DLL blocklist code that must be run at crash
  time.
* Modifications to the crash reporter client so that it can read and
  submit the new format; this includes platform-specific changes to the
  Breakpad libraries it uses for submitting crashes.
* Modifications to the minidump-analyzer to understand and process the new
  format correctly.
* Modifications to the crash manager to understand and process the new format
  correctly.
* Modifications to GeckoView's crash handler to understand and submit the
  new format correctly.
* Added new tests to cover the new format and modified existing ones to
  accomodate the new one.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 13:18:35 +00:00
qiaopengcheng 5209b0b401 Bug 1403893 - Make Breakpad print out the MIPS floating point registers correctly. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54730

--HG--
extra : moz-landing-system : lando
2019-11-26 14:52:55 +00:00
Gabriele Svelto f8581fc656 Bug 1599449 - Add bug 1371390 to the breakpad patches we apply locally to prevent updates from clobbering it r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54728

--HG--
extra : moz-landing-system : lando
2019-11-26 14:42:24 +00:00
kriswright 10c317e37e Bug 1593847 - Increase the buffer size for reading in /proc/cpuinfo entries r=gsvelto
On some linux machines, the cpu flags exceed the max buffer size of 512 characters. Doubling the buffer size makes room for these flags, so the minidump writer doesn't exit after reading the first `flags` entry, which falsely interprets the highest cpu id as 0.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 23:58:28 +00:00
Arthur Iakab 4d19458ecd Backed out changeset 92fa0186cb81 (bug 1576748) for build bustage on symbolstore.py CLOSED TREE 2019-11-25 16:55:58 +02:00
Nathan Froyd e513689df3 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-11-25 14:13:07 +00:00
Gabriele Svelto 6157086d55 Bug 1598288 - Modernize code still using deprecated jsoncpp classes r=daoshengmu,chutten
Differential Revision: https://phabricator.services.mozilla.com/D54124

--HG--
extra : moz-landing-system : lando
2019-11-22 18:03:28 +00:00
Steven Michaud ed48f3e76f Bug 1371390 - Pay attention to macho images' cpusubtype when creating minidumps (revised). r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D53820

--HG--
extra : moz-landing-system : lando
2019-11-19 21:42:37 +00:00
Marco Castelluccio 94c95262e2 Bug 1593230 - Retry uploading symbols on 429 too. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D53715

--HG--
extra : moz-landing-system : lando
2019-11-19 19:14:03 +00:00
Andreea Pavel da1f003596 Backed out changeset da61ebbdb3a5 (bug 1371390) as requested by :smichaud a=backout 2019-11-17 18:22:54 +02:00
Razvan Maries b90bde90fc Backed out changeset 1603f5abc56e (bug 1420363) for perma fails on test_busy_hang.xul. CLOSED TREE
--HG--
extra : rebase_source : 02c0d2f9f92f0a01ef57e4f9b38a008f6bc0eb50
2019-11-16 13:00:43 +02:00
Gabriele Svelto fb2b45f492 Bug 1420363 - Write crash annotations as JSON r=froydnj,agi
This patch rolls up all the required changes for this purpose. Since the
whole crash reporting flow must understand the new format it's not possible
to land this as separate patches as individually they would be broken. This
patch includes the following changes:

* Changes to the crash reporting machinery to write out annotations as JSON,
  these includes changes to the DLL blocklist code that must be run at crash
  time.
* Modifications to the crash reporter client so that it can read and
  submit the new format; this includes platform-specific changes to the
  Breakpad libraries it uses for submitting crashes.
* Modifications to the minidump-analyzer to understand and process the new
  format correctly.
* Modifications to the crash manager to understand and process the new format
  correctly.
* Modifications to GeckoView's crash handler to understand and submit the
  new format correctly.
* Added new tests to cover the new format and modified existing ones to
  accomodate the new one.

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

--HG--
extra : moz-landing-system : lando
2019-11-16 08:29:07 +00:00
Steven Michaud ce2c616fee Bug 1371390 - Pay attention to macho images' cpusubtype when creating minidumps. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D53211

--HG--
extra : moz-landing-system : lando
2019-11-15 15:49:30 +00:00
Gabriele Svelto 6b843a1e9c Bug 838896 - Increase the crash reporter client comment size limit to 10000 characters; r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53154

--HG--
extra : moz-landing-system : lando
2019-11-15 13:49:55 +00:00