Closed Bug 1379843 Opened 7 years ago Closed 7 years ago

[10.13] html5 video crash on high sierra beta 3

Categories

(Core :: Audio/Video: Playback, defect, P1)

54 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mark, Unassigned)

References

Details

(Keywords: crash, crashreportid)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce:

Try visiting a page such as these on MacOS High Sierra Beta 3
http://www.mediaelementjs.com/
https://www.quirksmode.org/html5/tests/video.html

My browser is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:54.0) Gecko/20100101 Firefox/54.0




Actual results:

Either the browser (or browser tab ) will crash.


Expected results:

The video should have played normally.
Note: This is something that seems to have happened only with Beta 3 since it was released this morning.

I have submitted a bug via Apple's Bug Reporter, but did not know if this was something that can/should be circumvented on the Firefox side.
In addition to crashing Firefox, this can sometimes lead to kernel crashes (No, really. It does!).
the backtrace in crash reports sounds like a bug in their driver or core layer of OS.
Component: Untriaged → Audio/Video: Playback
Keywords: crash, crashreportid
Product: Firefox → Core
you could try disabling hardware acceleration, if the crash is caused by acceleration.
(In reply to Tooru Fujisawa [:arai] from comment #7)
> you could try disabling hardware acceleration, if the crash is caused by
> acceleration.

Doesn't look like it's hardware acceleration related.
I went into Advanced Settings and checked off "Use hardware acceleration when available" so that it isn't enabled.
Then I restarted the browser.

Looks like it still crashes.

I have a bug issue opened with Apple. Besides the crash reports, is there anything more specific I can provide them for the purpose of them resolving this?

Thanks.
(In reply to Joe McCabe from comment #2)
> In addition to crashing Firefox, this can sometimes lead to kernel crashes
> (No, really. It does!).

I filed an Apple bug about that yesterday. There are several sites I load on Beta where I can reproduce this consistently.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: html5 video crash on high sierra beta 3 → [10.13] html5 video crash on high sierra beta 3
(In reply to Tooru Fujisawa [:arai] from comment #7)
> you could try disabling hardware acceleration, if the crash is caused by
> acceleration.

Confirming that disabling hardware acceleration made no difference. Crashes still happen.
(In reply to Tooru Fujisawa [:arai] from comment #5)
> the backtrace in crash reports sounds like a bug in their driver or core
> layer of OS.

It should be noted that videos played in Safari have (thus far) not crashed, but HAVE done really weird things to the Display Color settings (looks like it caused the device lost its profile settings and required re-applying the "Display Profile" to get back the proper color, brightness, and contrast). 

So yeah - looks like a bug/flaw introduced in 10.13b3 and is not (necessarily) exclusive to Firefox.

None-the-less, it'd be nice if FF didn't crash when it hits this.
Two updates:

To crash the kernel visit:
http://thehill.com/blogs/pundits-blog/media/341493-opinion-forget-don-jrs-email-its-hillary-clinton-who-colluded-with

When the embedded video loads FF will start to chug, then the macOS kernel will panic. Enjoy.


And I've found a partial workaround to stop the crashing. In about:config toggle all of these settings:

    media.ffmpeg.enabled
    media.ffvpx.enabled
    media.ogg.enabled
    media.mp4.enabled
    media.apple.mp4.enabled
    media.webm.enabled

Video won't play any longer, but random web pages (like the New York Times) will stop crashing your browser. Pop over to Safari if you really crave the video.
Blocks: highsierra
Hello people. Have you solved the problem ?. The curious thing is that in my mac mini and with the beta of the mac os sierra high only happens to me with firefox, with the opera and with the chrome I go all the perfect videos. I hope that apple and Mozilla will put the batteries, since firefox for me is the best web browser there is, especially for the plugins, specifically the "Auto HIDPI", which is the only plugin in all browsers I have tried, which Allows me to enlarge the complete interface of the browser to be able to see it well on i monitor 43 "and 4k.
(In reply to Kasios from comment #13)
> Hello people. Have you solved the problem ?. The curious thing is that in my
> mac mini and with the beta of the mac os sierra high only happens to me with
> firefox, with the opera and with the chrome I go all the perfect videos. I
> hope that apple and Mozilla will put the batteries, since firefox for me is
> the best web browser there is, especially for the plugins, specifically the
> "Auto HIDPI", which is the only plugin in all browsers I have tried, which
> Allows me to enlarge the complete interface of the browser to be able to see
> it well on i monitor 43 "and 4k.

There is an Apple bug on file for this (see Comment 1) - so far this is still an open issue.
(In reply to Marcia Knous [:marcia - use ni] from comment #14)
> (In reply to Kasios from comment #13)
> > Hello people. Have you solved the problem ?. The curious thing is that in my
> > mac mini and with the beta of the mac os sierra high only happens to me with
> > firefox, with the opera and with the chrome I go all the perfect videos. I
> > hope that apple and Mozilla will put the batteries, since firefox for me is
> > the best web browser there is, especially for the plugins, specifically the
> > "Auto HIDPI", which is the only plugin in all browsers I have tried, which
> > Allows me to enlarge the complete interface of the browser to be able to see
> > it well on i monitor 43 "and 4k.
> 
> There is an Apple bug on file for this (see Comment 1) - so far this is
> still an open issue.

Do not you find it curious, just go with Firefox and not with the safari, opera and chrome?
(In reply to Joe McCabe from comment #12)

> And I've found a partial workaround to stop the crashing. In about:config
> toggle all of these settings:
> 
>     media.ffmpeg.enabled
>     media.ffvpx.enabled
>     media.ogg.enabled
>     media.mp4.enabled
>     media.apple.mp4.enabled
>     media.webm.enabled
> 
> Video won't play any longer, but random web pages (like the New York Times)
> will stop crashing your browser. Pop over to Safari if you really crave the
> video.

Only mp4/h264 cause crash. Webm/vp9 works fine. Setting media.mp4.enabled to false is enough to stop crashes.
(In reply to perumeni from comment #16)
> (In reply to Joe McCabe from comment #12)
> 
> > And I've found a partial workaround to stop the crashing. In about:config
> > toggle all of these settings:
> > 
> >     media.ffmpeg.enabled
> >     media.ffvpx.enabled
> >     media.ogg.enabled
> >     media.mp4.enabled
> >     media.apple.mp4.enabled
> >     media.webm.enabled
> > 
> > Video won't play any longer, but random web pages (like the New York Times)
> > will stop crashing your browser. Pop over to Safari if you really crave the
> > video.
> 
> Only mp4/h264 cause crash. Webm/vp9 works fine. Setting media.mp4.enabled to
> false is enough to stop crashes.

It's true !!!!, you just saved my life, if I had you in front I would kill you with kisses. Hopefully firefox and apple will fix it soon.
macOS 10.13b4 seems to address this problem.
Confirmed on my end. 10.13b4 does not have crashing issues.
(In reply to Mark El-Wakil from comment #19)
> Confirmed on my end. 10.13b4 does not have crashing issues.

I do not have that update from the Mac OS High Sierra, I only have the 10.13. When did you skip that update ?.
(In reply to Kasios from comment #20)
> (In reply to Mark El-Wakil from comment #19)
> > Confirmed on my end. 10.13b4 does not have crashing issues.
> 
> I do not have that update from the Mac OS High Sierra, I only have the
> 10.13. When did you skip that update ?.

https://9to5mac.com/2017/07/24/macos-high-sierra-beta-4/
If you are not a developer (by your posts, I'm guessing you're not), it's not available for you yet.
There may be a public beta in a few days.
Note: macOS 10.13 ("High Sierra") is now at Beta 7. HTML5 video remains stable in FF 55 (and 55.0.1 and 55.0.2).

This bug can be closed.
Resolving this as works for me, since technically we didn't fix it but it was fixed in one of the Apple developer betas.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.