New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 787388 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug-Regression

Blocked on:
issue 795817



Sign in to add a comment

[Missing Test]: Chrome_Mac: Crash Report - syncer::ModelTypeSyncBridge::OnSyncStarting

Project Member Reported by pnangunoori@chromium.org, Nov 21 2017

Issue description

Automated tests for the below commit have been missing.Please add test coverage ASAP to avoid regressions in future.

CL: 
----
https://chromium.googlesource.com/chromium/src/+/4f690e6d5faba7c626f49b95f368502f2fa1b416

Ref Bug: 
---------
https://bugs.chromium.org/p/chromium/issues/detail?id=783746

Thank you!
 
Gang, have you made any progress on this? Is it straightforward to write a test for this scenario?

Comment 2 by gangwu@chromium.org, Dec 18 2017

Blockedon: 795817
Status: WontFix (was: Assigned)
The bug(https://bugs.chromium.org/p/chromium/issues/detail?id=783746) is segment failure, which is controller tried to use TypedURLSyncBridge even when it is null.   

So the fix is trivia, just let controller check if TypedURLSyncBridge is initialed, and triger a DCHECK(NOTREACH()) if it is not.

The bug is happened on race condition. Sync tried to schedule history task before history backend initialed TypedURLSyncBridge. So the The test is really hard to add right now since our test infrastructure do not allow this order.

Since fix is trivia, and I have added a DCHECK there, normally we do not test DCHECK, so I think it is ok to do not add test for this case.

But if someone think this is really important, free feel to re-open this bug, I will add a test for it, and remove DCHECK there. 

Sign in to add a comment