Issue metadata
Sign in to add a comment
|
Our extension that experience an error "This extension may have been corrupted."
Reported by
luok...@gmail.com,
Jun 26 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.109 Safari/537.36 Steps to reproduce the problem: 1. Install the extension from web store 2. The extension will be disabled and says "This extension may have been corrupted." 3. What is the expected behavior? What went wrong? It seems this just happens in Linux and Mac os. I've tried to solve the problem according to https://groups.google.com/a/chromium.org/forum/#!topic/chromium-extensions/gK0rIvMZcN0. But I didn't find a file that is multiple of 4096 bytes. WebStore page: https://chrome.google.com/webstore/detail/diigo-web-collector-captu/pnhplgjpclknigjpccbcnmicgcieojbh Did this work before? N/A Chrome version: 59.0.3071.109 Channel: stable OS Version: Ubuntu 16.04 LTS, 64bit Flash Version:
,
Jun 29 2017
,
Jun 29 2017
,
Jul 5 2017
I am having the same problem on Windows 64 bit Chrome Version Version 59.0.3071.115 (Official Build) (64-bit). I can't post the webstore page as it's only available for private testers. Sorry. No errors when loading unpacked extension. No errors on uploading to Web Store. This has occurred on an update that does not materially change the extension very much. When the testers try to download the extension, it appears as a download in the bottom left hand corner of Chrome, which it never used to, as a standard download. Then it is just marked as "This extension may have been corrupted."
,
Jul 5 2017
#4 - is this happening on Windows as well?
,
Jul 5 2017
Could it because the extension contains css\tab_content.css file with 0 size? Zero is divisible by 4096 and this is a known cause for the issue.
,
Jul 5 2017
#5 Yes I'm only on Windows.
,
Jul 7 2017
It also happens on Chrome OS. It seems that this happens when the extension gets an update.
,
Jul 7 2017
Thank you for providing more feedback. Adding requester "sandeepkumars@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 7 2017
Uanble to reproduce the issue on Mac OS 10.12.5 and windows 7 using chrome M59 #59.0.3071.115 and canary M61 #61.0.3150.0. Attached screencast for reference. @Could someone from extensions team look into this. Thanks!
,
Jul 7 2017
For what it's worth, it seems to be Chrome 59 problem only. The issue is not occurring for me with the same extension on Chrome Canary Version 61.0.3150.0 (Official Build) canary (64-bit)
,
Jul 9 2017
I can confirm the missbehavior under both Chrome OS Version 59.0.3071.113 and Version 60.0.3112.50 (Build officiel) beta (32 bits). Steps to reproduce the problem under CrOS 59.0.3071.113: 1. Install the extension from web store 2. The extension will be disabled and says "This extension may have been corrupted." « Repare » the extension makes it work for a moment, few minutes max, then back to 2. Same when « Remove » and « Install » again. Steps to reproduce the problem under CrOS 60.0.3112.50: I then shifted to ChromeOS beta while the extension was in the « may have been corrupted » state: - Extension was still in that unusable state after rebooting; - I « Repared » it but it went back to the « may have been corrupted » state the next minute (I couldn't « add » the bookmark I had started since I couldn't save it). - Trashed the extension then re-installed it (Diigo Web Collector - Capture and Annotate 3.3.59) from the Chrome web store; reloaded the pages and could annotate for about 5 minutes. Then it went back to the « may have been corrupted » state.
,
Jul 14 2017
I can reproduce this bug on chromebook Version 59.0.3071.113. As soon as I select any text on the page, the extension disappeared and is shown as corrupted
,
Jul 17 2017
Con confirm on ChromeOS Version 59.0.3071.91 (Official Build) (64-bit) Repair works to re-institute a working version of the extension (3.3.60), but every time I have done so, it fails again later. To test this, I repaired the Diigo extension on Friday -- as usual, it reappeared and worked as expected. I left it over the weekend, not using my computer at all, and came in on Monday to find that it had been disabled, as usual, with the message 'This extension may have been corrupted.'
,
Jul 21 2017
@hdodda, I have reproduce this bug on Chromebook. It can be successfully installed. However, after I logged in and try to highlight the page. The extension corrupted.
,
Jul 21 2017
@hdodda, here is the video to reproduce this bug.
,
Jul 27 2017
We are still unable to reproduce the issue on Mac OS 10.12.5 and ubuntu 14.04 using latest stable M60 #60.0.3112.78 and canary M62 #62.0.3168.0 . @luokobe-- Could you please confirm us if you can reproduce the issue in latest stable M60 #60.0.3112.78 . Thanks!
,
Jul 27 2017
I confirm this is still an issue in latest stable Windows Version 60.0.3112.78 (Official Build) (64-bit)
,
Jul 27 2017
@hdodda, here is a chrome book which can reproduce the issue.
,
Jul 27 2017
Thank you for providing more feedback. Adding requester "hdodda@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 27 2017
@hdodda, It seems I need to sign in the diigo account to reproduce the bug in Chrome book. Because the selection menu is only invoked after signing in.
,
Jul 29 2017
Hello, I am experiencing the same issue with the updated Diigo extension. Everything has worked very well until, updating to the most recent version of Diigo: Version 3.3.66 (I am using a 2013 Chromebook Pixel running Version 59.0.3071.134 (Official Build) (64-bit). Once the extension is installed it works fine temporarily and then just disappears from the toolbar and needs to be re-enabled. This is extremely annoying since it is one of the extensions I am constantly using within the platform. Thanks.
,
Jul 31 2017
@hdodda, 1)We use the same package and test it in Chromebook through "Load unpacked extension". It works fine, no corruption issue. 2) If this package is uploaded to Chrome web store, then we install it through Chrome Webstorein Chromebook, corruption issue as in the video appear again.
,
Aug 3 2017
There is a corruption issue for recent uploads to Chrome web store. We are working on a fix ASAP.
,
Aug 3 2017
Awesome. Glad you found it. Will you post here when it's fixed? It already seems to be OK in Version 61.
,
Aug 3 2017
The issue may not manifest on the dev channel, due to differences in how extensions are verified on the dev channel. :( There's also a chance that there are multiple underlying bugs here - we're trying to sort out exactly is causing what. I will post updates when available.
,
Aug 3 2017
Thanks for looking at it. Appreciate it.
,
Aug 4 2017
,
Aug 4 2017
louk.../joel.../mail.../tuko...: Can you confirm that this is no longer occurring with the version of diigo uploaded on August 2nd? (The current version). thom...: Can you confirm that your extension contains a file with a file size congruent to zero mod 4096? I.e. that the extension contains some file of size 0, or 4096 or 8192 or 12288 or so on...? If you post the extension ID I can use our malware detection tools to do this for you. The server-side corruption issue that we discovered does not affect these extensions. Because the reports are that this is working in M61, it seems likely that these are duplicates of crbug.com/720597 (the %4096 bug), which is fixed in M61.
,
Aug 4 2017
Cheers my extension id on the Chrome Web Store is: lplkcofhmlcehlkaponalfknpbnmnojm I've looked through for files of 4096 but I must have missed one if you think that's what it is. Thanks.
,
Aug 4 2017
utils/storage.js has a size of 8192, so that is the problem. As a temporary workaround, if you can add a comment to the file to modify the size, that is the quickest path to your case being resolved. I'm investigating the merge story for crbug.com/720597 ; I think we're likely too close to the branch cut for a merge, though, given the existence of a workaround.
,
Aug 4 2017
@Waff... I still experienced the same crash issue with the August 2nd version https://chrome.google.com/webstore/detail/diigo-web-collector-captu/pnhplgjpclknigjpccbcnmicgcieojbh . I am using an acer Chromebook as reported by Luo above. The current chrome version is 60.0.3112.80(64-bit).
,
Aug 4 2017
Thanks joel, I am trying to repro.
,
Aug 4 2017
Here is the video for the bug.
,
Aug 4 2017
@waff.. Let me know if you need any info.
,
Aug 4 2017
Thanks for the video, that's very helpful! Confirmed the repro for Diigo Web Collector 3.3.69 on 60.0.3112.80 (ChromeOS). Digging into what is going wrong (and why)...
,
Aug 4 2017
Great! Appreciate it very much.
,
Aug 4 2017
Also repro'd on Linux. [17290:17326:0804/115309.463792:VERBOSE1:content_verify_job.cc(230)] job failed for pnhplgjpclknigjpccbcnmicgcieojbh diigolet/images/search-csm.png reason:3 [17290:17290:0804/115309.463949:VERBOSE1:content_verifier.cc(143)] VerifyFailed pnhplgjpclknigjpccbcnmicgcieojbh reason:3 Reason 3 indicates a hash mismatch, but I think it's more likely that the issue is due to "search-csm.png" being requested but "Search-csm.png" being present in the archive: renaming diigolet/images/Search-csm.png to diigolet/images/search-csm.png on my file system fixes the issue. I'm guessing this was not an issue on Windows because the filesystem is case-insensitive. Can the extension be updated to include search-csm.png rather than Search-csm.png?
,
Aug 4 2017
Thanks very much! We will do it and report it back in a few hours and report it back. BTW, if the package is loaded from "Load unpacked extension" in manage chrome extensions page of Chrome browser (the 3.3.69 with the upper case Search-csm.png), it works. However, if it's installed from webstore, it triggered the issue. What's the mechanism behind this?
,
Aug 4 2017
The corruption verification is non-fatal if you load an unpacked extension - the idea was that it's too hard for developers to produce the verified_contents.json file that is used to check the file hashes (because (A) only Webstore has the key to do so, and (B) it requires you to know in advance the CRX ID, which you can't know from the unpacked form of the extension). So I think in that case the verification may be skipped altogether, or postponed until browser reboot, or something like that.
,
Aug 4 2017
I was the 4096 bug, Thanks @waff for looking at this and sorting it out for me.
,
Aug 5 2017
@Waff, Thanks for the explanation. We updated a new version with the workaround and it works on my Chromebook. I have requested some other users to confirm the fix and will let you know the results. Thanks for your inspection!
,
Aug 5 2017
@Waff, Now there are more confirmations and the issue was solved. Thanks again! |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by sandeepkumars@chromium.org
, Jun 27 2017