AssertionError: No line resembling a stack frame was found
Categories
(Core :: XPCOM, defect)
Tracking
()
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr78+
|
Details | Review |
The xpcshell self test fails on mac in testAssertStack, failing to find stack frames in the output from a nsIDebug2.assertion()
. A MOZ_CRASH does happen, but there is not stack dump from the assertion like on e.g. Linux.
Assignee | ||
Comment 1•4 years ago
|
||
Turns out this is happening because the test is not skipped like it currently is due to some subtlety in my changes.
Assignee | ||
Comment 2•4 years ago
|
||
Scrap that, it's not currently skipped.
Assignee | ||
Comment 3•4 years ago
|
||
Turns out it's a manifestation of bug 1515229. We skip too many frames, so we skip over the nsDebugImpl::Assertion frame, and that's the last frame because we have JS code calling that through an xpcom vtable, so there aren't any frames left to be printed out, and the test fails because of that.
Assignee | ||
Comment 4•4 years ago
|
||
Actually, there is something that can be done here, independently of bug 1515229: make the caller of nsDebugImpl::Assertion visible to the stack walker.
Assignee | ||
Comment 5•4 years ago
|
||
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/b825fad12b06 Enable the CFI directives for NS_InvokeByIndex on macOS. r=froydnj
Comment 7•4 years ago
|
||
bugherder |
Comment 8•3 years ago
•
|
||
Comment on attachment 9165806 [details]
Bug 1654483 - Enable the CFI directives for NS_InvokeByIndex on macOS.
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Resolves xpcshell test failures
- User impact if declined: None
- Fix Landed on Version: 81
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It's a build-only patch
- String or UUID changes made by this patch:
Updated•3 years ago
|
Comment 9•3 years ago
|
||
bugherder uplift |
Description
•