Closed
Bug 1188871
Opened 9 years ago
Closed 9 years ago
Loading a page with media content on podiobooks.com hangs indefinitely
Categories
(Firefox for Android Graveyard :: Audio/Video, defect)
Tracking
(firefox39 unaffected, firefox40 unaffected, firefox41 unaffected, firefox42 fixed, firefox43 verified)
RESOLVED
FIXED
Firefox 43
Tracking | Status | |
---|---|---|
firefox39 | --- | unaffected |
firefox40 | --- | unaffected |
firefox41 | --- | unaffected |
firefox42 | --- | fixed |
firefox43 | --- | verified |
People
(Reporter: JanH, Assigned: jya)
References
()
Details
Attachments
(2 files)
1.10 KB,
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
1.40 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
If I try loading a page with media content on podiobooks.com, e.g. http://podiobooks.com/title/a-coffee-crusade/, page loading hangs indefinitely, i.e. the progress bar progresses to approximately 80 %, but then never goes further.
In case it's a device specific bug, I'm using a Samsung Galaxy S3 Mini with the default Android 4.1.2.
Regression window is this one:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=41fd23011c72&tochange=47193134162b
Flags: needinfo?(jyavenard)
Assignee | ||
Comment 1•9 years ago
|
||
Snorp, can you reproduce it ? any chance in providing a useful backtrace?
Flags: needinfo?(snorp)
Assignee | ||
Comment 2•9 years ago
|
||
Jan, are you able to compile Firefox yourself?
Flags: needinfo?(jh+bugzilla)
I can reproduce this. Backtrace isn't very useful -- every thread is just waiting. Seems like maybe some state management has gone south?
Flags: needinfo?(snorp)
Assignee | ||
Comment 5•9 years ago
|
||
do you still have the issue with today's Nightly?
I would have thought it was all related to bug 1188870
Flags: needinfo?(jyavenard) → needinfo?(jh+bugzilla)
Reporter | ||
Comment 6•9 years ago
|
||
No, they're only related insofar as I've encountered both bugs on the same page, and of course the crashes from bug 1188870 would have masked any further issues.
Now that those have been fixed, I'm seeing the hanging page loads again.
Flags: needinfo?(jh+bugzilla)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jyavenard
Assignee | ||
Comment 7•9 years ago
|
||
I can't make sense of the regression window you've provided. There's nothing there that could prevent a page loading as it's not using MSE.
The only change related to media playback is the draining part which has been reverted in this try run:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=798564c09833
is that something you could try?
Reporter | ||
Comment 8•9 years ago
|
||
Unfortunately, page load is still hanging on that try build.
I've also double-checked the regression range, but with the same result as before.
Assignee | ||
Comment 9•9 years ago
|
||
I have received my android device today, will be able to test myself.
What steps are you taking to come up with this regression range?
Reporter | ||
Comment 10•9 years ago
|
||
I run mozregression with this arguments:
> mozregression --app fennec --good=2015-07-16 --bad=2015-07-17
Then, once the Nightly has started up, I simply load http://podiobooks.com/title/a-coffee-crusade/.
If page loading completes, i.e. the progress bar runs to completion and then disappears, I declare the build "good". If on the other hand, after a minute or so, page loading is still stuck at around 80 %, I declare the build "bad".
With the above regression range, the first inbound build mozregression tries should be "good", while the next one for me is already "bad".
Assignee | ||
Comment 11•9 years ago
|
||
thanks.
Can reproduce the issue on a Sony Xperia z3c, with Android 5.1 ; so it's not just your device.
Will work on this tomorrow.
Assignee | ||
Comment 12•9 years ago
|
||
I woke up with an idea, and I'm fairly certain that's what the problem is.
In bug 1173657, I changed so should any discontinuity occurs (that includes an error) we then drain the decoder and wait for the DrainComplete message to get back.
Looking at the Android Decoder, when an error occurs, it exists its decode event loop.
The decode event loop is what handles the DrainComplete() message so it will never be fired and the reader will be waiting forever.
Assignee | ||
Comment 13•9 years ago
|
||
ok, that was it.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=82c77396c73f
Assignee | ||
Comment 14•9 years ago
|
||
Part 1 prevented draining when an error occurred. This handles the case where an error occurs during draining.
Attachment #8647248 -
Flags: review?(snorp)
Assignee | ||
Comment 15•9 years ago
|
||
Attachment #8647250 -
Flags: review?(cpearce)
Assignee | ||
Updated•9 years ago
|
Attachment #8647250 -
Attachment description: Bug 1188871: P1. Don't drain decoders when an error is encountered. → P1. Don't drain decoders when an error is encountered.
Updated•9 years ago
|
Attachment #8647250 -
Flags: review?(cpearce) → review+
Comment on attachment 8647248 [details] [diff] [review]
P2. Call DrainComplete should a decoder occurs while draining.
Review of attachment 8647248 [details] [diff] [review]:
-----------------------------------------------------------------
Another good catch, thanks!
Attachment #8647248 -
Flags: review?(snorp) → review+
Comment 17•9 years ago
|
||
Comment 18•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/914e5f9795c9
https://hg.mozilla.org/mozilla-central/rev/cef6a397f50b
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Reporter | ||
Comment 19•9 years ago
|
||
Verified as fixed on Nightly (20150815030208).
Status: RESOLVED → VERIFIED
Comment 20•9 years ago
|
||
Comment 21•9 years ago
|
||
Backed out for a youtube playback regression. See Bug 1199573.
https://hg.mozilla.org/releases/mozilla-aurora/rev/5bb661db5c6c
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Updated•9 years ago
|
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Comment 22•9 years ago
|
||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•