Add stack-walking recovery using BP in DoMozStackWalkThread
Categories
(Core :: mozglue, task)
Tracking
()
People
(Reporter: mozbugz, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Spawned from https://phabricator.services.mozilla.com/D113269#3762061 and following comments, it seems possible to recover from some RtlLookupFunctionEntry()
failures by trying to use the CONTEXT::Rbp register to find the caller's registers.
Reporter | ||
Comment 1•3 years ago
|
||
BP may contain the stack address where the caller's BP was pushed after the function call, in which case it's possible to carefully unwind from it.
This can get past JIT code, so there is no need to give up in this case.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
bugherder |
Comment 4•3 years ago
|
||
Backed out changeset 49f8a4acd649 (Bug 1712674) for stack walking crashes on older Windows versions (Bug 1715633).
Backout link: https://hg.mozilla.org/integration/autoland/rev/3ee20501e5d618a8444079e9509c06794bfcc46f
Comment 5•3 years ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/3ee20501e5d6
Description
•