Closed Bug 1333070 Opened 4 years ago Closed 4 years ago

Crash in OOM | small (when trying to upload a large video file to youtube)

Categories

(Core :: DOM: Service Workers, defect, P1)

x86
Linux
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox50 --- wontfix
firefox51 --- wontfix
firefox52 --- wontfix
firefox53 --- unaffected
firefox54 --- unaffected

People

(Reporter: ciprian_georgiu, Assigned: catalinb)

References

Details

(Keywords: crash, regression, stale-bug)

Crash Data

This bug was filed from the Socorro interface and is 
report bp-a44f30d8-f964-4285-8018-f758c2170123.
=============================================================
[Note]:
- this is a follow-up found in bug 1324875

[Affected versions]:
- latest Aurora 52.0a2 
- 51.0 (20170118123726)
- 50.1.0 (20161208153507)

[Affected platforms]:
- all Ubuntu LTS x86

[Steps to reproduce]:
1. Start Firefox and log into your YouTube account.
3. Upload a large video file. (I used a 5 Gb file to reproduce this issue)

[Expected result]:
- Firefox is uploading the file successfully.

[Actual result]:
- Firefox crashes while uploading the file and it usually happens after 50%.

[Regression range]:
- I was not able to reproduce this crash on Firefox 39.0 (20150630154324). However, I think it would take a lot of time to find a regression range, since the uploading is very slow on my machine.  

[Additional notes]:
- latest Nightly 53.0a1 seems to be unaffected
- reproducible only with 32-bit architecture
Catalin, can you take a look?
Flags: needinfo?(catalin.badea392)
Priority: -- → P1
Assignee: nobody → catalin.badea392
Flags: needinfo?(catalin.badea392)
The symptoms sound a lot like bug 1332587 (which conveniently is only fixed in 53+). We're trying to get that and bug 1332602 uplifted to 52 now (and should keep them on the radar in the event of a 51 dot release as well).
We've uplifted the fixes referenced in comment 3 to Beta for 52b3. Can you please re-test this on a CI build or once b3 gets created later this week? I'm also marking this as fix-optional for 51 since I think this is edge-case enough to not be a priority for a dot-release ride-along.
Sorry for my late reply.
I've re-tested this issue and it's still reproducible on 52.0b3, (Ubuntu 16.04 LTS x86) following the same str from comment 0.
- https://crash-stats.mozilla.com/report/index/48f364af-e261-4531-873e-02d6a2170206

Please let me know if I can help you with more info.
Flags: needinfo?(ciprian.georgiu)
Looks like OOMs in the JS engine.
See Also: → 1324875
Mass wontfix for bugs affecting firefox 52.
Summary: Crash in OOM | small → Crash in OOM | small (when trying to upload a large video file to youtube)
See Also: → 1361354
This is an assigned P1 bug without activity in two weeks. 

If you intend to continue working on this bug for the current release/iteration/sprint, remove the 'stale-bug' keyword.

Otherwise we'll reset the priority of the bug back to '--' on Monday, August 28th.
Keywords: stale-bug
Ciprian, Comment 0 said it's unaffected in 53 and 54, and I am wondering the status of the latest version. Could you please confirm if this is valid in the latest nightly 57 ? Shall we close this?
Flags: needinfo?(ciprian.georgiu)
Commence questions with obvious answers: Are these crashes because we're attempting to put an entire video into memory and it's bigger than the available RAM (+swap?)? Is streaming the upload possible?
Flags: needinfo?(amarchesini)
YouTube uses FileReader to take a portion of the uploaded video in memory: some operations (maybe the thumbnails?) run on the browser during the upload. For the rest, the upload doesn't require the keeping of the file in memory.
Btw, with IPCBlob, any operation should take less memory in 57 compared with previous releases. I suspect this bug is already fixed in nightly.
Flags: needinfo?(amarchesini)
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #10)
> Ciprian, Comment 0 said it's unaffected in 53 and 54, and I am wondering the
> status of the latest version. Could you please confirm if this is valid in
> the latest nightly 57 ? Shall we close this?

I can't reproduce this on latest Nightly 57.0a1 (2017-09-20) with Ubuntu 16.04 x86. Feel free to close this bug.
Flags: needinfo?(ciprian.georgiu)
Per comment 12 and comment 13, close this as fixed.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.