Closed
Bug 1470986
Opened 7 years ago
Closed 7 years ago
Assertion failure: n2 >= 0, at /home/worker/workspace/build/src/gfx/2d/BezierUtils.cpp:333
Categories
(Core :: Graphics, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1394405
People
(Reporter: jkratzer, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: assertion, testcase, Whiteboard: [gfx-noted])
Attachments
(1 file)
|
474 bytes,
text/html
|
Details |
Testcase found while fuzzing mozilla-central rev 14b72cf25160bc6e5849d5d97dd7f030ae5fb6ae. Testcase bisects back more than a year which is as far back as taskcluster stores builds.
rax = 0x0000000000000000 rdx = 0x0000000000000000
rcx = 0x00007fa41070f2dd rbx = 0x00007ffd628b0a88
rsi = 0x00007fa4109de770 rdi = 0x00007fa4109dd540
rbp = 0x00007ffd628b07b0 rsp = 0x00007ffd628b07b0
r8 = 0x00007fa4109de770 r9 = 0x00007fa411cc2740
r10 = 0x0000000000000075 r11 = 0x0000000000000000
r12 = 0x000000000000001f r13 = 0x00007ffd628b0ac8
r14 = 0x00007ffd628b0808 r15 = 0x00007ffd628b0818
rip = 0x00007fa3ff8cf080
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|mozilla::gfx::CalculateDistanceToEllipticArc|hg:hg.mozilla.org/mozilla-central:gfx/2d/BezierUtils.cpp:42593af5ec7e|333|0x18
0|1|libxul.so|mozilla::DottedCornerFinder::FindNext|hg:hg.mozilla.org/mozilla-central:layout/painting/DottedCornerFinder.cpp:42593af5ec7e|296|0x15
0|2|libxul.so|mozilla::DottedCornerFinder::GetCountAndLastOverlap|hg:hg.mozilla.org/mozilla-central:layout/painting/DottedCornerFinder.cpp:42593af5ec7e|556|0x11
0|3|libxul.so|mozilla::DottedCornerFinder::FindBestOverlap|hg:hg.mozilla.org/mozilla-central:layout/painting/DottedCornerFinder.cpp:42593af5ec7e|410|0x17
0|4|libxul.so|mozilla::DottedCornerFinder::DetermineType|hg:hg.mozilla.org/mozilla-central:layout/painting/DottedCornerFinder.cpp:42593af5ec7e|157|0x17
0|5|libxul.so|mozilla::DottedCornerFinder::DottedCornerFinder|hg:hg.mozilla.org/mozilla-central:layout/painting/DottedCornerFinder.cpp:42593af5ec7e|74|0x5
0|6|libxul.so|nsCSSBorderRenderer::DrawDottedCornerSlow|hg:hg.mozilla.org/mozilla-central:layout/painting/nsCSSRenderingBorders.cpp:42593af5ec7e|2446|0x5
0|7|libxul.so|nsCSSBorderRenderer::DrawDashedOrDottedCorner|hg:hg.mozilla.org/mozilla-central:layout/painting/nsCSSRenderingBorders.cpp:42593af5ec7e|2378|0x5
0|8|libxul.so|nsCSSBorderRenderer::DrawBorderSides|hg:hg.mozilla.org/mozilla-central:layout/painting/nsCSSRenderingBorders.cpp:42593af5ec7e|1365|0x12
0|9|libxul.so|nsCSSBorderRenderer::DrawBorders|hg:hg.mozilla.org/mozilla-central:layout/painting/nsCSSRenderingBorders.cpp:42593af5ec7e|3460|0x15
0|10|libxul.so|nsCSSRendering::PaintBorderWithStyleBorder|hg:hg.mozilla.org/mozilla-central:layout/painting/nsCSSRendering.cpp:42593af5ec7e|880|0x8
0|11|libxul.so|nsCSSRendering::PaintBorder|hg:hg.mozilla.org/mozilla-central:layout/painting/nsCSSRendering.cpp:42593af5ec7e|649|0x2d
0|12|libxul.so|nsFieldSetFrame::PaintBorder|hg:hg.mozilla.org/mozilla-central:layout/forms/nsFieldSetFrame.cpp:42593af5ec7e|265|0x54
0|13|libxul.so|nsDisplayFieldSetBorder::Paint|hg:hg.mozilla.org/mozilla-central:layout/forms/nsFieldSetFrame.cpp:42593af5ec7e|108|0x5
0|14|libxul.so|mozilla::FrameLayerBuilder::PaintItems|hg:hg.mozilla.org/mozilla-central:layout/painting/FrameLayerBuilder.cpp:42593af5ec7e|6073|0x1a
0|15|libxul.so|mozilla::FrameLayerBuilder::DrawPaintedLayer|hg:hg.mozilla.org/mozilla-central:layout/painting/FrameLayerBuilder.cpp:42593af5ec7e|6249|0x85
0|16|libxul.so|mozilla::layers::ClientPaintedLayer::PaintThebes|hg:hg.mozilla.org/mozilla-central:gfx/layers/client/ClientPaintedLayer.cpp:42593af5ec7e|216|0x21
0|17|libxul.so|mozilla::layers::ClientPaintedLayer::RenderLayerWithReadback|hg:hg.mozilla.org/mozilla-central:gfx/layers/client/ClientPaintedLayer.cpp:42593af5ec7e|311|0xb
0|18|libxul.so|mozilla::layers::ClientContainerLayer::RenderLayer|hg:hg.mozilla.org/mozilla-central:gfx/layers/client/ClientContainerLayer.h:42593af5ec7e|57|0xd
0|19|libxul.so|mozilla::layers::ClientLayerManager::EndTransactionInternal|hg:hg.mozilla.org/mozilla-central:gfx/layers/client/ClientLayerManager.cpp:42593af5ec7e|375|0xa
0|20|libxul.so|mozilla::layers::ClientLayerManager::EndTransaction|hg:hg.mozilla.org/mozilla-central:gfx/layers/client/ClientLayerManager.cpp:42593af5ec7e|433|0x11
0|21|libxul.so|nsDisplayList::PaintRoot|hg:hg.mozilla.org/mozilla-central:layout/painting/nsDisplayList.cpp:42593af5ec7e|2291|0x17
0|22|libxul.so|nsLayoutUtils::PaintFrame|hg:hg.mozilla.org/mozilla-central:layout/base/nsLayoutUtils.cpp:42593af5ec7e|3697|0x5
0|23|libxul.so|mozilla::PresShell::Paint|hg:hg.mozilla.org/mozilla-central:layout/base/PresShell.cpp:42593af5ec7e|6428|0x17
0|24|libxul.so|nsViewManager::ProcessPendingUpdatesPaint|hg:hg.mozilla.org/mozilla-central:view/nsViewManager.cpp:42593af5ec7e|481|0x12
0|25|libxul.so|nsViewManager::ProcessPendingUpdatesForView|hg:hg.mozilla.org/mozilla-central:view/nsViewManager.cpp:42593af5ec7e|413|0xd
0|26|libxul.so|nsViewManager::ProcessPendingUpdates|hg:hg.mozilla.org/mozilla-central:view/nsViewManager.cpp:42593af5ec7e|1095|0x11
0|27|libxul.so|nsRefreshDriver::Tick|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:42593af5ec7e|2022|0x5
0|28|libxul.so|mozilla::RefreshDriverTimer::TickRefreshDrivers|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:42593af5ec7e|297|0xf
0|29|libxul.so|mozilla::RefreshDriverTimer::Tick|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:42593af5ec7e|319|0x12
0|30|libxul.so|mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:42593af5ec7e|750|0x5
0|31|libxul.so|mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::NotifyVsync|hg:hg.mozilla.org/mozilla-central:layout/base/nsRefreshDriver.cpp:42593af5ec7e|564|0xc
0|32|libxul.so|mozilla::layout::VsyncChild::RecvNotify|hg:hg.mozilla.org/mozilla-central:layout/ipc/VsyncChild.cpp:42593af5ec7e|67|0x9
0|33|libxul.so|mozilla::layout::PVsyncChild::OnMessageReceived|hg:hg.mozilla.org/mozilla-central:obj-firefox/ipc/ipdl/PVsyncChild.cpp:42593af5ec7e|155|0xf
0|34|libxul.so|mozilla::ipc::MessageChannel::DispatchAsyncMessage|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:42593af5ec7e|2089|0x6
0|35|libxul.so|mozilla::ipc::MessageChannel::DispatchMessage|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:42593af5ec7e|2015|0xb
0|36|libxul.so|mozilla::ipc::MessageChannel::RunMessage|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:42593af5ec7e|1884|0xb
0|37|libxul.so|mozilla::ipc::MessageChannel::MessageTask::Run|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessageChannel.cpp:42593af5ec7e|1917|0xc
0|38|libxul.so|nsThread::ProcessNextEvent|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThread.cpp:42593af5ec7e|1421|0x15
0|39|libxul.so|NS_ProcessNextEvent|hg:hg.mozilla.org/mozilla-central:xpcom/threads/nsThreadUtils.cpp:42593af5ec7e|471|0x11
0|40|libxul.so|mozilla::ipc::MessagePump::Run|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:42593af5ec7e|96|0xa
0|41|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:42593af5ec7e|320|0x17
0|42|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:42593af5ec7e|313|0x8
0|43|libxul.so|nsBaseAppShell::Run|hg:hg.mozilla.org/mozilla-central:widget/nsBaseAppShell.cpp:42593af5ec7e|156|0xd
0|44|libxul.so|XRE_RunAppShell|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:42593af5ec7e|896|0x6
0|45|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run|hg:hg.mozilla.org/mozilla-central:ipc/glue/MessagePump.cpp:42593af5ec7e|269|0x5
0|46|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:42593af5ec7e|320|0x17
0|47|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/mozilla-central:ipc/chromium/src/base/message_loop.cc:42593af5ec7e|313|0x8
0|48|libxul.so|XRE_InitChildProcess|hg:hg.mozilla.org/mozilla-central:toolkit/xre/nsEmbedFunctions.cpp:42593af5ec7e|712|0x8
0|49|firefox|content_process_main|hg:hg.mozilla.org/mozilla-central:ipc/contentproc/plugin-container.cpp:42593af5ec7e|64|0x13
0|50|firefox|main|hg:hg.mozilla.org/mozilla-central:browser/app/nsBrowserApp.cpp:42593af5ec7e|286|0x12
0|51|libc-2.23.so||||0x20830
0|52|firefox|MOZ_ReportAssertionFailure|hg:hg.mozilla.org/mozilla-central:mfbt/Assertions.h:42593af5ec7e|164|0x5
Flags: in-testsuite?
Updated•7 years ago
|
Priority: -- → P3
Comment 1•7 years ago
|
||
The assertion and line number from the summary suggest this was collected on a build before bug 1394405, not after. At the very least the assertion should have changed :).
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Whiteboard: [gfx-noted]
You need to log in
before you can comment on or make changes to this bug.
Description
•