WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
227763
[ITP] Potential assertion hit in ResourceLoadStatisticsDatabaseStore::clearUserInteraction()
https://bugs.webkit.org/show_bug.cgi?id=227763
Summary
[ITP] Potential assertion hit in ResourceLoadStatisticsDatabaseStore::clearUs...
Chris Dumez
Reported
2021-07-07 11:57:11 PDT
Potential assertion hit in ResourceLoadStatisticsDatabaseStore::clearUserInteraction(): * thread #8, queue = 'WebResourceLoadStatisticsStore Process Data Queue', stop reason = EXC_BAD_ACCESS (code=1, address=0xbbadbeef) frame #0: 0x000000013839e35e JavaScriptCore`::WTFCrash() at Assertions.cpp:321:35 * frame #1: 0x00000001189d101b WebCore`WTFCrashWithInfo((null)=53, (null)="./platform/sql/SQLiteTransaction.cpp", (null)="void WebCore::SQLiteTransaction::begin()", (null)=433) at Assertions.h:697:5 frame #2: 0x000000011d0c41fa WebCore`WebCore::SQLiteTransaction::begin(this=0x0000700001aa84e8) at SQLiteTransaction.cpp:53:9 frame #3: 0x000000010819884e WebKit`WebKit::ResourceLoadStatisticsDatabaseStore::clearUserInteraction(this=0x00000001062c5000, domain=0x00000001062f43a8, completionHandler=0x0000700001aa85b8)>&&) at ResourceLoadStatisticsDatabaseStore.cpp:1899:17 frame #4: 0x0000000108196130 WebKit`WebKit::ResourceLoadStatisticsDatabaseStore::hasHadUserInteraction(this=0x00000001062c5000, domain=0x00000001062f43a8, operatingDatesWindow=Long) at ResourceLoadStatisticsDatabaseStore.cpp:1946:9 frame #5: 0x00000001081983be WebKit`WebKit::ResourceLoadStatisticsDatabaseStore::logUserInteraction(this=0x00000001062c5000, domain=0x00000001062f43a8, completionHandler=0x0000700001aa8798)>&&) at ResourceLoadStatisticsDatabaseStore.cpp:1882:43 frame #6: 0x000000010822f967 WebKit`WebKit::WebResourceLoadStatisticsStore::logUserInteraction(this=0x00000001062f43a0)>&&)::$_43::operator()() at WebResourceLoadStatisticsStore.cpp:776:32 frame #7: 0x000000010822f7be WebKit`WTF::Detail::CallableWrapper<WebKit::WebResourceLoadStatisticsStore::logUserInteraction(WebCore::RegistrableDomain const&, WTF::CompletionHandler<void ()>&&)::$_43, void>::call(this=0x00000001062f4398) at Function.h:53:39 frame #8: 0x0000000107348432 WebKit`WTF::Function<void ()>::operator(this=0x00000001062fef28)() const at Function.h:82:35 frame #9: 0x00000001081cd60e WebKit`WebKit::WebResourceLoadStatisticsStore::postTask(this=0x00000001062fef20)>&&)::'lambda'()::operator()() const at WebResourceLoadStatisticsStore.cpp:215:9 frame #10: 0x00000001081cd45e WebKit`WTF::Detail::CallableWrapper<WebKit::WebResourceLoadStatisticsStore::postTask(WTF::Function<void ()>&&)::'lambda'(), void>::call(this=0x00000001062fef18) at Function.h:53:39 frame #11: 0x00000001383c8892 JavaScriptCore`WTF::Function<void ()>::operator(this=0x00000001062fbf58)() const at Function.h:82:35 frame #12: 0x00000001384dbd5e JavaScriptCore`WTF::(anonymous namespace)::DispatchWorkItem::operator(this=0x00000001062fbf50)() at WorkQueueCocoa.cpp:40:25 frame #13: 0x00000001384daedd JavaScriptCore`void WTF::dispatchWorkItem<WTF::(anonymous namespace)::DispatchWorkItem>(dispatchContext=0x00000001062fbf50) at WorkQueueCocoa.cpp:48:5
Attachments
Patch
(7.54 KB, patch)
2021-07-07 12:00 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2021-07-07 11:57:21 PDT
<
rdar://80231894
>
Chris Dumez
Comment 2
2021-07-07 12:00:52 PDT
Created
attachment 433057
[details]
Patch
EWS
Comment 3
2021-07-07 14:15:36 PDT
Committed
r279670
(
239479@main
): <
https://commits.webkit.org/239479@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 433057
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug