Closed Bug 1354896 Opened 7 years ago Closed 7 years ago

Firefox becomes unusable after stopping HLS video

Categories

(Firefox for Android Graveyard :: Audio/Video, defect)

53 Branch
defect
Not set
normal

Tracking

(firefox52 unaffected, firefox53 wontfix, firefox54 ?, firefox55 ?)

RESOLVED WORKSFORME
Tracking Status
firefox52 --- unaffected
firefox53 --- wontfix
firefox54 --- ?
firefox55 --- ?

People

(Reporter: marco, Unassigned)

References

Details

(Keywords: regression, regressionwindow-wanted)

Attachments

(3 files)

Steps to reproduce:
1) Load the URL from bug 1247433.
2) Click play on the video
3) Press the back button to close the video before it ends

At this point, you can open/close tabs, but you can't load any page (nor interact with the already opened one).

It looks like Firefox is somehow hanging, as even if you close it you can't open it again for a while.
Requesting tracking for 53 as this looks like a bad regression, but I suppose it's too late.
(In reply to Marco Castelluccio [:marco] from comment #0)
> Steps to reproduce:
> 1) Load the URL from bug 1247433.
> 2) Click play on the video
> 3) Press the back button to close the video before it ends
> 
> At this point, you can open/close tabs, but you can't load any page (nor
> interact with the already opened one).
What did you mean by "can't load any page"? I can click any links on that page but that video (video-cannot-be-replayed is another known bug).  
> 
> It looks like Firefox is somehow hanging, as even if you close it you can't
> open it again for a while.
I can still  open it again. BTW, I don't see this problem on the latest nightly and the latest Beta.
Could you elaborate it?
Thanks.
Flags: needinfo?(mcastelluccio)
(In reply to Blake Wu [:bwu][:blakewu] from comment #2)
> (In reply to Marco Castelluccio [:marco] from comment #0)
> > Steps to reproduce:
> > 1) Load the URL from bug 1247433.
> > 2) Click play on the video
> > 3) Press the back button to close the video before it ends
> > 
> > At this point, you can open/close tabs, but you can't load any page (nor
> > interact with the already opened one).
> What did you mean by "can't load any page"? I can click any links on that
> page but that video (video-cannot-be-replayed is another known bug).  

I can click links, a new tab is opened, but no content is loaded. It just hangs for minutes.

I've just noticed that it is intermittent, so try doing it several times (press play, press the back button after a few seconds).
Flags: needinfo?(mcastelluccio)
Ioana, can your team try testing this a bit and look for a regression range?
We can keep this tracked for 53 while we investigate further. 
Right now, I don't think it is a release blocker, since it's intermittently reproducible and it's not necessarily a common behavior (hitting the browser "back" button while a video is playing)
If you disagree, please let me know.
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #4)
> Ioana, can your team try testing this a bit and look for a regression range?
> We can keep this tracked for 53 while we investigate further. 
> Right now, I don't think it is a release blocker, since it's intermittently
> reproducible and it's not necessarily a common behavior (hitting the browser
> "back" button while a video is playing)
> If you disagree, please let me know.

A clarification: it's not the browser's back button, but the Android back button, which is the only way to go back to Firefox for HLS videos (when you play a HLS video, it is loaded in a VideoView that overlays Firefox, and you can close the overlay only by pressing the back button).
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #4)
> Ioana, can your team try testing this a bit and look for a regression range?
> We can keep this tracked for 53 while we investigate further. 
> Right now, I don't think it is a release blocker, since it's intermittently
> reproducible and it's not necessarily a common behavior (hitting the browser
> "back" button while a video is playing)
> If you disagree, please let me know.

Liz, missing a ni here?
Flags: needinfo?(lhenry)
OK, is this a release blocker? What do you think? 

This component of bugzilla doesn't have a triage owner, btw.
Flags: needinfo?(lhenry)
Flags: needinfo?(chiorean.ioana)
Flags: needinfo?(bwu)
Sebastian, snorp, any input here? We are so close to the release that I would love help making the call as to how serious this issue is.
Flags: needinfo?(snorp)
Flags: needinfo?(s.kaspari)
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #8)
> Sebastian, snorp, any input here? We are so close to the release that I
> would love help making the call as to how serious this issue is.

I'll redirect to our core team in Taipei. Joe, Max, what do you think?
Flags: needinfo?(s.kaspari)
Flags: needinfo?(max)
Flags: needinfo?(jcheng)
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #4)
> Ioana, can your team try testing this a bit and look for a regression range?
> We can keep this tracked for 53 while we investigate further. 
> Right now, I don't think it is a release blocker, since it's intermittently
> reproducible and it's not necessarily a common behavior (hitting the browser
> "back" button while a video is playing)
> If you disagree, please let me know.

Yes. Bogdan worked lately on videos more and he will have a look.
Flags: needinfo?(chiorean.ioana) → needinfo?(bogdan.surd)
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #7)
> OK, is this a release blocker? What do you think? 
> 
> This component of bugzilla doesn't have a triage owner, btw.
I still cannot repro this bug with over 10 times with the link in the bug 1247433 as comment 3 on my Pixel with Android 7.0. We should have more tests to check how serious of this bug is.
Flags: needinfo?(bwu)
Devices:
 - Oneplus Two (Android 6.0.1);
 - Huawei Honor 8 (Android 6);
 - HTC 10 (Android 6.0.1);
 - Huawei Honor 5X (Android 5.1.1);
 - LG G4 (Android 6.0);
 - LG G4 (Android 5.1);
 - HTC Desire 820 (Android 6.0.1);
 - Nexus 9 (Android 7.1.1) - Tablet.

Hello everyone,

 I've tested this issue on all of the devices listed above with a fresh install of the app(RC&Beta) and I was not able to reproduce it using any of the methods described above.
 
 Loaded a url with a video from the other website mentioned in bug 1247433 (ilfattoquotidiano.it) and I was still unable to reproduce this issue. The only difference that I saw on this site was that the video took longer times to appear on the LG G4 (6.0&5.1) &  Huawei Honor 5X, after it appeared playback worked as expected.
Flags: needinfo?(bogdan.surd)
(In reply to Bogdan Surd, QA [:bogdan] from comment #12)
> Devices:
>  - Oneplus Two (Android 6.0.1);
>  - Huawei Honor 8 (Android 6);
>  - HTC 10 (Android 6.0.1);
>  - Huawei Honor 5X (Android 5.1.1);
>  - LG G4 (Android 6.0);
>  - LG G4 (Android 5.1);
>  - HTC Desire 820 (Android 6.0.1);
>  - Nexus 9 (Android 7.1.1) - Tablet.
> 
> Hello everyone,
> 
>  I've tested this issue on all of the devices listed above with a fresh
> install of the app(RC&Beta) and I was not able to reproduce it using any of
> the methods described above.
>  
>  Loaded a url with a video from the other website mentioned in bug 1247433
> (ilfattoquotidiano.it) and I was still unable to reproduce this issue. The
> only difference that I saw on this site was that the video took longer times
> to appear on the LG G4 (6.0&5.1) &  Huawei Honor 5X, after it appeared
> playback worked as expected.

Can you try with a Sony Xperia Z3 Compact? Perhaps it's specific to my device.
Attached file Log - Z2 (6.0.1).txt
(In reply to Marco Castelluccio [:marco] from comment #13)
> Can you try with a Sony Xperia Z3 Compact? Perhaps it's specific to my
> device.

 I do not have one of those on hand here, but I could get my hands on a Z2 running Android 6.0.1 from a colleague of mine. Video playback wouldn't even start on http://m.ilmattino.it/napoli/articolo-2325766.html. Kept getting an error displaying "Can't play this video." Tried several other videos on the same site and got the same message. So it might have something to do with Sony devices.

 On ilfattoquotidiano.it the video loaded and played without any issues. 

I've attached a log file from when trying to play the video that might help and a screenshot with the error message.
I can reproduce the bug on my Nexus 5 too.

If I close the video and scroll down a bit, Firefox doesn't render the web content correctly (see screenshot).

If I close the video, open a new tab and try to do something, Firefox doesn't react.

If I close the video, close Firefox and try to open it again, it won't start.

In both cases, after a while (~30 seconds on the Nexus 5, > 1 minute on the Z3 Compact), Firefox starts working again. The pause is so long that most users will think Firefox just hanged and will kill it (and won't be able to restart it for a while anyway).
Marco,
Which Android version on your phone? Would it be possible to record a video how you reproduce the bug?
Thanks.
Flags: needinfo?(mcastelluccio)
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #8)
> Sebastian, snorp, any input here? We are so close to the release that I
> would love help making the call as to how serious this issue is.

Like others, I am unable to reproduce this issue. I would say it's not a release blocker, given that.
Flags: needinfo?(snorp)
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #18)
> (In reply to Liz Henry (:lizzard) (needinfo? me) from comment #8)
> > Sebastian, snorp, any input here? We are so close to the release that I
> > would love help making the call as to how serious this issue is.
> 
> Like others, I am unable to reproduce this issue. I would say it's not a
> release blocker, given that.

agree. given comment 12 with multiple devices not reproducing
Flags: needinfo?(jcheng)
Flags: needinfo?(max)
removing tracking flag for 53
I can no longer reproduce this bug. I will reopen if I can reproduce again.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(mcastelluccio)
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: