WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
218328
Add some logging to SequenceCheckerImpl::IsCurrent
https://bugs.webkit.org/show_bug.cgi?id=218328
Summary
Add some logging to SequenceCheckerImpl::IsCurrent
youenn fablet
Reported
2020-10-29 03:44:55 PDT
Add some logging to SequenceCheckerImpl::IsCurrent
Attachments
Patch
(2.19 KB, patch)
2020-10-29 03:46 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2020-10-29 03:46:00 PDT
Created
attachment 412629
[details]
Patch
Eric Carlson
Comment 2
2020-10-29 10:34:21 PDT
Comment on
attachment 412629
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=412629&action=review
> Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/synchronization/sequence_checker.cc:63 > + if (valid_queue_ != current_queue) > + RTC_LOG(LS_ERROR) << "SequenceCheckerImpl queue check is failing"; > return valid_queue_ == current_queue; > } > if (valid_system_queue_ && valid_system_queue_ == current_system_queue) { > + if (valid_queue_ != current_queue) > + RTC_LOG(LS_ERROR) << "SequenceCheckerImpl system queue check is failing"; > return true; > } > - return rtc::IsThreadRefEqual(valid_thread_, current_thread); > + auto result = rtc::IsThreadRefEqual(valid_thread_, current_thread); > + if (!result) > + RTC_LOG(LS_ERROR) << "SequenceCheckerImpl thread check is failing";
Would it be helpful have unique log strings to help identify which check fails?
youenn fablet
Comment 3
2020-10-29 11:04:12 PDT
> Would it be helpful have unique log strings to help identify which check > fails?
These strings are each different so we should know which one is failing.
EWS
Comment 4
2020-10-29 11:10:32 PDT
Committed
r269156
: <
https://trac.webkit.org/changeset/269156
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 412629
[details]
.
Radar WebKit Bug Importer
Comment 5
2020-10-29 11:11:17 PDT
<
rdar://problem/70817257
>
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