Closed
Bug 850253
Opened 12 years ago
Closed 12 years ago
Remove Off-Main-Thread XPCWrappedJS refcounting from KeyGenRunnable
Categories
(Toolkit Graveyard :: Security, defect)
Tracking
(b2g18 fixed, b2g-v1.1hd fixed)
RESOLVED
FIXED
mozilla23
People
(Reporter: bholley, Assigned: bholley)
References
Details
Attachments
(2 files)
1.95 KB,
patch
|
jedp
:
review+
bajaj
:
approval-mozilla-b2g18+
|
Details | Diff | Splinter Review |
2.07 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•12 years ago
|
Assignee | ||
Comment 1•12 years ago
|
||
The basic idea here is that it's no longer safe to addref/release XPCWrappedJS
objects off-main-thread, so we need to add a level of indirection with the
nsMainThreadPtr{Holder,Handle}. I'm happy to explain more if you want, since I
understand that this review request is coming out of nowhere. ;-)
Attachment #723993 -
Flags: review?(jparsons)
Comment 2•12 years ago
|
||
Comment on attachment 723993 [details] [diff] [review]
Remove Off-Main-Thread XPCWrappedJS refcounting from KeyGenRunnable. v1
That makes sense to me.
Thanks for fixing and submitting!
j
Attachment #723993 -
Flags: review?(jparsons) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Comment 4•12 years ago
|
||
Is there something blocking this from landing?
Comment 5•12 years ago
|
||
Not on my end. Bobby, good to set checkin-needed?
Assignee | ||
Comment 6•12 years ago
|
||
Well, I was bisecting all these dethreading patches with try pushes to try to find out which one was responsible for the windows crashes. This was one of the two patches in the culprit push, but I think we've pretty clearly determined that the culprit is the other bug in that push (bug 850252). So we should get this checked in, now that we have other reasons to do so.
Keywords: checkin-needed
Comment 7•12 years ago
|
||
Here's a version that is rebased against landing, and with the commit message including the r=. It is just a trivial rebased (conflicts in the include) but I put this here to make it easier if somebody lands it. inbound is closed right now.
Comment 8•12 years ago
|
||
Thanks for the info, Bobby!
Comment 9•12 years ago
|
||
Keywords: checkin-needed
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Comment 11•12 years ago
|
||
FYI - See my comment on the blocking bug. You might want to ask for approval for this to uplift this to b2g18.
Comment 12•12 years ago
|
||
This patch requires bug 771074, I believe.
Comment 13•12 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #12)
> This patch requires bug 771074, I believe.
Hmm...but that bug was fixed on mozilla16 though, so wouldn't that already be included on b2g18?
Comment 14•12 years ago
|
||
Ah, good point, I hadn't remembered that it was that old.
Comment 15•11 years ago
|
||
Andrew, can you please request approval for uplift?
Flags: needinfo?(continuation)
Comment 16•11 years ago
|
||
Comment on attachment 723993 [details] [diff] [review]
Remove Off-Main-Thread XPCWrappedJS refcounting from KeyGenRunnable. v1
I'm not sure why you needinfoed me, as I neither reviewed nor wrote this patch, but I can give it a go.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 753238
User impact if declined: sec problems (bug 844088)
Testing completed: it has been on central for quite some time, since Fx23
Risk to taking this patch (and alternatives if risky): very low
String or UUID changes made by this patch: none
Attachment #723993 -
Flags: approval-mozilla-b2g18?
Updated•11 years ago
|
Flags: needinfo?(continuation)
Comment 17•11 years ago
|
||
Comment on attachment 723993 [details] [diff] [review]
Remove Off-Main-Thread XPCWrappedJS refcounting from KeyGenRunnable. v1
Approving as this needed for B2g due to 844088
Attachment #723993 -
Flags: approval-mozilla-b2g18? → approval-mozilla-b2g18+
Comment 18•11 years ago
|
||
status-b2g18:
--- → fixed
Comment 19•11 years ago
|
||
status-b2g-v1.1hd:
--- → fixed
Updated•8 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•