Closed
Bug 986836
Opened 10 years ago
Closed 10 years ago
Parent process crash when shutting down compositor @ 0xa5a5a5a4
Categories
(Core :: Graphics, defect)
Tracking
()
People
(Reporter: gwagner, Assigned: bjacob)
References
Details
Attachments
(1 file, 1 obsolete file)
1.17 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
Happens every time during shutdown after mochitests on emulators with debug gecko. Main thread sends libxul.so!nsBaseWidget::DestroyCompositor() Compositor thread crashes via libxul.so!mozilla::gl::GLLibraryEGL::fDestroySurface(void*, void*) [GLLibraryEGL.h:9fbc75ee6cfa : 187 + 0xd] at 0xa5a5a5a4 We finally have better stack coverage during mochitests so its hard to tell if this is a regression or not. For example: https://tbpl.mozilla.org/php/getParsedLog.php?id=36542254&full=1&branch=pine There is also another assertion present in the _child_ process: MOZ_Assert: Assertion failure: work_queue_.empty(), at ../../../gecko/ipc/chromium/src/base/message_loop.cc:393 Maybe they are related?
Comment 1•10 years ago
|
||
(In reply to Gregor Wagner [:gwagner] from comment #0) > Happens every time during shutdown after mochitests on emulators with debug > gecko. > > Main thread sends libxul.so!nsBaseWidget::DestroyCompositor() > > Compositor thread crashes via > libxul.so!mozilla::gl::GLLibraryEGL::fDestroySurface(void*, void*) > [GLLibraryEGL.h:9fbc75ee6cfa : 187 + 0xd] at 0xa5a5a5a4 > > We finally have better stack coverage during mochitests so its hard to tell > if this is a regression or not. > > > For example: > https://tbpl.mozilla.org/php/getParsedLog.php?id=36542254&full=1&branch=pine > > There is also another assertion present in the _child_ process: MOZ_Assert: > Assertion failure: work_queue_.empty(), at > ../../../gecko/ipc/chromium/src/base/message_loop.cc:393 > Maybe they are related? It's plausible, as the latter shows that some work posted to the MessageLoop did not run. It could be something that signals the parent process to do proper cleanup etc.
Updated•10 years ago
|
status-firefox28:
--- → ?
status-firefox29:
--- → ?
status-firefox30:
--- → ?
status-firefox31:
--- → affected
status-firefox-esr24:
--- → ?
tracking-firefox31:
--- → +
Keywords: sec-high
Comment 3•10 years ago
|
||
Milan, can you please help us find an owner here? Thanks!
Assignee: nobody → milan
Comment 4•10 years ago
|
||
New feature for 1.4, better support for debug emulators. I need to get this approved before messing with 2.0 work.
Comment 5•10 years ago
|
||
Got it approved. Benoit, all yours.
Assignee: milan → bjacob
Flags: needinfo?(bjacob)
Comment 6•10 years ago
|
||
How far back does this issue go?
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8405006 -
Flags: review?(jmuizelaar)
Comment 9•10 years ago
|
||
Comment on attachment 8405006 [details] [diff] [review] Don't destroy the native framebuffer's eglSurface Review of attachment 8405006 [details] [diff] [review]: ----------------------------------------------------------------- Make a more thorough comment
Attachment #8405006 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 10•10 years ago
|
||
Attachment #8405006 -
Attachment is obsolete: true
Attachment #8405009 -
Flags: review?(jmuizelaar)
Updated•10 years ago
|
Attachment #8405009 -
Flags: review?(jmuizelaar) → review+
Reporter | ||
Comment 11•10 years ago
|
||
I see more crashes with this patch applied: https://tbpl.mozilla.org/?showall=1&tree=Pine&rev=fed9d5539ef0 Are these followups?
Comment 12•10 years ago
|
||
(In reply to Gregor Wagner [:gwagner] from comment #11) > I see more crashes with this patch applied: > https://tbpl.mozilla.org/?showall=1&tree=Pine&rev=fed9d5539ef0 > Are these followups? Aren't those crashes bug 983489?
Assignee | ||
Comment 13•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/20e45d4b88f4
Assignee | ||
Comment 14•10 years ago
|
||
(In reply to Gregor Wagner [:gwagner] from comment #11) > I see more crashes with this patch applied: > https://tbpl.mozilla.org/?showall=1&tree=Pine&rev=fed9d5539ef0 > Are these followups? These crashes seem different. Clearly, trying to run DEBUG builds when we didn't until now, is bound to run into many crashes. The patch just landed fixes one specific crash, the one originally described in comment 0. (In reply to :Ehsan Akhgari (lagging on bugmail, needinfo? me!) from comment #12) > (In reply to Gregor Wagner [:gwagner] from comment #11) > > I see more crashes with this patch applied: > > https://tbpl.mozilla.org/?showall=1&tree=Pine&rev=fed9d5539ef0 > > Are these followups? > > Aren't those crashes bug 983489? Just clicking on a few orange numbers on the TBPL link in comment 11, suggests that we are looking at more than one different bug here.
Assignee | ||
Comment 15•10 years ago
|
||
mwu points out bug 930884 which has a patch fixing the ICS emulator bug that we were working around here.
Comment 16•10 years ago
|
||
Bug 930884 landed on March 15th, but this was filed a week after. So, it sounds like either bug 930884 didn't work or this patch won't make any difference and there's a different cause for this crash.
Comment 17•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/20e45d4b88f4
Status: NEW → RESOLVED
Closed: 10 years ago
status-b2g-v1.2:
--- → ?
status-b2g-v1.3:
--- → ?
status-b2g-v1.3T:
--- → ?
status-b2g-v1.4:
--- → ?
status-b2g-v2.0:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Comment 18•10 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #17) > https://hg.mozilla.org/mozilla-central/rev/20e45d4b88f4 Did this only affect trunk and therefore not need sec-approval? The b2g flags kind of indicate otherwise.
Updated•10 years ago
|
Flags: needinfo?(bjacob)
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(bjacob)
Assignee | ||
Comment 19•10 years ago
|
||
This bug only affects ICS emulator, not real devices/users, and unhiding it will benefit discussion on another bug.
Group: core-security
Comment 20•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/7a869c7d9b19
status-b2g-v1.2:
? → ---
status-b2g-v1.3:
? → ---
status-b2g-v1.3T:
? → ---
status-firefox-esr24:
? → ---
Keywords: sec-high
Comment 21•10 years ago
|
||
Backed out for causing perma-hangs on B2G debug mochitest-3 and mochitest-4. https://hg.mozilla.org/releases/mozilla-aurora/rev/1c796697dca3 https://tbpl.mozilla.org/php/getParsedLog.php?id=37963987&tree=Mozilla-Aurora https://tbpl.mozilla.org/php/getParsedLog.php?id=37964461&tree=Mozilla-Aurora
Assignee | ||
Comment 22•10 years ago
|
||
Ah. So, what are next steps here? Do we need to re-land this? If not, do we not need this at all anymore? We probably need to sync on this with people working on bug 930884 ... Michael, do you know what we need to do here?
Flags: needinfo?(mwu)
Comment 23•10 years ago
|
||
Bug 930884 should've fixed it, and there haven't been any oranges reported on that bug after landing, so I think we're done. Relanding shouldn't be necessary.
Flags: needinfo?(mwu)
Comment 24•10 years ago
|
||
Calling this wontfix for v1.4 based on comment 22 and comment 23.
Comment 26•10 years ago
|
||
ignore that ^
You need to log in
before you can comment on or make changes to this bug.
Description
•