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

2137 Коммитов

Автор SHA1 Сообщение Дата
Gabriele Svelto a0fd5f1159 Bug 1658831 - Implement a writer for the thread names' minidump stream on macOS r=Gankra
Also adds basic parsing and printing support for the stream.

Differential Revision: https://phabricator.services.mozilla.com/D118927
2021-07-06 17:04:08 +00:00
Gabriele Svelto c0b016ad02 Bug 1718226 - Only capture crash reports for fatal exceptions intercepted via WER r=KrisWright
Our Windows Error Reporting runtime module seems to be notified of all
sorts of non-fatal exceptions. Since there is no documentation clarifying
how to tell them apart from actual crashes we'll try using the bIsFatal
field in the WER_RUNTIME_EXCEPTION_INFORMATION structure for this
purpose. There is no documentation describing the contents of the field
so we can only assume that what its name implies is what we're looking
for.

Differential Revision: https://phabricator.services.mozilla.com/D118813
2021-07-06 17:03:11 +00:00
Emilio Cobos Álvarez e150976c0e Bug 1719146 - Use size_t in breakpad's Linux exception handler. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D119083
2021-07-05 11:59:34 +00:00
Gabriele Svelto c61f6033ff Bug 1035892 - Handle 64-bit addresses for EXC_BAD_ACCESS exceptions on Mac r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24356
2021-06-22 10:31: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
Mitchell Hentges e389cc4cc4 Bug 1714684: Remove usages of vendored "mock" library r=perftest-reviewers,ahal,sparky
Python 3 has access to `unittest.mock` in the standard library.

Differential Revision: https://phabricator.services.mozilla.com/D117073
2021-06-14 15:34:46 +00:00
Gabriele Svelto 7cf5a3af6f Bug 1711418 - Record the OOM allocation size in WER crashes r=KrisWright
This patch adds a new field to the structures that WER reads from a
crashed process. This field contains a pointer to the global variable
that records the size of the last failed annotation.

When WER intercepts a crash it will use this address to read the
variable. If it's not zero it will add the corresponding annotation
to the crash report.

Depends on D116449

Differential Revision: https://phabricator.services.mozilla.com/D116450
2021-06-11 09:59:51 +00:00
Gabriele Svelto 910fd19b94 Bug 1711418 - Factorize the code that reads/writes memory to/from other processes r=KrisWright
Depends on D116017

Differential Revision: https://phabricator.services.mozilla.com/D116449
2021-06-11 09:59:50 +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
Gabriele Svelto 74d553df16 Bug 1682518 - Add minidump generation for child processes in the WER module r=KrisWright
This also notifies the main process after the minidump has been generated.
I refactored the code a bit so the patch is probably larger than it should be
but the code should be a bit more readable overall.

With this change the minidump generation flow works like this:
- When the callback gets invoked in the WER process we read the structure that
  is stored in every process' to figure out if it's the main process or a child
  one. This is done by reading said process' memory, the pointer has been
  passed to the runtime exception module when it was registered.
- If the main process crashed everything works like it used to.
- If it was a child process then we first capture a minidump of it.
- Then we read the structure representing it in the main process:
  WindowsErrorReportingData. The address of this structure was passed into the
  child process' command-line so we need to parse that first, then we read it
  from the main process memory.
- We fill the structure and write it back into the main process memory.
- At this point if everything went fine we create a new thread in the main
  process just to execute the WerNotifyProc function that will inform the main
  process to the presence of the new minidump.

There's one important tidbit that's worth keeping in mind: the synchronization
between the main process and the WER process is implicit. The
WindowsErrorReportingData structure in the main process is kept alive until the
child process dies, the main process will destroy it only after that point. As
long as we're in the runtime exception module the crashed process is kept alive
so this will prevent the main process from touching that structure.
We explicitly terminate the crashed process **after** we're done with the
structure so nothing bad could happen... unless someone makes a change to
Gecko that breaks the previous assumption.

Another important thing to keep in mind: we wait for the newly created thread
to inform the main process but only for 5 seconds. We don't want to wait
indefinitely because the function that we're calling is taking a lock and if
it blocks for some reason WER will get stuck waiting for it, so it will never
kill the crashed process which in turn will prevent the main process from
moving ahead. In principle this should never happen but better be safe than
sorry.

Depends on D115379

Differential Revision: https://phabricator.services.mozilla.com/D115380
2021-06-11 09:59:50 +00:00
Gabriele Svelto a7c337103a Bug 1697895 - Register the WER runtime exception module in child processes r=KrisWright
This patch sets up a few different things that will be used by the WER runtime
exception module when it needs to notify the main process of a child process
crash.

For every child process we allocate a structure in the main process called
WindowsErrorReportingData that contains three things:
- The address of the function used to notify the main process that there's a
  pending minidump for a given child process
- The PID of said child process
- The name of the minidump that has been generated

The first field is filled up by the main process and will be read by the WER
process when running the runtime exception module, the second and third fields
on the other hand start empty and will be written into by the runtime exception
module after it has generated a minidump.

I know this sounds scary. It is. But bear with me please.

When we register the runtime exception module we can pass it a single
pointer-sized parameter but we need to pass it at least another pointer that
includes data coming from the child process itself (this one is called
InProcessWindowsErrorReportingData). This data currently includes only the
process type but will also include certain annotations in the future
(e.g. bug 1711418). So here's what we do: we store a pointer to the parent
data structure in the child process command-line (cringe) and we read it
from the runtime exception module by reading the crashed process command-line
arguments and parsing them (double-cringe).

Armed with this information the WER runtime exception module can populate
the info for the generated minidump and then push it into the main process
by calling CreateRemoteThread() (which creates a new thread in the main
process, triple-cringe at this point).

Differential Revision: https://phabricator.services.mozilla.com/D115379
2021-06-11 09:59:49 +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 eba562c428 Bug 1711418 - Record the OOM allocation size in WER crashes r=KrisWright
This patch adds a new field to the structures that WER reads from a
crashed process. This field contains a pointer to the global variable
that records the size of the last failed annotation.

When WER intercepts a crash it will use this address to read the
variable. If it's not zero it will add the corresponding annotation
to the crash report.

Depends on D116449

Differential Revision: https://phabricator.services.mozilla.com/D116450
2021-06-10 22:01:33 +00:00
Gabriele Svelto 1c333668d4 Bug 1711418 - Factorize the code that reads/writes memory to/from other processes r=KrisWright
Depends on D116017

Differential Revision: https://phabricator.services.mozilla.com/D116449
2021-06-10 22:01:33 +00: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
Gabriele Svelto 896f9b03cb Bug 1682518 - Add minidump generation for child processes in the WER module r=KrisWright
This also notifies the main process after the minidump has been generated.
I refactored the code a bit so the patch is probably larger than it should be
but the code should be a bit more readable overall.

With this change the minidump generation flow works like this:
- When the callback gets invoked in the WER process we read the structure that
  is stored in every process' to figure out if it's the main process or a child
  one. This is done by reading said process' memory, the pointer has been
  passed to the runtime exception module when it was registered.
- If the main process crashed everything works like it used to.
- If it was a child process then we first capture a minidump of it.
- Then we read the structure representing it in the main process:
  WindowsErrorReportingData. The address of this structure was passed into the
  child process' command-line so we need to parse that first, then we read it
  from the main process memory.
- We fill the structure and write it back into the main process memory.
- At this point if everything went fine we create a new thread in the main
  process just to execute the WerNotifyProc function that will inform the main
  process to the presence of the new minidump.

There's one important tidbit that's worth keeping in mind: the synchronization
between the main process and the WER process is implicit. The
WindowsErrorReportingData structure in the main process is kept alive until the
child process dies, the main process will destroy it only after that point. As
long as we're in the runtime exception module the crashed process is kept alive
so this will prevent the main process from touching that structure.
We explicitly terminate the crashed process **after** we're done with the
structure so nothing bad could happen... unless someone makes a change to
Gecko that breaks the previous assumption.

Another important thing to keep in mind: we wait for the newly created thread
to inform the main process but only for 5 seconds. We don't want to wait
indefinitely because the function that we're calling is taking a lock and if
it blocks for some reason WER will get stuck waiting for it, so it will never
kill the crashed process which in turn will prevent the main process from
moving ahead. In principle this should never happen but better be safe than
sorry.

Depends on D115379

Differential Revision: https://phabricator.services.mozilla.com/D115380
2021-06-10 22:01:32 +00:00
Gabriele Svelto 1a86d1dee4 Bug 1697895 - Register the WER runtime exception module in child processes r=KrisWright
This patch sets up a few different things that will be used by the WER runtime
exception module when it needs to notify the main process of a child process
crash.

For every child process we allocate a structure in the main process called
WindowsErrorReportingData that contains three things:
- The address of the function used to notify the main process that there's a
  pending minidump for a given child process
- The PID of said child process
- The name of the minidump that has been generated

The first field is filled up by the main process and will be read by the WER
process when running the runtime exception module, the second and third fields
on the other hand start empty and will be written into by the runtime exception
module after it has generated a minidump.

I know this sounds scary. It is. But bear with me please.

When we register the runtime exception module we can pass it a single
pointer-sized parameter but we need to pass it at least another pointer that
includes data coming from the child process itself (this one is called
InProcessWindowsErrorReportingData). This data currently includes only the
process type but will also include certain annotations in the future
(e.g. bug 1711418). So here's what we do: we store a pointer to the parent
data structure in the child process command-line (cringe) and we read it
from the runtime exception module by reading the crashed process command-line
arguments and parsing them (double-cringe).

Armed with this information the WER runtime exception module can populate
the info for the generated minidump and then push it into the main process
by calling CreateRemoteThread() (which creates a new thread in the main
process, triple-cringe at this point).

Differential Revision: https://phabricator.services.mozilla.com/D115379
2021-06-10 22:01:32 +00:00
surajeet310 6ea83c8ef9 Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D117419
2021-06-10 19:33:53 +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
Gabriele Svelto 99cd0eae3d Bug 1711418 - Record the OOM allocation size in WER crashes r=KrisWright
This patch adds a new field to the structures that WER reads from a
crashed process. This field contains a pointer to the global variable
that records the size of the last failed annotation.

When WER intercepts a crash it will use this address to read the
variable. If it's not zero it will add the corresponding annotation
to the crash report.

Depends on D116449

Differential Revision: https://phabricator.services.mozilla.com/D116450
2021-06-10 11:58:38 +00:00
Gabriele Svelto 497ed31c7a Bug 1711418 - Factorize the code that reads/writes memory to/from other processes r=KrisWright
Depends on D116017

Differential Revision: https://phabricator.services.mozilla.com/D116449
2021-06-10 11:58:38 +00:00
Gabriele Svelto bc252cb8b0 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 11:58:38 +00:00
Gabriele Svelto 4c5761354c Bug 1682518 - Add minidump generation for child processes in the WER module r=KrisWright
This also notifies the main process after the minidump has been generated.
I refactored the code a bit so the patch is probably larger than it should be
but the code should be a bit more readable overall.

With this change the minidump generation flow works like this:
- When the callback gets invoked in the WER process we read the structure that
  is stored in every process' to figure out if it's the main process or a child
  one. This is done by reading said process' memory, the pointer has been
  passed to the runtime exception module when it was registered.
- If the main process crashed everything works like it used to.
- If it was a child process then we first capture a minidump of it.
- Then we read the structure representing it in the main process:
  WindowsErrorReportingData. The address of this structure was passed into the
  child process' command-line so we need to parse that first, then we read it
  from the main process memory.
- We fill the structure and write it back into the main process memory.
- At this point if everything went fine we create a new thread in the main
  process just to execute the WerNotifyProc function that will inform the main
  process to the presence of the new minidump.

There's one important tidbit that's worth keeping in mind: the synchronization
between the main process and the WER process is implicit. The
WindowsErrorReportingData structure in the main process is kept alive until the
child process dies, the main process will destroy it only after that point. As
long as we're in the runtime exception module the crashed process is kept alive
so this will prevent the main process from touching that structure.
We explicitly terminate the crashed process **after** we're done with the
structure so nothing bad could happen... unless someone makes a change to
Gecko that breaks the previous assumption.

Another important thing to keep in mind: we wait for the newly created thread
to inform the main process but only for 5 seconds. We don't want to wait
indefinitely because the function that we're calling is taking a lock and if
it blocks for some reason WER will get stuck waiting for it, so it will never
kill the crashed process which in turn will prevent the main process from
moving ahead. In principle this should never happen but better be safe than
sorry.

Depends on D115379

Differential Revision: https://phabricator.services.mozilla.com/D115380
2021-06-10 11:58:37 +00:00
Gabriele Svelto 1ebc33d4a4 Bug 1697895 - Register the WER runtime exception module in child processes r=KrisWright
This patch sets up a few different things that will be used by the WER runtime
exception module when it needs to notify the main process of a child process
crash.

For every child process we allocate a structure in the main process called
WindowsErrorReportingData that contains three things:
- The address of the function used to notify the main process that there's a
  pending minidump for a given child process
- The PID of said child process
- The name of the minidump that has been generated

The first field is filled up by the main process and will be read by the WER
process when running the runtime exception module, the second and third fields
on the other hand start empty and will be written into by the runtime exception
module after it has generated a minidump.

I know this sounds scary. It is. But bear with me please.

When we register the runtime exception module we can pass it a single
pointer-sized parameter but we need to pass it at least another pointer that
includes data coming from the child process itself (this one is called
InProcessWindowsErrorReportingData). This data currently includes only the
process type but will also include certain annotations in the future
(e.g. bug 1711418). So here's what we do: we store a pointer to the parent
data structure in the child process command-line (cringe) and we read it
from the runtime exception module by reading the crashed process command-line
arguments and parsing them (double-cringe).

Armed with this information the WER runtime exception module can populate
the info for the generated minidump and then push it into the main process
by calling CreateRemoteThread() (which creates a new thread in the main
process, triple-cringe at this point).

Differential Revision: https://phabricator.services.mozilla.com/D115379
2021-06-10 11:58:37 +00:00
Chris Martin 1d91d0549c Bug 1709383 - Add Win32k Lockdown status to about:support and Crash Reporter r=gsvelto,flod,bobowen,mossop,fluent-reviewers,chutten
- Move the decision logic for Win32k Lockdown to a common area where it can
  be re-used
- Cache the Win32k Lockdown state, since the result will never change
- Add IDL to allow JavaScript to query it
- Add it to the "about:support" page
- Add an annotation to Crash Reporter after the first time it's read

Differential Revision: https://phabricator.services.mozilla.com/D114850
2021-05-20 19:28:59 +00:00
Csoregi Natalia 91ab999d72 Backed out 2 changesets (bug 1709383) for failures on test_TelemetryEnvironment.js. CLOSED TREE
Backed out changeset 64774be5aaff (bug 1709383)
Backed out changeset 17a95b19bb75 (bug 1709383)
2021-05-20 20:33:51 +03:00
Chris Martin b2a51853d0 Bug 1709383 - Add Win32k Lockdown status to about:support and Crash Reporter r=gsvelto,flod,bobowen,mossop,fluent-reviewers,chutten
- Move the decision logic for Win32k Lockdown to a common area where it can
  be re-used
- Cache the Win32k Lockdown state, since the result will never change
- Add IDL to allow JavaScript to query it
- Add it to the "about:support" page
- Add an annotation to Crash Reporter after the first time it's read

Differential Revision: https://phabricator.services.mozilla.com/D114850
2021-05-20 14:28:03 +00:00
Alexandre Lissy 4f13efd5fc Bug 1709277 - Simplify gOOMAllocationSize via MFBT_DATA r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D115339
2021-05-20 06:53:27 +00:00
Mike Hommey 84ed661720 Bug 1711837 - Disable stringop-truncation warnings in third party breakpad code. r=gsvelto,firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D115463
2021-05-19 20:37:08 +00:00
Toshihito Kikuchi a12c4653e2 Bug 1710152 - Remove the BIOS_Manufacturer and MemoryErrorCorrection annotations. r=gsvelto
The brower process used WMI to add BIOS Manufacturer and MemoryErrorCorrection
annotations to a crash report.  The downside is that calling `IWbemLocator::ConnectServer`
loads all of the registered AMSI modules into the process.  As we don't actively use either
of the annotations now, this patch removes WMI code to improve the stability.

Differential Revision: https://phabricator.services.mozilla.com/D115334
2021-05-18 15:01:15 +00:00
Jeff Muizelaar bc2af6c0bc Bug 1710448 - Expose GPUProcessLaunchCount to crash pings. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D114750
2021-05-12 14:08:50 +00:00
Gabriele Svelto 104ff07a7d Bug 1710046 - Fix MinGW builds that were broken by the last Windows Error Reporting change r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D114656
2021-05-10 10:03:48 +00:00
Andi-Bogdan Postelnicu eab549fd19 Bug 1519636 - Initial reformat of C/C++ code with clang-format version 12.0.0. r=sylvestre
clang-format version 12.0.0 (taskcluster-KEgO7qdgQ8uaewA6NkRnRA)

Differential Revision: https://phabricator.services.mozilla.com/D114211
2021-05-10 07:15:07 +00:00
Gabriele Svelto c98992d2b5 Bug 1709423 - Opt-out of WER hang reports r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D114497
2021-05-07 09:07:47 +00:00
Steven Michaud 9e1051a831 Bug 1577886 - Add support to for macOS __crash_info data to Breakpad (followup). r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D114089
2021-05-04 08:31:08 +00:00
Alexandre Lissy 32332226a9 Bug 1683288 - Directly query OOMAllocationSize value and enable tests on linux/macOS r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D114009
2021-04-30 20:10:58 +00:00
Steven Michaud cfb3cfdc03 Bug 1577886 - Add support to for macOS __crash_info data to Breakpad. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D112871
2021-04-30 19:22:33 +00:00
Joel Maher 8a9f37b534 Bug 1706716 green up mda, xpcshell, browser-chrome, reftest for apple silicon. r=necko-reviewers,extension-reviewers,preferences-reviewers,application-update-reviewers,zombie,ahal,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D113001
2021-04-22 18:39:40 +00:00
Gabriele Svelto 3c3f96a603 Bug 1705396 - Add the startup time crash anotation to the crash reports intercepted via WER r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D112184
2021-04-20 09:27:03 +00:00
Steve Fink df6f52ac53 Bug 1697929 - Create a breakpad injector toolchain build. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D109504
2021-04-19 14:21:42 +00:00
Gabriele Svelto db169d3685 Bug 1704992 - Update the comment about crash annotations to reflect the current state of things r=gerald DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D112521
2021-04-19 09:02:13 +00:00
Gerald Squelart d66c075c59 Bug 1704680 - Annotate crash reports when child-process profiler shuts down - r=canaltinova,gsvelto
This should help investigate bug 1613798.
In particular, this should show if the profiler is taking too long to serialize its profile buffer, or something else is happening afterwards (whether the profiler is running or not).

Differential Revision: https://phabricator.services.mozilla.com/D111786
2021-04-15 22:38:09 +00:00
Gabriele Svelto 0775d6a0d2 Bug 1704518 - Use the workspace hack to reduce build times of the Rust WER components r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D112013
2021-04-15 11:55:31 +00:00
Gabriele Svelto 9c31752a4e Bug 1704034 - Make the stackwalker print out the name of NTSTATUS error codes r=KrisWright
This patch changes a few things regarding how error codes are printed out.
First of all it updates the list of statuses defined in ntstatus.h, and makes
it up-to-date with the current Windows SDK. With this done we change how we
print out a minidump exception code so that if it's not among the known
EXCEPTION_* values we try to print it out as a STATUS_* one.

It's worth noting that the EXCEPTION_* definitions are just aliaeses for
STATUS_* ones and deprecated in Windows but since they're commonly used we
just keep them.

Last but not least we change how EXCEPTION_BOUNDS_EXCEEDED,
EXCEPTION_STACK_BUFFER_OVERRUN and EXCEPTION_HEAP_CORRUPTION are
printed because they are inconsistent with their Windows equivalents.
They're "breakpadisms" and they've caused confusion in the past.

Differential Revision: https://phabricator.services.mozilla.com/D111712
2021-04-14 10:17:02 +00:00
smolnar 9de89242bb Backed out changeset d547d751a901 (bug 1704034) for causing win xpc failures in test_crash_heap_corruption. CLOSED TREE 2021-04-14 12:14:15 +03:00
Gabriele Svelto 4e0b5a6c3e Bug 1704034 - Make the stackwalker print out the name of NTSTATUS error codes r=KrisWright
This patch changes a few things regarding how error codes are printed out.
First of all it updates the list of statuses defined in ntstatus.h, and makes
it up-to-date with the current Windows SDK. With this done we change how we
print out a minidump exception code so that if it's not among the known
EXCEPTION_* values we try to print it out as a STATUS_* one.

It's worth noting that the EXCEPTION_* definitions are just aliaeses for
STATUS_* ones and deprecated in Windows but since they're commonly used we
just keep them.

Last but not least we change how EXCEPTION_BOUNDS_EXCEEDED,
EXCEPTION_STACK_BUFFER_OVERRUN and EXCEPTION_HEAP_CORRUPTION are
printed because they are inconsistent with their Windows equivalents.
They're "breakpadisms" and they've caused confusion in the past.

Differential Revision: https://phabricator.services.mozilla.com/D111712
2021-04-14 06:44:35 +00:00
Gabriele Svelto fdfba1f074 Bug 1682516 - Fix resizing the crash reporter client window when the URL field is not present r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D109347
2021-04-12 13:08:52 +00:00
Gabriele Svelto e1c41f5dac Bug 1703248 - Print the exception subcode of EXCEPTION_STACK_BUFFER_OVERRUN crashes r=KrisWright
This is the crashes that are usually caused by a __fastfail() invocation

Differential Revision: https://phabricator.services.mozilla.com/D111242
2021-04-12 08:04:54 +00:00
Gabriele Svelto 2c297e52a8 Bug 1682516 - Launch the crash reporter client after having captured a minidump with the WER runtime exception module r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D109346
2021-04-07 07:55:24 +00:00