Open Bug 1546412 Opened 5 years ago Updated 1 year ago

Assertion failure: !aBuilder->IsForPainting() || !ShouldInTopLayerForFullscreen(elem), at /builds/worker/workspace/build/src/layout/generic/ViewportFrame.cpp:134

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

Tracking Status
firefox-esr102 --- affected
firefox68 --- wontfix
firefox111 --- wontfix
firefox112 --- affected
firefox113 --- affected

People

(Reporter: jkratzer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase, Whiteboard: [retriggered])

Attachments

(1 file)

Attached file test_0481.html —

Testcase found while fuzzing mozilla-central rev 831918f009f6.

Assertion failure: !aBuilder->IsForPainting() || !ShouldInTopLayerForFullscreen(elem), at /builds/worker/workspace/build/src/layout/generic/ViewportFrame.cpp:134

rax = 0x000055a2289a9e20 rdx = 0x0000000000000000
rcx = 0x00007f9065d9b71c rbx = 0x00007f9056767098
rsi = 0x00007f9070c188b0 rdi = 0x00007f9070c17680
rbp = 0x00007ffdd3477a50 rsp = 0x00007ffdd34779f0
r8 = 0x00007f9070c188b0 r9 = 0x00007f9071d75740
r10 = 0x0000000000000000 r11 = 0x0000000000000000
r12 = 0x00007f90567729d0 r13 = 0x00007f905674b000
r14 = 0x00007ffdd3477a80 r15 = 0x00007f9056766020
rip = 0x00007f90625e7635
OS|Linux|0.0.0 Linux 4.18.0-17-generic #18~18.04.1-Ubuntu SMP Fri Mar 15 15:27:12 UTC 2019 x86_64
CPU|amd64|family 6 model 94 stepping 3|1
GPU|||
Crash|SIGSEGV /SEGV_MAPERR|0x0|0
0|0|libxul.so|mozilla::ViewportFrame::BuildDisplayListForTopLayer(nsDisplayListBuilder*, nsDisplayList*)|hg:hg.mozilla.org/mozilla-central:layout/generic/ViewportFrame.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|142|0x0
0|1|libxul.so|mozilla::ScrollFrameHelper::MaybeAddTopLayerItems(nsDisplayListBuilder*, nsDisplayListSet const&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGfxScrollFrame.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|3747|0x12
0|2|libxul.so|mozilla::ScrollFrameHelper::BuildDisplayList(nsDisplayListBuilder*, nsDisplayListSet const&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsGfxScrollFrame.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|3664|0x15
0|3|libxul.so|nsIFrame::BuildDisplayListForSimpleChild(nsDisplayListBuilder*, nsIFrame*, nsDisplayListSet const&)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsFrame.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|3618|0x13
0|4|libxul.so|nsIFrame::BuildDisplayListForChild(nsDisplayListBuilder*, nsIFrame*, nsDisplayListSet const&, unsigned int)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsFrame.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|3685|0x19
0|5|libxul.so|mozilla::ViewportFrame::BuildDisplayList(nsDisplayListBuilder*, nsDisplayListSet const&)|hg:hg.mozilla.org/mozilla-central:layout/generic/ViewportFrame.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|62|0x12
0|6|libxul.so|nsIFrame::BuildDisplayListForStackingContext(nsDisplayListBuilder*, nsDisplayList*, bool*)|hg:hg.mozilla.org/mozilla-central:layout/generic/nsFrame.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|3174|0x1a
0|7|libxul.so|nsLayoutUtils::PaintFrame(gfxContext*, nsIFrame*, nsRegion const&, unsigned int, nsDisplayListBuilderMode, nsLayoutUtils::PaintFrameFlags)|hg:hg.mozilla.org/mozilla-central:layout/base/nsLayoutUtils.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|3852|0x5
0|8|libxul.so|mozilla::PresShell::Paint(nsView*, nsRegion const&, unsigned int)|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|6074|0x1b
0|9|libxul.so|nsViewManager::ProcessPendingUpdatesPaint(nsIWidget*)|hg:hg.mozilla.org/mozilla-central:view/nsViewManager.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|462|0x1c
0|10|libxul.so|nsViewManager::ProcessPendingUpdatesForView(nsView*, bool)|hg:hg.mozilla.org/mozilla-central:view/nsViewManager.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|397|0xd
0|11|libxul.so|nsViewManager::ProcessPendingUpdates()|hg:hg.mozilla.org/mozilla-central:view/nsViewManager.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|1020|0x11
0|12|libxul.so|nsRefreshDriver::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|2067|0x8
0|13|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:831918f009f63596fde1e532cc0f026d2e53cf78|325|0xb
0|14|libxul.so|mozilla::RefreshDriverTimer::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|342|0xf
0|15|libxul.so|mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|708|0xf
0|16|libxul.so|mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::NotifyVsync(mozilla::VsyncEvent const&)|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|603|0xf
0|17|libxul.so|mozilla::layout::VsyncChild::RecvNotify(mozilla::VsyncEvent const&)|hg:hg.mozilla.org/mozilla-central:layout/ipc/VsyncChild.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|65|0x8
0|18|libxul.so|mozilla::layout::PVsyncChild::OnMessageReceived(IPC::Message const&)|s3:gecko-generated-sources:77ce59d8b2c7052469c47c063657e9de1ccc8108986d35814c718a6919e13f00c69b96f485bc73c2590f51f3ea688a95fac179d8497a06fdf9265adfe5cefbb3/ipc/ipdl/PVsyncChild.cpp:|168|0xb
0|19|libxul.so|mozilla::ipc::MessageChannel::DispatchAsyncMessage(IPC::Message const&)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|2151|0x6
0|20|libxul.so|mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|2078|0xb
0|21|libxul.so|mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|1937|0xb
0|22|libxul.so|mozilla::ipc::MessageChannel::MessageTask::Run()|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|1968|0xc
0|23|libxul.so|nsThread::ProcessNextEvent(bool, bool*)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|1180|0x15
0|24|libxul.so|NS_ProcessNextEvent(nsIThread*, bool)|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|486|0x11
0|25|libxul.so|mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|110|0xd
0|26|libxul.so|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:831918f009f63596fde1e532cc0f026d2e53cf78|315|0x17
0|27|libxul.so|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:831918f009f63596fde1e532cc0f026d2e53cf78|290|0x8
0|28|libxul.so|nsBaseAppShell::Run()|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|137|0xd
0|29|libxul.so|XRE_RunAppShell()|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|919|0x11
0|30|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*)|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|238|0x5
0|31|libxul.so|MessageLoop::RunInternal()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:831918f009f63596fde1e532cc0f026d2e53cf78|315|0x17
0|32|libxul.so|MessageLoop::Run()|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:831918f009f63596fde1e532cc0f026d2e53cf78|290|0x8
0|33|libxul.so|XRE_InitChildProcess(int, char**, XREChildData const*)|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|757|0xc
0|34|firefox-bin|content_process_main(mozilla::Bootstrap*, int, char**)|hg:hg.mozilla.org/mozilla-central:ipc/contentproc/plugin-container.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|56|0x14
0|35|firefox-bin|main|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:831918f009f63596fde1e532cc0f026d2e53cf78|263|0x11
0|36|libc-2.27.so|__libc_start_main|||0xe7

Flags: in-testsuite?
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: