Closed
Bug 1041226
Opened 10 years ago
Closed 10 years ago
GMPChild should finish IPC setup before calling Crashreporter IPC method
Categories
(Core :: WebRTC, defect)
Core
WebRTC
Tracking
()
Tracking | Status | |
---|---|---|
firefox32 | --- | unaffected |
firefox33 | + | fixed |
firefox34 | --- | fixed |
People
(Reporter: jesup, Assigned: gfritzsche)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Attachments
(2 files, 1 obsolete file)
1.31 KB,
text/plain
|
Details | |
1.26 KB,
patch
|
jesup
:
review+
nical
:
feedback+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1039575 +++
Bug 1039575 broke --enable-crashreporter builds (Nightly) due to an assert when registering the crashreporter ID during GMP initialization:
[time:1405803882621308][19039->-1][PGMPChild] Sending Msg_PCrashReporterConstructor([TODO])
[19039] ###!!! ABORT: not on worker thread!: 'mWorkerLoopID == MessageLoop::current()->id()', file ../../dist/include/mozilla/ipc/MessageChannel.h, line 362
I believe the assert is erroneous here, and is caused by incomplete setup before it tries to send the ID.
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Whiteboard: [leave-open][webrtc-uplift]
Reporter | ||
Comment 2•10 years ago
|
||
Comment on attachment 8459235 [details] [diff] [review]
disable crashreporter in GMP plugins until it's ready
Tested on m-c with --enable-crashreporter
Attachment #8459235 -
Flags: review?(georg.fritzsche)
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8459235 [details] [diff] [review]
disable crashreporter in GMP plugins until it's ready
Sign-off for quick unbustage for jesup, deeper look tomorrow or monday.
Attachment #8459235 -
Flags: review?(georg.fritzsche) → review+
Reporter | ||
Comment 4•10 years ago
|
||
Landed on m-c and inbound because it was a hidden requirement of the stuff we landed on m-c last night.
https://hg.mozilla.org/integration/mozilla-inbound/rev/9383ccd71289
https://hg.mozilla.org/mozilla-central/rev/1e7f2af8d929
Comment 5•10 years ago
|
||
Georg -- I believe you said you'd take this since bsmedberg is on PTO
Assignee: nobody → georg.fritzsche
Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Maire Reavy [:mreavy] (Plz needinfo me) from comment #5)
> Georg -- I believe you said you'd take this since bsmedberg is on PTO
Correct.
Assignee | ||
Comment 7•10 years ago
|
||
I'm torn for the points without spending time investigating first, so i'll just lean towards over-estimating.
Points: --- → 8
Flags: firefox-backlog+
Updated•10 years ago
|
Status: NEW → ASSIGNED
Iteration: --- → 33.3
QA Whiteboard: [qa?]
Comment 8•10 years ago
|
||
Hi Georg, can you mark this bug as [qa+] or [qa-] for verification.
Flags: needinfo?(georg.fritzsche)
Comment 9•10 years ago
|
||
Assignee | ||
Comment 10•10 years ago
|
||
(In reply to Marco Mucci [:MarcoM] from comment #8)
> Hi Georg, can you mark this bug as [qa+] or [qa-] for verification.
qa- as this path will be covered by the other OpenH264/... testing once we can re-enable the crash reporting.
QA Whiteboard: [qa?] → [qa-]
Flags: needinfo?(georg.fritzsche)
Assignee | ||
Updated•10 years ago
|
status-firefox32:
--- → unaffected
status-firefox33:
--- → affected
status-firefox34:
--- → affected
tracking-firefox33:
--- → ?
Comment 11•10 years ago
|
||
Does this problem only happen with debug builds?
Comment 12•10 years ago
|
||
For what it's worth, this bug doesn't happen on the Mac when I start the sandbox (call sandbox_init()) in GMPChild::OnChannelConnected() -- after IPC is fully set up. I tested with a debug build.
We may want to consider doing this on all platforms.
Reporter | ||
Comment 13•10 years ago
|
||
I believe the proximate cause is an assertion; however I'm not sure if it will work or not if debug assertions are off.
Holding off on stuff like this until IPC is fully up makes sense....
Updated•10 years ago
|
Iteration: 33.3 → 34.1
Assignee | ||
Updated•10 years ago
|
Summary: Crashreporter init in GMP plugin triggers assert in IPC → GMPChild should finish IPC setup before calling Crashreporter IPC method
Assignee | ||
Comment 15•10 years ago
|
||
Attachment #8459235 -
Attachment is obsolete: true
Assignee | ||
Comment 16•10 years ago
|
||
Comment on attachment 8460226 [details] [diff] [review]
Open IPC channel before using IPC methods
Nicolas, i heard you may be able to give input on IPC things?
It looks like our IPC peer availability is not good right now.
Attachment #8460226 -
Flags: feedback?(nical.bugzilla)
Assignee | ||
Comment 17•10 years ago
|
||
Comment on attachment 8460226 [details] [diff] [review]
Open IPC channel before using IPC methods
Checking through mozilla::ipc::Open() et al, i'm fairly sure this should be fine.
Attachment #8460226 -
Flags: review?(rjesup)
Assignee | ||
Updated•10 years ago
|
Points: 8 → 5
Reporter | ||
Updated•10 years ago
|
Attachment #8460226 -
Flags: review?(rjesup) → review+
Updated•10 years ago
|
Whiteboard: [leave-open][webrtc-uplift] → [leave-open][openh264-uplift]
Updated•10 years ago
|
Attachment #8460226 -
Flags: feedback?(nical.bugzilla) → feedback+
Updated•10 years ago
|
QA Contact: drno
Reporter | ||
Comment 18•10 years ago
|
||
Whiteboard: [leave-open][openh264-uplift] → [openh264-uplift]
Target Milestone: --- → mozilla34
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 20•10 years ago
|
||
Comment on attachment 8460226 [details] [diff] [review]
Open IPC channel before using IPC methods
Forgot to list this with the other openh264 uplift requests to bring it up to inbound state.
Approval Request Comment
[Feature/regressing bug #]: bsmedberg GMP crashreporter landing
[User impact if declined]: Crashreporter doesn't get inited for GMP plugins
[Describe test coverage new/current, TBPL]: WIll be covered in the general GMP crashreporting coverage under development
[Risks and why]: Very low risk; on central for some time
[String/UUID change made/needed]: none
Attachment #8460226 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Updated•10 years ago
|
Attachment #8460226 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Reporter | ||
Comment 21•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•