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

Issue 664368 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

opening files app with many mp4 files in Download puts load in gpu process, it may freeze chrome

Project Member Reported by osh...@chromium.org, Nov 11 2016

Issue description

Version 55.0.2883.42 beta (64-bit)
Platform 8872.44.0 (Official Build) beta-channel stumpy
Firmware Google_Stumpy.2.102.0

Repro step:
1) Download a lot of mp4 files (10~20) in Downloads.
2) Open files app

Expected: system does not freeze

Atual: system freezes. sometimes it kills chrome, maybe because session manager or thread watcher detect it as a bad state.

This is probably because files app sends these videos to GPU process to generate thumbnails for these files?


 
Status: okag (was: Untriaged)
Cc: fukino@chromium.org
Labels: -Pri-2 Pri-1
Owner: oka@chromium.org
Status: Assigned (was: okag)
oka@, could you take a look?

Comment 3 by oka@chromium.org, Nov 14 2016

fukino@ isn't is fixed?

Comment 4 by oka@chromium.org, Nov 14 2016

Status: Started (was: Assigned)
It was not the bug Fukino-san fixed. I'm on it.

Comment 5 by oka@chromium.org, Nov 17 2016

Status: Assigned (was: Started)

Comment 6 by oka@chromium.org, Nov 30 2016

It didn't reproduce on Linux, daisy or minnie.
Maybe we need Chromebox for reproduction.

Comment 7 by oka@chromium.org, Dec 1 2016

As I tested, system didn't freeze, but the thumbnails were not correctly shown.
(as the attached screenshot).

Version 55.0.2883.54 beta (64-bit)
Platform 8872.54.0 (Official Build) beta-channel stumpy
Firmware Google_Stumpy.2.102.0
Screenshot 2016-12-01 at 16.29.01.png
148 KB View Download

Comment 8 by oka@chromium.org, Dec 1 2016

Status: Started (was: Assigned)

Comment 9 by oka@chromium.org, Dec 1 2016

Components: Platform>Apps>FileManager

Comment 10 by oka@chromium.org, Dec 15 2016

Filed a separate bug for black thumbnails. https://bugs.chromium.org/p/chromium/issues/detail?id=674053

Comment 11 by oka@chromium.org, Dec 15 2016

I couldn't reproduce freeze even using the same version of Chrome OS as the initial report.

Google Chrome	55.0.2883.42 (Official Build) unknown (64-bit)
Platform	8872.44.0 (Official Build) dev-channel stumpy test

Comment 12 by oka@chromium.org, Dec 15 2016

@oshima
Is this issue still persist?

Comment 13 by oka@chromium.org, Dec 15 2016

Status: Assigned (was: Started)
Let's look into this together when you're back in Tokyo.
Cc: yamaguchi@chromium.org
Cc: sdantul...@chromium.org abod...@chromium.org rookrishna@chromium.org
Lets look for this during fullrelease

Comment 17 by oka@chromium.org, Apr 18 2017

As I tried before the issue didn't reproduce.
Oshima-san, do you know if the issue still persistes, and how we may fix it? 
My guess was that it puts too much load on GPU process to decode mp4 to get thumbnail, so if thumbnail doesn't work, you may not see this issue.
(and I just tested my self, and none of my mp4 files that I have locally generates thumbnail).

I'll try again later today with different mp4 files.
I still do see the jank when I opened Files app with many mp4s very first time.
Second time wasn't bad, probably thanks to caching.

Comment 20 by oka@chromium.org, May 2 2017

Owner: yamaguchi@chromium.org
Handed over this Yamaguchi-san.
To oshima:
Will you give us the latest version number which you saw this issue recently?
Forgot to include the versions, sorry.

58.0.3029.89 (Official Build) beta
9334.58.0 (Official Build) beta-channel stumpy
Labels: -M-57 M-65
fukino@:
Does the change crrev/c/888233 mitigate this issue?
I don't think so. For most video files, crrev.com/c/888233 does not have any effect.
Labels: -M-65 M-66
Owner: ----
Status: Available (was: Assigned)

I think I am experiencing this bug. When I insert an SD card with a bunch of new large .MOV files (1 to 4GB each), the chromebook appears to freeze - even the cursor freezes. I eventually figured out that if I leave it sitting for many minutes, the cursor wakes up again.

I think this is related to creating the video preview files (not completely certain though) because it seems only to do once with new video files.

I have resorted to using the command line to copy new videos from my SD card to the Downloads folder. The performance is a bit better (shorter freeze time) when they are in the Downloads folder compared to the SD drive, but the chromebook still freezes. It would be better to either 1) let the user disable thumbnail generation, or 2) fail if previews take too long, or if the machine really freezes.

I don't care about the thumbnails anyway, would much rather just disable them.(It is very hard to get one representative summary thumbnail of a whole video anyway. Even a human would have to scan the whole video to really pick the best frame - doesn't make sense to scan through a whole 4GB for that reason.)

Platform: 10032.86.0 (Official Build) stable-channel gandof
Firmware: Google_Gandof.6301.155.9
This is a Toshiba Chromebook 2 - 2015 Edition (CB35-C3350)

Thank you.


BTW, sometimes this will freeze the chromebook long enough that it does an audible "BEEP BEEP" and automatically reboots. This just happened to me after I changed the path of a folder full of .MOV files, and then browsed to it. (I believe that restarts thumbnail generation?)

Otherwise the chromebook is great for travel!

Thank you.


Labels: CrOS-FilesApp
<files-triage>
Owner: sashab@chromium.org
Status: Assigned (was: Available)
<files-triage> I'll look at throttling the thumbnailing process, maybe this is causing the issue.
Owner: joelhockey@chromium.org
Re-assigning to joel as P-1 for M66.
I have not been able to reproduce this using a USB with about 20 different video files of various types (mp4, avi, mkv, others).  File sizes between 100M and 2G, most around 700M.  Using sentry device (2017 Lenovo with i5 processor).

I will see if I can get other devices to test on, and try using an SD card.
Labels: -CrOS-FilesApp
Labels: -M-66 M-67
Status: Started (was: Assigned)
I have been able to replicate this by deleting the thumbnail cache.  For now I do that by deleting the user profile from chrome.
Hi! I can also reproduce this issue in a Pixelbook with Chrome OS 64.0.3282.190.

Although the Chromebook doesn't restart, it keeps the files app busy (freezed) for about a minute, and then continues processing user input. Also, in case this helps, for me this happens every time I open the files app when it was not already open, including when the file picker opens from the web browser in order to select/open a file.

When deleting the mp4's from the Downloads folder this doesn't happen anymore.
I just discovered I can open the Developer Tools in order to inspect the Files app via chrome://inspect :D

I don't know why, but I keep having this problem now with very few mp4's in the Downloads folder, so I decided to open the files app and inspect it using the developer tools as I discovered. When the files app freezed, I clicked the "pause script execution" in the Javascript debugger in order to know where the execution got stuck. I've attached a screenshot of the debugging information.

I've also stopped the Javascript script at different points through the freezing state, and I found out that it also called this function while freezed: MetadataProviderCallbackRequest.prototype.storeProperties. Maybe this is related to what was mentioned earlier in this bug about the thumbnails being generated.

If you need more debugging info just ask me and I will be glad to help, because it is very frustrating that I have to wait a minute each time I wanna work with files (as an example, in order to attach the screenshot I had to wait a minute for the file picker to defreeze :/ )

PS: I don't know if this matters, but I have a lot of files in my Downloads folder because I'm a web developer (for example, the Material Icons library is very large), so maybe this is related to the problem (I'm just guessing).
Screenshot 2018-03-14 at 23.51.22.png
303 KB View Download
Cc: lucmult@chromium.org
Labels: -M-67 M-68
Owner: lucmult@chromium.org
Status: Assigned (was: Started)
Summary: opening files app with many mp4 files in Download puts load in gpu process, it may freeze chrome (was: opening files app with many mp4 files in Download puts load in gpu process, it may kills chrome.)
Labels: -Pri-1 -M-68 Pri-2

Sign in to add a comment