Open Bug 1596525 Opened 5 months ago Updated 4 months ago

Assertion failure: data.mPrevLines == 0 (Shouldn't have prev lines), at /builds/worker/workspace/build/src/layout/generic/nsRubyBaseContainerFrame.cpp:146

Categories

(Core :: Layout: Ruby, defect, P2)

defect

Tracking

()

Tracking Status
firefox72 --- affected

People

(Reporter: jkratzer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, regressionwindow-wanted, testcase)

Attachments

(1 file)

Attached file testcase.html

Testcase found while fuzzing mozilla-central rev caf55914ccdd.

Assertion failure: data.mPrevLines == 0 (Shouldn't have prev lines), at /builds/worker/workspace/build/src/layout/generic/nsRubyBaseContainerFrame.cpp:146

rax = 0x000056211af90340   rdx = 0x0000000000000000
rcx = 0x00007fd302e8f5ad   rbx = 0x0000000000000000
rsi = 0x00007fd30e7398b0   rdi = 0x00007fd30e738680
rbp = 0x00007ffff286fd80   rsp = 0x00007ffff286fcf0
r8 = 0x00007fd30e7398b0    r9 = 0x00007fd30f8a2780
r10 = 0x0000000000000000   r11 = 0x0000000000000000
r12 = 0x0000000000000000   r13 = 0x00007ffff286fd18
r14 = 0x00007ffff286fe00   r15 = 0x00007ffff286ff28
rip = 0x00007fd2ff400c96
OS|Linux|0.0.0 Linux 5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019 x86_64
CPU|amd64|family 6 model 94 stepping 3|1
GPU|||
Crash|SIGSEGV|0x0|0
0|0|libxul.so|CalculateColumnPrefISize|hg:hg.mozilla.org/mozilla-central:layout/generic/nsRubyBaseContainerFrame.cpp:caf55914ccddba34d462a1206530d7868b6c4992|146|0x0
0|1|libxul.so|nsRubyBaseContainerFrame::AddInlinePrefISize(gfxContext*, nsIFrame::InlinePrefISizeData*)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsRubyBaseContainerFrame.cpp:caf55914ccddba34d462a1206530d7868b6c4992|223|0x12
0|2|libxul.so|nsRubyFrame::AddInlinePrefISize(gfxContext*, nsIFrame::InlinePrefISizeData*)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsRubyFrame.cpp:caf55914ccddba34d462a1206530d7868b6c4992|76|0xb
0|3|libxul.so|nsBlockFrame::GetPrefISize(gfxContext*)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsBlockFrame.cpp:caf55914ccddba34d462a1206530d7868b6c4992|862|0x1b
0|4|libxul.so|nsIFrame::ComputeISizeValue(gfxContext*, int, int, int, mozilla::StyleExtremumLength, nsIFrame::ComputeSizeFlags)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsFrame.cpp:caf55914ccddba34d462a1206530d7868b6c4992|6577|0xf
0|5|libxul.so|int mozilla::SizeComputationInput::ComputeISizeValue<mozilla::StyleGenericMaxSize<mozilla::StyleLengthPercentage> >(int, mozilla::StyleBoxSizing, mozilla::StyleGenericMaxSize<mozilla::StyleLengthPercentage> const&) const|hg:hg.mozilla.org/mozilla-central:layout/generic/ReflowInput.cpp:caf55914ccddba34d462a1206530d7868b6c4992|254|0x94
0|6|libxul.so|mozilla::ReflowInput::ComputeMinMaxValues(mozilla::LogicalSize const&)|hg:hg.mozilla.org/mozilla-central:layout/generic/ReflowInput.cpp:caf55914ccddba34d462a1206530d7868b6c4992|2979|0x15
0|7|libxul.so|mozilla::ReflowInput::InitConstraints(nsPresContext*, mozilla::Maybe<mozilla::LogicalSize> const&, nsMargin const*, nsMargin const*, mozilla::LayoutFrameType)|hg:hg.mozilla.org/mozilla-central:layout/generic/ReflowInput.cpp:caf55914ccddba34d462a1206530d7868b6c4992|2322|0xb
0|8|libxul.so|mozilla::ReflowInput::Init(nsPresContext*, mozilla::Maybe<mozilla::LogicalSize> const&, nsMargin const*, nsMargin const*)|hg:hg.mozilla.org/mozilla-central:layout/generic/ReflowInput.cpp:caf55914ccddba34d462a1206530d7868b6c4992|355|0x1a
0|9|libxul.so|nsCanvasFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsCanvasFrame.cpp:caf55914ccddba34d462a1206530d7868b6c4992|709|0x41
0|10|libxul.so|nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, mozilla::WritingMode const&, mozilla::LogicalPoint const&, nsSize const&, nsIFrame::ReflowChildFlags, nsReflowStatus&, nsOverflowContinuationTracker*)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsContainerFrame.cpp:caf55914ccddba34d462a1206530d7868b6c4992|910|0x1d
0|11|libxul.so|nsHTMLScrollFrame::ReflowScrolledFrame(mozilla::ScrollReflowInput*, bool, bool, mozilla::ReflowOutput*)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGfxScrollFrame.cpp:caf55914ccddba34d462a1206530d7868b6c4992|647|0x5
0|12|libxul.so|nsHTMLScrollFrame::ReflowContents(mozilla::ScrollReflowInput*, mozilla::ReflowOutput const&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGfxScrollFrame.cpp:caf55914ccddba34d462a1206530d7868b6c4992|760|0xe
0|13|libxul.so|nsHTMLScrollFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGfxScrollFrame.cpp:caf55914ccddba34d462a1206530d7868b6c4992|1138|0x5
0|14|libxul.so|nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, int, int, nsIFrame::ReflowChildFlags, nsReflowStatus&, nsOverflowContinuationTracker*)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsContainerFrame.cpp:caf55914ccddba34d462a1206530d7868b6c4992|950|0x19
0|15|libxul.so|mozilla::ViewportFrame::Reflow(nsPresContext*, mozilla::ReflowOutput&, mozilla::ReflowInput const&, nsReflowStatus&)|hg:hg.mozilla.org/mozilla-central:layout/generic/ViewportFrame.cpp:caf55914ccddba34d462a1206530d7868b6c4992|300|0x2b
0|16|libxul.so|mozilla::PresShell::DoReflow(nsIFrame*, bool, mozilla::OverflowChangedTracker*)|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:caf55914ccddba34d462a1206530d7868b6c4992|9185|0x21
0|17|libxul.so|mozilla::PresShell::ProcessReflowCommands(bool)|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:caf55914ccddba34d462a1206530d7868b6c4992|9355|0x11
0|18|libxul.so|mozilla::PresShell::DoFlushPendingNotifications(mozilla::ChangesToFlush)|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:caf55914ccddba34d462a1206530d7868b6c4992|4117|0x15
0|19|libxul.so|nsRefreshDriver::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:caf55914ccddba34d462a1206530d7868b6c4992|2021|0x13
0|20|libxul.so|mozilla::RefreshDriverTimer::TickRefreshDrivers(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp, nsTArray<RefPtr<nsRefreshDriver> >&)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:caf55914ccddba34d462a1206530d7868b6c4992|350|0xb
0|21|libxul.so|mozilla::RefreshDriverTimer::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:caf55914ccddba34d462a1206530d7868b6c4992|367|0xf
0|22|libxul.so|mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:caf55914ccddba34d462a1206530d7868b6c4992|727|0xf
0|23|libxul.so|mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::NotifyVsync(mozilla::VsyncEvent const&)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:caf55914ccddba34d462a1206530d7868b6c4992|622|0xf
0|24|libxul.so|mozilla::layout::VsyncChild::RecvNotify(mozilla::VsyncEvent const&)|hg:hg.mozilla.org/mozilla-central:layout/ipc/VsyncChild.cpp:caf55914ccddba34d462a1206530d7868b6c4992|65|0x8
0|25|libxul.so|mozilla::layout::PVsyncChild::OnMessageReceived(IPC::Message const&)|s3:gecko-generated-sources:40b57a5f11db1f2975fc13c74f20fea3c72418dd5cc7be16b1724f135b6995163d22588c816f1fb7f6cdadad80e8ed2fcea1ccf234f0788643e6a5e4e1859c1e/ipc/ipdl/PVsyncChild.cpp:|187|0xb
0|26|libxul.so|mozilla::ipc::PBackgroundChild::OnMessageReceived(IPC::Message const&)|s3:gecko-generated-sources:5579cb101527982d72096be9b6fcb46f6d93a5d14564b8f11e1f6a6e8ccd6278d0b51192bc07b23625f16d1978dd8222d850a46e5779288881548c3e9f02aad4/ipc/ipdl/PBackgroundChild.cpp:|5876|0x19
0|27|libxul.so|mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:caf55914ccddba34d462a1206530d7868b6c4992|2208|0x6
0|28|libxul.so|mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:caf55914ccddba34d462a1206530d7868b6c4992|2130|0xb
0|29|libxul.so|mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:caf55914ccddba34d462a1206530d7868b6c4992|1972|0xb
0|30|libxul.so|mozilla::ipc::MessageChannel::MessageTask::Run()|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:caf55914ccddba34d462a1206530d7868b6c4992|2003|0xc
0|31|libxul.so|nsThread::ProcessNextEvent(bool, bool*)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:caf55914ccddba34d462a1206530d7868b6c4992|1225|0x15
0|32|libxul.so|NS_ProcessNextEvent(nsIThread*, bool)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:caf55914ccddba34d462a1206530d7868b6c4992|486|0x11
0|33|libxul.so|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:caf55914ccddba34d462a1206530d7868b6c4992|88|0xa
0|34|libxul.so|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:caf55914ccddba34d462a1206530d7868b6c4992|315|0x17
0|35|libxul.so|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:caf55914ccddba34d462a1206530d7868b6c4992|290|0x8
0|36|libxul.so|nsBaseAppShell::Run()|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:caf55914ccddba34d462a1206530d7868b6c4992|137|0xd
0|37|libxul.so|XRE_RunAppShell()|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:caf55914ccddba34d462a1206530d7868b6c4992|934|0x11
0|38|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:caf55914ccddba34d462a1206530d7868b6c4992|238|0x5
0|39|libxul.so|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:caf55914ccddba34d462a1206530d7868b6c4992|315|0x17
0|40|libxul.so|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:caf55914ccddba34d462a1206530d7868b6c4992|290|0x8
0|41|libxul.so|XRE_InitChildProcess(int, char**, XREChildData const*)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:caf55914ccddba34d462a1206530d7868b6c4992|769|0xc
0|42|firefox-bin|content_process_main(mozilla::Bootstrap*, int, char**)|hg:hg.mozilla.org/mozilla-central:ipc/contentproc/plugin-container.cpp:caf55914ccddba34d462a1206530d7868b6c4992|56|0x14
0|43|firefox-bin|main|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:caf55914ccddba34d462a1206530d7868b6c4992|272|0x12
0|44|libc-2.27.so||||0x21b97
0|45|firefox-bin|MOZ_ReportCrash|hg:hg.mozilla.org/mozilla-central:mfbt/Assertions.h:caf55914ccddba34d462a1206530d7868b6c4992|203|0x5
Flags: in-testsuite?

I can reproduce in my local debug build, FWIW.

Looks like the assertion was added in bug 1134432 --> adding dependency.

Depends on: 1134432
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.