Closed Bug 1280181 Opened 9 years ago Closed 8 years ago

[e10s] Crash in nsTextFrame::AddInlineMinISizeForFlow when printing

Categories

(Core :: Graphics, defect)

50 Branch
All
Windows 10
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME
Tracking Status
e10s ? ---
firefox49 --- unaffected
firefox50 --- fix-optional

People

(Reporter: cstkingkey, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash, Whiteboard: [gfx-noted])

Crash Data

This bug was filed from the Socorro interface and is report bp-2ebae714-323f-4035-927c-894f42160615. ============================================================= When e10s is on, print a page will crash the tab.
since nsTextFrame is changed in 1278014, add it to block list
Blocks: 1278014
(In reply to zhoubcfan@163.com from comment #1) > since nsTextFrame is changed in 1278014, add it to block list It replaces raw int value to enum class items. So, shouldn't cause such stack's crash. Are you sure if it really causes this bug?
Flags: needinfo?(c)
I'm not sure. But adding bug 1278014 to the block list is a way to call the exports to make the conclusions.
Flags: needinfo?(c)
Blocks: 1279654, e10s
No longer blocks: 1278014
Crash Signature: [@ nsTextFrame::AddInlineMinISizeForFlow] → [@ nsTextFrame::AddInlineMinISizeForFlow] [@ nsLineLayout::ReflowFrame ]
Has Regression Range: --- → yes
Has STR: --- → yes
Component: Selection → Graphics
Flags: needinfo?(jwatt)
Summary: Crash in nsTextFrame::AddInlineMinISizeForFlow → [e10s] Crash in nsTextFrame::AddInlineMinISizeForFlow when printing
Version: Trunk → 50 Branch
That is...weird. The patch for bug 1279654 should not affect layout at all. I'm not sure how that could possibly result in those stack traces. How sure are you about the regression range?
Flags: needinfo?(jwatt) → needinfo?(epinal99-bugzilla2)
Yeas, I tested twice (one time for each webpage). Maybe your patch has triggered a bug in the layout component with e10s on.
Flags: needinfo?(epinal99-bugzilla2)
(In reply to Loic from comment #6) > Yeas, I tested twice (one time for each webpage). Which page? > Maybe your patch has > triggered a bug in the layout component with e10s on. I don't see how that's possible, since it doesn't affect layout. I'll need to get my hands on a Windows 10 machine.
(In reply to Jonathan Watt [:jwatt] from comment #7) > (In reply to Loic from comment #6) > > Yeas, I tested twice (one time for each webpage). > > Which page? See https://bugzilla.mozilla.org/show_bug.cgi?id=1280181#c4
FWIW, the crash address is 0x54 in both cases, which sounds very much like it's trying to dereference the mDT field of a null gfxContext ptr. So where's that coming from?
(In reply to Loic from comment #8) > See https://bugzilla.mozilla.org/show_bug.cgi?id=1280181#c4 Ah, thanks. When I initially saw that comment it was in an email body where it was broken over several lines and the link was broken. When I subsequently saw it in the bugzilla comment my brain processed that as one link to crash report rather than two different links on adjacent lines. Tired...
Also I've now figured out how this patch can go wrong.
See Also: → 1280324
I'll work on fixing bug 1280324 in the morning (otherwise we'll have to back out the changes to nsDeviceContextSpecProxy.cpp from bug 1279654, bug 1279790 and bug 1279789).
Tracking for 50+ - reproducible crash in printing.
This is #1 on Nightly by a mile, with close to 900 crashes, which is catastrophically higher than normal. jwatt, I understand that backing out is a pain but if a fix doesn't land very soon a backout should happen.
Keywords: topcrash
Ouch! Backing out...
confimed the backout fix the problem. Current nightly -> crash on the steps to reproduce a tinderbox build with the fix like http://ftp.mozilla.org/pub/firefox/tinderbox-builds/mozilla-inbound-win32/1466098702/ and the steps to reproduce -->>>> no crash \o/
Fixed with a backout.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [gfx-noted]
We still see this crash in 50.0b. Milan, should we open a new bug for this? Thanks
Status: RESOLVED → REOPENED
Flags: needinfo?(milan)
Resolution: FIXED → ---
It looks like there were crashes with this signature before the commit that caused this topcrash landed in https://bugzilla.mozilla.org/show_bug.cgi?id=1279654#c3 . See: https://crash-stats.mozilla.com/api/SuperSearch/?signature=~nsTextFrame%3A%3AAddInlineMinISizeForFlow&date=%3C2016-06-14&product=Firefox So it looks like there is at least one other issue causing crashes in this frame that is unrelated to the issue this bug was filed for.
So, we had this crash, then we got a lot more of it for a few days that bug 1279654 comment 3 patch was on central. That patch is backed out, and we're back to the "we had this crash". It sounds like bug 1279654 may get landed again once bug 1280324 lands. We may as well keep this bug for the crash we're seeing. It doesn't appear to be a topcrash anymore, nor do we have a reproducible case for it though, right?
Flags: needinfo?(milan)
This doesn't necessarily depend on bug 1280324, but it's worth looking at once that lands.
Depends on: 1280324
Changing status to fix-optional for 50, since this isn't a top crash anymore.
This seems to be gone. In any case, since there's a bunch of discussion in this bug about one particular source of this crash, we should open a new bug for anything else otherwise bugs become more of a hassle to work on.
Status: REOPENED → RESOLVED
Closed: 9 years ago8 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.