Summary: | Crash in Page::setActivityState because m_page is null | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||
Component: | WebKit2 | Assignee: | Ryosuke Niwa <rniwa> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | achristensen, beidson, cdumez, ggaren, koivisto, mcatanzaro | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Ryosuke Niwa
2019-02-12 22:42:46 PST
Created attachment 361898 [details]
Adds a nullcheck
Comment on attachment 361898 [details] Adds a nullcheck Clearing flags on attachment: 361898 Committed r241401: <https://trac.webkit.org/changeset/241401> All reviewed patches have been landed. Closing bug. Note incoming follow-up: [3441/3510] Building CXX object Source...t.dir/WebProcess/WebPage/WebPage.cpp.o In file included from DerivedSources/ForwardingHeaders/wtf/StdLibExtras.h:32, from DerivedSources/ForwardingHeaders/wtf/FastMalloc.h:25, from ../../Source/WebKit/config.h:47, from ../../Source/WebKit/WebProcess/WebPage/WebPage.cpp:28: ../../Source/WebKit/WebProcess/WebPage/WebPage.cpp: In member function ‘void WebKit::WebPage::setActivityState(WTF::OptionSet<WebCore::ActivityState::Flag>, WebKit::ActivityStateChangeID, const WTF::Vector<WebKit::CallbackID>&)’: ../../Source/WebKit/WebProcess/WebPage/WebPage.cpp:3048:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 6 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] ASSERT_WITH_MESSAGE(m_page, "setActivityState called on %lld but WebCore page was null", pageID()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ DerivedSources/ForwardingHeaders/wtf/Assertions.h:391:99: note: in definition of macro ‘ASSERT_WITH_MESSAGE’ WTFReportAssertionFailureWithMessage(__FILE__, __LINE__, WTF_PRETTY_FUNCTION, #assertion, __VA_ARGS__); \ ^~~~~~~~~~~ Committed r241453: <https://trac.webkit.org/changeset/241453> |