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

Issue 658465 link

Starred by 7 users

Issue metadata

Status: Duplicate
Merged: issue 457448
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug

Blocking:
issue 665468



Sign in to add a comment

Opening a zip from Google Drive gets Files app stuck and can't eject

Project Member Reported by dhadd...@chromium.org, Oct 22 2016

Issue description

M55 | Samus | 8872.19.0 55.0.2883.22

1. Open Files app
2. Go to Google Drive
3. Double click an 80MB zip file with some pictures
4. After a while it will show a notification "An operation is taking longer than expected. Do you want to abort it?" 
5. Press Abort
6. Go to eject the zip from the files app
7. Get a notification "Don't remove your device just yet"

A few seconds later the Abort notification appears again
This notification keeps appearing no matter no how many times I press abort and I can't eject the zip from files app either. 
 
Screenshot 2016-10-21 at 5.00.56 PM.png
348 KB View Download
Blocking: 665468
Cc: -weifangsun@chromium.org
Owner: weifangsun@chromium.org
Status: Assigned (was: Untriaged)

Comment 2 by factor...@gmail.com, Nov 21 2016

I have encountered a similar bug on Acer CB3-111 running ChromeOS 54.0.2840.93, Platform version 8743.83.0 (Official Build) stable-channel gnawty.

It can be easily reproduced with the following steps:

1. Take 10-15 random picture files or just take some screenshots 
2. Zip them using the built-in Chromebook zip app
3. Do not mount the zip file
4. Upload the zip file to Google Drive
5. Restart the Chromebook or logout and login
6. Download the zip file from GD by checking the "available offline" option
7. Open the zip file _not_ from the "Downloads" folder, but from the "Offline" folder
8. The ZIP Unpacker extension crashes, not rendering the thumbnails of the picture files and displaying a loop of "The operation is taking longer than usual. Do you want to abort it?" error messages. Clicking "Abort" does not help, the archive cannot be unmounted and the pictures cannot be displayed. 

I have included screenshots depicting the bug. It can be reproduced on a freshly powerwashed machine with all extensions disabled, and the file in question does not contain any special characters.

Could anyone tell me if a bug like this affects only the user profile on which it occurs, or can it also affect other users or the Guest Mode? Can it cause some kind of file/cache corruption or is it just a minor nuisance?
Screenshot 2016-11-21 at 12.13.15.png
82.7 KB View Download
unmount-error.png
108 KB View Download
inspect-Extensions-Files.png
181 KB View Download
inspect-Extensions-Gallery.png
188 KB View Download
inspect-Apps-Gallery.png
88.5 KB View Download
inspect-Apps-Files.png
103 KB View Download
inspect-Apps-Files-2.png
124 KB View Download
drive-internals.png
184 KB View Download
contents_of_test.zip.png
106 KB View Download
Cc: weifangsun@chromium.org
Labels: -Pri-2 Pri-3
Owner: mtomasz@chromium.org
This issue should happen only when the Drive's download queue is full. Then the ZIP unpacker extension would be stuck in the queue, which would cause showing the notification about the operation taking long time.

It's not ideal, but this shouldn't happen often. If it happens again, you can check the queue status in chrome://drive-internals. Once the other tasks in the queue are processed, the ZIP should finally open.

Another reason for this issue could be a very slow or unreliable Internet connection.

In either case we should let the user unload the ZIP file. Also, aborting should unload the file as well.
Labels: -m-55

Comment 5 by factor...@gmail.com, Jan 14 2017

Tomasz,

Thank you for replying. However, I believe that your diagnosis might not be correct. I have reproduced the bug today on the newest stable ChromeOS build [55.0.2883.105 (64-bit) Platform 8872.76.0 (Official Build) stable-channel gnawtyand] and noticed that when the bug occured, the Drive Internals "In-flight Operations" list was empty. I have attached a screenshot.

I tried waiting for about 25 minutes but the ZIP did not open and was frozen in the "operation is taking longer than expected" state. The only way to make the problem go away was by logging out of my profile and logging in again.

The one thing that concerns me is the Image Loader extension console log. When the bug occurs, it shows a 404 error. I have also noticed that when the zip file works correctly, the Image Loader extension soon disappears from the Task Manager, but when the bug occurs it would stay there forever. Maybe therein lies the cause of the problem?
 
image loader.png
190 KB View Download
Screenshot 2017-01-14 at 10.21.10.png
183 KB View Download
Screenshot 2017-01-14 at 10.17.20.png
102 KB View Download
Thanks for the investigation. Could you confirm what version of the ZIP unpacker you have?

You can do it by executing the following line in dev tools for the ZIP unpacker extension:

> chrome.runtime.getManifest().version

Also, did the issue keep reproducing recently?

Comment 7 by mhsp...@gmail.com, Feb 1 2017

This appears to be an old problem which still exists on my Asus Flip 55.0.2883.105
Tries to mount zip file (32 Meg 30 photos) but hangs up and can't unmount or abort

Tomasz,

According to the manifest, my ZIP Unpacker version is 0.76.

From my experience the problem seems to occur only the first time you open a given file directly from Google Drive (i.e. not from the Downloads folder) and is difficult to reproduce once the bug occurs once for that file. It will recur only after a powerwash. Let me give you an example. 

Let'a say we have two zip files on Drive named file1.zip and file2.zip. We open file1.zip following the steps from comment #2 and the bug occurs. Then we logout and login or restart the Chromebook and the file opens correctly. From now on, the bug becomes nearly impossible to reproduce for file1.zip, even after clearing the Drive internal cache, and will reproduce only after powerwashing the machine. However the same bug will occur without powerwashing the first time you open file2.zip and will also disappear for this file after occurring once and until the next powerwash.

I hope that my explanation is sufficient but I will be happy to clarify further if needed.
Labels: from-mtomasz
Owner: yamaguchi@chromium.org
Reassigning to yamaguchi@ as it might have been fixed recently.
Mergedinto: 457448
Status: Duplicate (was: Assigned)
I think this has been fixed as  Issue 457448 , and should be fixed by now.

If it is not the case, feel free to reopen.

Sign in to add a comment