Open Bug 1470987 Opened 2 years ago Updated 2 years ago

[css-grid] Assertion failure: item.mGridItem->mBaselineOffset[mAxis] >= 0, at /builds/worker/workspace/build/src/layout/generic/nsGridContainerFrame.cpp:3954

Categories

(Core :: Layout, defect, P4)

59 Branch
defect

Tracking

()

People

(Reporter: jkratzer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file trigger.html
Testcase found while fuzzing mozilla-central rev 42593af5ec7ec9d5a07c9c0e899ac99244d15ae6.  Testcase bisects back further than a year which is as far back as taskcluster stores builds.

rax = 0x0000000000000000   rdx = 0x0000000000000000
rcx = 0x00007f3709bde2dd   rbx = 0x00007ffe68a18f88
rsi = 0x00007f3709ead770   rdi = 0x00007f3709eac540
rbp = 0x00007ffe68a18f10   rsp = 0x00007ffe68a18ea0
r8 = 0x00007f3709ead770    r9 = 0x00007f370af7b740
r10 = 0x0000000000000039   r11 = 0x0000000000000000
r12 = 0x0000000000000003   r13 = 0x0000000040000560
r14 = 0x00007ffe68a196a8   r15 = 0x0000000040000380
rip = 0x00007f36f9de18f8
OS|Linux|0.0.0 Linux 4.4.0-128-generic #154-Ubuntu SMP Fri May 25 14:15:18 UTC 2018 x86_64
CPU|amd64|family 6 model 78 stepping 3|1
GPU|||
Crash|SIGSEGV|0x0|0
0|0|libxul.so|nsGridContainerFrame::Tracks::CalculateItemBaselines(nsTArray<nsGridContainerFrame::Tracks::ItemBaselineData>&, mozilla::BaselineSharingGroup)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGridContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|3954|0x18
0|1|libxul.so|nsGridContainerFrame::Tracks::InitializeItemBaselines(nsGridContainerFrame::GridReflowInput&, nsTArray<nsGridContainerFrame::GridItemInfo>&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGridContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|4169|0x5
0|2|libxul.so|nsGridContainerFrame::Tracks::CalculateSizes(nsGridContainerFrame::GridReflowInput&, nsTArray<nsGridContainerFrame::GridItemInfo>&, nsGridContainerFrame::TrackSizingFunctions const&, int, nsGridContainerFrame::LineRange nsGridContainerFrame::GridArea::*, SizingConstraint)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGridContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|3824|0x5
0|3|libxul.so|nsGridContainerFrame::GridReflowInput::CalculateTrackSizes(nsGridContainerFrame::Grid const&, mozilla::LogicalSize const&, SizingConstraint)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGridContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|2422|0x15
0|4|libxul.so|nsGridContainerFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGridContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|5996|0x5
0|5|libxul.so|nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, mozilla::WritingMode const&, mozilla::LogicalPoint const&, nsSize const&, unsigned int, nsReflowStatus&, nsOverflowContinuationTracker*)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|951|0x1a
0|6|libxul.so|MeasuringReflow|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGridContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|3604|0x5
0|7|libxul.so|nsGridContainerFrame::Tracks::InitializeItemBaselines(nsGridContainerFrame::GridReflowInput&, nsTArray<nsGridContainerFrame::GridItemInfo>&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGridContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|4090|0x11
0|8|libxul.so|nsGridContainerFrame::Tracks::CalculateSizes(nsGridContainerFrame::GridReflowInput&, nsTArray<nsGridContainerFrame::GridItemInfo>&, nsGridContainerFrame::TrackSizingFunctions const&, int, nsGridContainerFrame::LineRange nsGridContainerFrame::GridArea::*, SizingConstraint)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGridContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|3824|0x5
0|9|libxul.so|nsGridContainerFrame::GridReflowInput::CalculateTrackSizes(nsGridContainerFrame::Grid const&, mozilla::LogicalSize const&, SizingConstraint)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGridContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|2422|0x15
0|10|libxul.so|nsGridContainerFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGridContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|5996|0x5
0|11|libxul.so|nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, mozilla::WritingMode const&, mozilla::LogicalPoint const&, nsSize const&, unsigned int, nsReflowStatus&, nsOverflowContinuationTracker*)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|951|0x1a
0|12|libxul.so|nsCanvasFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsCanvasFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|714|0x4d
0|13|libxul.so|nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, mozilla::WritingMode const&, mozilla::LogicalPoint const&, nsSize const&, unsigned int, nsReflowStatus&, nsOverflowContinuationTracker*)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|951|0x1a
0|14|libxul.so|nsHTMLScrollFrame::ReflowScrolledFrame(mozilla::ScrollReflowInput*, bool, bool, mozilla::ReflowOutput*, bool)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGfxScrollFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|582|0x5
0|15|libxul.so|nsHTMLScrollFrame::ReflowContents(mozilla::ScrollReflowInput*, mozilla::ReflowOutput const&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGfxScrollFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|704|0x14
0|16|libxul.so|nsHTMLScrollFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGfxScrollFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|1080|0x5
0|17|libxul.so|nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, int, int, unsigned int, nsReflowStatus&, nsOverflowContinuationTracker*)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsContainerFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|995|0x19
0|18|libxul.so|mozilla::ViewportFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)|hg:hg.mozilla.org/mozilla-central:layout/generic/ViewportFrame.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|339|0x2b
0|19|libxul.so|mozilla::PresShell::DoReflow(nsIFrame*, bool)|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|8940|0x25
0|20|libxul.so|mozilla::PresShell::ProcessReflowCommands(bool)|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|9113|0xe
0|21|libxul.so|mozilla::PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush)|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|4335|0x15
0|22|libxul.so|nsRefreshDriver::Tick(long, mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|1923|0x5
0|23|libxul.so|mozilla::RefreshDriverTimer::TickRefreshDrivers(long, mozilla::TimeStamp, nsTArray<RefPtr<nsRefreshDriver> >&)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|301|0xb
0|24|libxul.so|mozilla::RefreshDriverTimer::Tick(long, mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|320|0xf
0|25|libxul.so|mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver(mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|760|0x5
0|26|libxul.so|mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::NotifyVsync(mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|574|0xc
0|27|libxul.so|mozilla::layout::VsyncChild::RecvNotify(mozilla::TimeStamp const&)|hg:hg.mozilla.org/mozilla-central:layout/ipc/VsyncChild.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|68|0x9
0|28|libxul.so|mozilla::layout::PVsyncChild::OnMessageReceived(IPC::Message const&)|s3:gecko-generated-sources:0c7cf777c2ff93c34ff1546f677320cb1229427e6947e87c6fa76720f9b9c5b6a4a4d036521ed9a643f4fa5e10a57d8748e2532d47fce8282aa653340c0c00ff/ipc/ipdl/PVsyncChild.cpp:|167|0xc
0|29|libxul.so|mozilla::ipc::MessageChannel::DispatchAsyncMessage(IPC::Message const&)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|2134|0x6
0|30|libxul.so|mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|2064|0xb
0|31|libxul.so|mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|1910|0xb
0|32|libxul.so|mozilla::ipc::MessageChannel::MessageTask::Run()|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|1943|0xc
0|33|libxul.so|nsThread::ProcessNextEvent(bool, bool*)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|1051|0x15
0|34|libxul.so|NS_ProcessNextEvent(nsIThread*, bool)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|519|0x11
0|35|libxul.so|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|97|0xa
0|36|libxul.so|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|325|0x17
0|37|libxul.so|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|318|0x8
0|38|libxul.so|nsBaseAppShell::Run()|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|158|0xd
0|39|libxul.so|XRE_RunAppShell()|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|896|0x11
0|40|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|269|0x5
0|41|libxul.so|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|325|0x17
0|42|libxul.so|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|318|0x8
0|43|libxul.so|XRE_InitChildProcess(int, char**, XREChildData const*)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|722|0x8
0|44|firefox|content_process_main(mozilla::Bootstrap*, int, char**)|hg:hg.mozilla.org/mozilla-central:ipc/contentproc/plugin-container.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|50|0x14
0|45|firefox|main|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|287|0x11
0|46|libc-2.23.so||||0x20830
0|47|firefox|MOZ_ReportAssertionFailure|hg:hg.mozilla.org/mozilla-central:mfbt/Assertions.h:4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a|164|0x5
Flags: in-testsuite?
Probably a nscoord overflow somewhere due to "border:7108865mm solid".
I don't think anything bad can happen as a result, so it's low priority.
OS: Unspecified → All
Priority: -- → P4
Hardware: Unspecified → All
Summary: Assertion failure: item.mGridItem->mBaselineOffset[mAxis] >= 0, at /builds/worker/workspace/build/src/layout/generic/nsGridContainerFrame.cpp:3954 → [css-grid] Assertion failure: item.mGridItem->mBaselineOffset[mAxis] >= 0, at /builds/worker/workspace/build/src/layout/generic/nsGridContainerFrame.cpp:3954
You need to log in before you can comment on or make changes to this bug.