New issue
Advanced search Search tips

Issue 729978 link

Starred by 6 users

Issue metadata

Status: Duplicate
Merged: issue 720597
Owner:
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug-Regression


Show other hotlists

Hotlists containing this issue:
Hotlist-1


Sign in to add a comment

Norton Extension is shown corrupted after Chrome 59 updated

Reported by dl-eng-i...@symantec.com, Jun 6 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Steps to reproduce the problem:
1. Install latest Norton product from the below path

https://us.norton.com/downloads 

2. Install Chrome 59 version
3. Browse to the below extension URL:-
https://chrome.google.com/webstore/detail/norton-security-toolbar/cjabmdjcfcfdmffimndhafhblfmpjdpe

4. Install the extension
5. Launch new tab and browse to a URL

What is the expected behavior?
Norton Security tool bar extension should remain enabled for users

What went wrong?
Norton Security tool bar extension is shown Corrupted

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 59.0.3071.86  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

1) This issue is not seen on Chrome 57 or chrome 58 versions
2) This issue is seen on Chrome 59 alone
3) Screenshot and console logs attached
 
extension_corrupted.png
109 KB View Download
www.google.co.in-1496749533452.log
10.8 KB View Download
Components: Platform>Extensions
Labels: -Type-Bug -Pri-2 -Hotlist-Interop Pri-1 Type-Bug-Regression
Did this work before? Yes - it was working with Chrome 58 and 57 versions, only from 59 we see this issue happening

Does this work in other browsers? Not applicable
We did the further Analysys on this issue , The Log shows PNG veryfication is failing. we are using the Same PNG long time , we did't touched this PNG 

I have below Question : 
1. what is the reason 3 means (in the below chrome Log)
2.Why this failing only in the chrome 59


Logs:  (chrome --enable-logging=stderr  --v=1)

[8704:7888:0606/051618.321:VERBOSE1:content_verify_job.cc(227)] job failed for cjabmdjcfcfdmffimndhafhblfmpjdpe toolbar/images/hide_default.PNG reason:3
[8704:7740:0606/051618.321:VERBOSE1:content_verifier.cc(143)] VerifyFailed cjabmdjcfcfdmffimndhafhblfmpjdpe reason:3
From the below source I can see reason HASH_MISMATCH=3, I am surprise see only on the chrome 59. 


https://chromium.googlesource.com/chromium/chromium/+/refs/heads/trunk/extensions/browser/content_verify_job.h 

enum FailureReason {
    // No failure.
    NONE,
    // Failed because there were no expected hashes at all (eg they haven't
    // been fetched yet).
    MISSING_ALL_HASHES,
    // Failed because this file wasn't found in the list of expected hashes.
    NO_HASHES_FOR_FILE,
    // Some of the content read did not match the expected hash.
    HASH_MISMATCH
  };
Owner: lazyboy@chromium.org
Status: Assigned (was: Unconfirmed)
lazyboy@, can you take a look?
Issue appears to be contained - we published a new version of the extension with two PNG file resources altered (one was the confirmed-failing one mentioned in https://bugs.chromium.org/p/chromium/issues/detail?id=729978#c3; one was replaced as a speculative change since it is visually similar and used in a similar fashion as the failing one).

After publishing the update, Chrome 59 restart picks up the update and automatically resolves the "extension corrupted" message and the extension behaves as we expect.

More details coming with references to the failed version for further investigation.
Test extension - copy of the one that had the content verification failure:

https://chrome.google.com/webstore/detail/norton-security-toolbar-t/gnafgoapchgjnjcbfjohcbakohefoido
Mergedinto: 720597
Status: Duplicate (was: Assigned)
Looks like this is the same issue as  https://crbug.com/720597  that I was working on. I'll keep that bug updated.

Summary: files that are of size equals multiple of content hash's block_size (4096 bytes) always fail content verification due to bug. The file in question: hide_default.PNG is 8192 (2 * 4096),  bug 720597  is due to a file "Ancient Assyria.cwz" which is of size 16384 bytes (4 * 4096).
Hello.

My extension will not be installed because of the "MISSING_ALL_HASHES" reason.

Any idea on how to resolve this?

Thank you.

Sign in to add a comment