Crash [@ JSObject::hasLazyGroup] with ReadableStream and OOM
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox64 | --- | unaffected |
| firefox65 | --- | fixed |
| firefox66 | --- | fixed |
People
(Reporter: decoder, Assigned: jorendorff)
References
Details
(4 keywords, Whiteboard: [jsbugmon:])
Crash Data
Attachments
(2 files)
|
17.01 KB,
text/plain
|
Details | |
|
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
| Reporter | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Testcase didn't fail for me on trunk or at the reported rev with clang r345952, or at the reported rev with gcc 8.0.1. Sounds like time for that fuzzer instance...
| Assignee | ||
Comment 6•6 years ago
|
||
Christian, we're having trouble reproducing this. Can we get access to a fuzzer instance to investigate further?
| Reporter | ||
Comment 7•6 years ago
|
||
I found the problem: The testcase has two remaining load() calls that I overlooked.
Waldo, can you just edit the testcase, search for the definition of "libdir" and change it to point to your copy of mozilla-central/js/src/jit-test/lib/ ?
| Assignee | ||
Comment 8•6 years ago
|
||
I have reproduced this. Interestingly, an abort() in ReportOverRecursed does not hit. I didn't have time today to investigate further.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 9•6 years ago
|
||
Very boring OOM crash. oom_recovery_tco++;
| Assignee | ||
Comment 10•6 years ago
|
||
Not sec-anything. Crashes at NULL. Patch coming.
| Assignee | ||
Comment 11•6 years ago
|
||
| Assignee | ||
Comment 12•6 years ago
|
||
| Assignee | ||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
| bugherder | ||
Comment 16•6 years ago
|
||
Is this something we should consider uplifting to Beta for Fx65?
| Assignee | ||
Comment 17•6 years ago
|
||
Yes, the code change is trivial and worth uplifting.
If the new test gives you any trouble, just delete it. It shouldn't, but the test case is more temperamental than I'd like. Or ping me on IRC; it's no trouble to take a second and look at any failures.
| Assignee | ||
Comment 18•6 years ago
|
||
Comment on attachment 9036045 [details]
Bug 1515816 - Fix missing OOM check in ReadableStreamCreateReadResult. r?arai
[Beta/Release Uplift Approval Request]
Feature/Bug causing the regression: Bug 1505122
User impact if declined: possible crash after OOM that we would otherwise handle
Is this code covered by automated tests?: Yes
Has the fix been verified in Nightly?: Yes
Needs manual test from QE?: No
If yes, steps to reproduce:
List of other uplifts needed: None
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): Tiny, well-understood patch adding an error check.
String changes made/needed: none
Comment 19•6 years ago
|
||
Comment on attachment 9036045 [details]
Bug 1515816 - Fix missing OOM check in ReadableStreamCreateReadResult. r?arai
[Triage Comment]
Fixes an OOM crash. Covered by automated tests. Approved for 65.0b12.
Comment 20•6 years ago
|
||
| bugherder uplift | ||
Description
•