Open
Bug 1603535
Opened 5 years ago
Updated 2 years ago
null pointer passed as argument 2, which is declared to never be null in gfx/cairo/cairo/src/cairo-path-fixed.c:776
Categories
(Core :: Graphics, defect, P3)
Core
Graphics
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox73 | --- | affected |
People
(Reporter: tsmith, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: testcase)
Found with m-c 20191211-b823b005f00e
This is triggered with an UBSan build while running gtests. To enable this check add the following to your mozconfig:
ac_add_options --enable-undefined-sanitizer="nonnull-attribute"
[ RUN ] APZEventRegionsTester.HitRegionImmediateResponse
gfx/cairo/cairo/src/cairo-path-fixed.c:776:6: runtime error: null pointer passed as argument 2, which is declared to never be null
/usr/include/string.h:43:28: note: nonnull attribute specified here
#0 0x7f416985db2a in _cairo_path_buf_add_points gfx/cairo/cairo/src/cairo-path-fixed.c:775:5
#1 0x7f416982e58f in _cairo_path_fixed_add gfx/cairo/cairo/src/cairo-path-fixed.c:723:5
#2 0x7f416982fefc in _cairo_path_fixed_close_path gfx/cairo/cairo/src/cairo-path-fixed.c:655:14
#3 0x7f416989ccf3 in INT__moz_cairo_close_path gfx/cairo/cairo/src/cairo.c:2178:14
#4 0x7f4163127437 in gfxUtils::ClearThebesSurface(gfxASurface*) gfx/thebes/gfxUtils.cpp:809:3
#5 0x7f416304eb4c in gfxPlatformGtk::CreateOffscreenSurface(mozilla::gfx::IntSizeTyped<mozilla::gfx::UnknownUnits> const&, mozilla::gfx::SurfaceFormat) gfx/thebes/gfxPlatformGtk.cpp:184:5
#6 0x7f416303567a in gfxPlatform::Init() gfx/thebes/gfxPlatform.cpp:1031:51
#7 0x7f4163034803 in gfxPlatform::GetPlatform() gfx/thebes/gfxPlatform.cpp:500:5
#8 0x7f415e708006 in APZCTreeManagerTester::SetUp() gfx/layers/apz/test/gtest/APZCTreeManagerTester.h:24:5
#9 0x7f415e5fb50b in testing::Test::Run() testing/gtest/gtest/src/gtest.cc:2515:3
#10 0x7f415e5fc5b6 in testing::TestInfo::Run() testing/gtest/gtest/src/gtest.cc:2695:11
#11 0x7f415e5fcf0a in testing::TestCase::Run() testing/gtest/gtest/src/gtest.cc:2813:28
#12 0x7f415e60b2db in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/gtest/src/gtest.cc:5179:43
#13 0x7f415e60ad34 in testing::UnitTest::Run() testing/gtest/gtest/src/gtest.cc:4788:10
#14 0x7f415e64cb64 in mozilla::RunGTestFunc(int*, char**) testing/gtest/mozilla/GTestRunner.cpp:158:10
#15 0x7f416ba1a40e in XREMain::XRE_mainStartup(bool*) toolkit/xre/nsAppRunner.cpp:3764:16
#16 0x7f416ba236cb in XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) toolkit/xre/nsAppRunner.cpp:4722:12
#17 0x7f416ba2433b in XRE_main(int, char**, mozilla::BootstrapConfig const&) toolkit/xre/nsAppRunner.cpp:4818:21
#18 0x55e1c0c27df2 in do_main(int, char**, char**) browser/app/nsBrowserApp.cpp:217:22
#19 0x55e1c0c27500 in main browser/app/nsBrowserApp.cpp:339:16
Updated•5 years ago
|
Component: Graphics: Text → Graphics
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•