Closed Bug 860079 Opened 11 years ago Closed 11 years ago

Video causes web content to crash in Browser App for B2G

Categories

(Core :: Audio/Video, defect)

18 Branch
ARM
Gonk (Firefox OS)
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME
blocking-b2g leo+
Tracking Status
b2g18 --- affected

People

(Reporter: nhirata, Unassigned)

Details

(Keywords: crash, Whiteboard: [b2g-crash])

## Environment :
Master build : 2013-04-09-07-02-05
"mozilla-central" revision="b1fb34b07c17"
"integration/gaia-central" revision="3d5b037cb2fd"
"gecko.git" revision="abcb3ee7673379f301335ba174967312abf984ba"
"gaia.git" revision="65dd37c938b1cd38fce96fcfa7f4be09e259c255"
Unagi
  
## Repro :
1. go to 
http://www.latimes.com/business/money/la-fi-mo-navy-laser-drone-20130409,0,4771550.story
2. try to play the video

## Expected :
video plays like in firefox desktop

## Actual :
1. content crash

## Note :
does not crash on desktop.
Side note : Content crash does not give a crash report.  Is that suppose to be that way?
Component: General → Video/Audio
Product: Boot2Gecko → Core
Target Milestone: --- → mozilla18
blocking-b2g: --- → leo?
(In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from comment #1)
> Side note : Content crash does not give a crash report.  Is that suppose to
> be that way?

I can confirm this, but I'm not sure this is necessarily a crash. I've seen this happen when NS_ERROR_FAILURE fires in the logs.

Can you post a logcat.
Severity: normal → critical
Keywords: crash
Whiteboard: [b2g-crash]
Target Milestone: mozilla18 → ---
Version: unspecified → 18 Branch
Page loads video i an iframe:

http://assets.newsinc.com/players/mobile/single/20130123/single.html?wid=2&vid=24726117&cid=&freewheel=91002&sitesection=selatimes&height=400&width=600&external_url=http://www.latimes.com/business/money/la-fi-mo-navy-laser-drone-20130409,0,4771550.story

I see this in that page which is invalid HTML:

<video id="vid" class="vid" controls width="javascript:playerWidth" height="javascript:playerHeight" src="" </video>

A direct link to the iframe page loads and plays fine on an otoro. The direct link to the video URL plays fine:

http://content.newsinc.com/mp4/1/24726117/4295063.mp4

Page loads and video also plays fine on a nightly build that supports H.264 using B2G's user agent.
Adding regressionwindow-wanted to find out if this is a regression. If it's maintaining the video status quo from v1.0.1, we wouldn't block.
On my unagi with a 1.0.1 build from today I see the video try to play but then get "Video can't be played because the file is corrupt" where the video was.
Same for me on Unagi and todays build
blocking-b2g: leo? → leo+
(In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from comment #0)
> ## Environment :
> Master build : 2013-04-09-07-02-05
> "mozilla-central" revision="b1fb34b07c17"
> "integration/gaia-central" revision="3d5b037cb2fd"
> "gecko.git" revision="abcb3ee7673379f301335ba174967312abf984ba"
> "gaia.git" revision="65dd37c938b1cd38fce96fcfa7f4be09e259c255"
> Unagi
>   
> ## Repro :
> 1. go to 
> http://www.latimes.com/business/money/la-fi-mo-navy-laser-drone-20130409,0,
> 4771550.story
> 2. try to play the video
> 
> ## Expected :
> video plays like in firefox desktop
> 
> ## Actual :
> 1. content crash
> 
> ## Note :
> does not crash on desktop.

I tried the content by attaching gdb to the process. There was no crash in content procees. It seems that Browser app kill content process because of no response.
(In reply to Sotaro Ikeda [:sotaro] from comment #7)
> (In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from
> comment #0)
> > ## Environment :
> > Master build : 2013-04-09-07-02-05
> > "mozilla-central" revision="b1fb34b07c17"
> > "integration/gaia-central" revision="3d5b037cb2fd"
> > "gecko.git" revision="abcb3ee7673379f301335ba174967312abf984ba"
> > "gaia.git" revision="65dd37c938b1cd38fce96fcfa7f4be09e259c255"
> > Unagi
> >   
> > ## Repro :
> > 1. go to 
> > http://www.latimes.com/business/money/la-fi-mo-navy-laser-drone-20130409,0,
> > 4771550.story
> > 2. try to play the video
> > 
> > ## Expected :
> > video plays like in firefox desktop
> > 
> > ## Actual :
> > 1. content crash
> > 
> > ## Note :
> > does not crash on desktop.
> 
> I tried the content by attaching gdb to the process. There was no crash in
> content procees. It seems that Browser app kill content process because of
> no response.

correction:
 content process does not respond.
Flags: needinfo?(nhirata.bugzilla)
http://lat.ms/118sZ20

Build 2013-03-01-03-05-48_MC_unagi : content still crashes
I have a feeling that this has occurred for a long time on unagi

On today's build, it plays!  there's a moment where it says it's not responsive, but then it plays.

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/e2d297ddf01d
Gaia   baec473de45d4971b86a470b7580cd1444585a26
BuildID 20130415070205
Version 18.0
Leo

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/e2d297ddf01d
Gaia   baec473de45d4971b86a470b7580cd1444585a26
BuildID 20130415070205
Version 18.0
Unagi

What Sotaro saw shows on this build for unagi.  It keeps saying unresponsive but does not crash.
Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/950db80b82cb
Gaia   54ab4ce3f9107d1624c18bed2a09ace6bbc6601f
BuildID 20130412070204
Version 18.0
unagi

Moving to WFM; I may file another bug in regards to the performance instead.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(nhirata.bugzilla)
Resolution: --- → WORKSFORME
It could be the browser app gets OOM-killed. In my tests I often see the slow script dialog pop up. After continue for several times, the browser app gets killed and dmesg shows the low memory killer selects the browser app to kill.

I also see a b2g process crash using trunk. I will open another bug for tracking.
You need to log in before you can comment on or make changes to this bug.