Closed
Bug 1136397
Opened 10 years ago
Closed 10 years ago
[jsdbg2] Crash after resuming from breakpoint
Categories
(Core :: JavaScript Engine: JIT, defect)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox36 | --- | wontfix |
firefox37 | --- | fixed |
firefox38 | --- | fixed |
firefox39 | --- | fixed |
firefox-esr31 | --- | unaffected |
firefox-esr38 | --- | fixed |
b2g-v2.0 | --- | unaffected |
b2g-v2.0M | --- | unaffected |
b2g-v2.1 | --- | unaffected |
b2g-v2.1S | --- | unaffected |
b2g-v2.2 | --- | fixed |
b2g-master | --- | fixed |
People
(Reporter: shu, Assigned: shu)
Details
(Keywords: sec-moderate, Whiteboard: [adv-main37+][post-critsmash-triage])
Attachments
(1 file)
5.58 KB,
patch
|
jandem
:
review+
lmandel
:
approval-mozilla-aurora+
lmandel
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
STR:
1) Turn off parallel parsing in about:config to work around existing stupid problems in setting breakpoints.
2) Go to http://playcanv.as/p/JtL2iqIH and wait for it to load.
3) Find game.js, set a bp on line 158 inside setFuel.
4) Reload, wait for pause, then resume.
Socorro shows crash inside EnterBaselineAtBranch, like other crashes recently. I'll look into this promptly.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → shu
Severity: normal → critical
status-firefox36:
--- → affected
status-firefox37:
--- → affected
status-firefox38:
--- → affected
status-firefox39:
--- → affected
status-firefox-esr38:
--- → affected
Keywords: sec-moderate
Assignee | ||
Comment 1•10 years ago
|
||
Setting sec-moderate as this can only be triggered when using the frontend debugger.
Assignee | ||
Comment 2•10 years ago
|
||
Jan, the explanation is in the bug. This is pretty bad, but luckily only
triggerable when debugging. It should also be backported post haste.
Attachment #8568878 -
Flags: review?(jdemooij)
Comment 3•10 years ago
|
||
Comment on attachment 8568878 [details] [diff] [review]
Ensure OSR frame scripts have debug instrumentation.
Review of attachment 8568878 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, great catch!
It will be interesting to watch crash-stats after this lands.
Attachment #8568878 -
Flags: review?(jdemooij) → review+
Assignee | ||
Updated•10 years ago
|
Attachment #8568878 -
Flags: sec-approval?
Updated•10 years ago
|
Comment 4•10 years ago
|
||
Comment on attachment 8568878 [details] [diff] [review]
Ensure OSR frame scripts have debug instrumentation.
As a sec-moderate, this can just go in. Sec-approval is only needed for sec-high and sec-critical issues.
Attachment #8568878 -
Flags: sec-approval?
Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8568878 [details] [diff] [review]
Ensure OSR frame scripts have debug instrumentation.
Approval Request Comment
[Feature/regressing bug #]: 1032869
[User impact if declined]: Crashing when using the Debugger
[Describe test coverage new/current, TreeHerder]: on inbound
[Risks and why]: Low? Fixes a frequent crasher and security bug, but the patch paints a pretty clear picture of how to exploit the bug, though the exploit requires explicit user interaction with the frontend JS debugger.
[String/UUID change made/needed]: None
Attachment #8568878 -
Flags: approval-mozilla-beta?
Attachment #8568878 -
Flags: approval-mozilla-aurora?
Comment 6•10 years ago
|
||
As Al said, as a sec-moderate bug, we can check this in on m-c. Let's verify the fix there before uplifting to Aurora and Beta.
status-firefox-esr31:
--- → unaffected
Keywords: checkin-needed
Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Lawrence Mandel [:lmandel] (use needinfo) from comment #6)
> As Al said, as a sec-moderate bug, we can check this in on m-c. Let's verify
> the fix there before uplifting to Aurora and Beta.
How do we verify the fix? The biggest tell is if crashes on Socorro go down, and most of those crashes came from Aurora, thus the uplifts.
Assignee | ||
Comment 8•10 years ago
|
||
This was merged, btw: https://hg.mozilla.org/mozilla-central/rev/da80a09d5b4e
Comment 9•10 years ago
|
||
(In reply to Shu-yu Guo [:shu] from comment #7)
> How do we verify the fix? The biggest tell is if crashes on Socorro go down,
> and most of those crashes came from Aurora, thus the uplifts.
Typically we look to see if the signature is present on Nightly before the change is committed and, after a few days, see if any new reports with the signature are present on Nightly.
Comment 10•10 years ago
|
||
(In reply to Lawrence Mandel [:lmandel] (use needinfo) from comment #9)
> Typically we look to see if the signature is present on Nightly before the
> change is committed and, after a few days, see if any new reports with the
> signature are present on Nightly.
Shu was able to reproduce the debugger crash on PlayCanvas and verified the patch fixes this crash. I agree we should keep an eye on crash-stats, but the patch is known to fix at least some crashes so I think there's a good reason to backport right? :)
(And the other crashes look very similar to this one..)
Comment 11•10 years ago
|
||
I'm a little lost as to why this bug wasn't resolved when it landed on m-c, but oh well.
Status: NEW → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Comment 12•10 years ago
|
||
Comment on attachment 8568878 [details] [diff] [review]
Ensure OSR frame scripts have debug instrumentation.
(In reply to Jan de Mooij [:jandem] from comment #10)
> Shu was able to reproduce the debugger crash on PlayCanvas and verified the
> patch fixes this crash. I agree we should keep an eye on crash-stats, but
> the patch is known to fix at least some crashes so I think there's a good
> reason to backport right? :)
Yes. I think this is a good argument for backporting. I missed that this was easily reproducible and didn't see any indication that the fix had been verified. Let's take this fix in Beta 3. Beta+ Aurora+
Attachment #8568878 -
Flags: approval-mozilla-beta?
Attachment #8568878 -
Flags: approval-mozilla-beta+
Attachment #8568878 -
Flags: approval-mozilla-aurora?
Attachment #8568878 -
Flags: approval-mozilla-aurora+
Comment 13•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/2ef3b3c12db9
https://hg.mozilla.org/releases/mozilla-beta/rev/666a1aafecfd
Flags: in-testsuite+
Updated•10 years ago
|
Whiteboard: [adv-main37+]
Updated•9 years ago
|
status-b2g-v2.0:
--- → unaffected
status-b2g-v2.0M:
--- → unaffected
status-b2g-v2.1:
--- → unaffected
status-b2g-v2.1S:
--- → unaffected
status-b2g-v2.2:
--- → fixed
status-b2g-master:
--- → fixed
Updated•9 years ago
|
Group: core-security → core-security-release
Updated•9 years ago
|
Whiteboard: [adv-main37+] → [adv-main37+][post-critsmash-triage]
Updated•8 years ago
|
Group: core-security-release
You need to log in
before you can comment on or make changes to this bug.
Description
•