Skip to contentSkip to conversation

Chromium crashes on HTML5 video tag

DISCUSSION Nikolay Dimitrov 5 participants 16 messages Jun 11, 2015 – Jul 2, 2015

lore
Share & tools
lore
#0 lore raw

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

I'm pretty sure that this worked fine some weeks ago, so it's a recent regression on Fido, 100% reproducible on imx6q sabresd. At this moment I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Thanks in advance for any ideas. Regards,
Nikolay

#1 lore raw

Adding openembedded guys in the loop.

Quoted 18 lines · Nikolay Dimitrov

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

I'm pretty sure that this worked fine some weeks ago, so it's a recent regression on Fido, 100% reproducible on imx6q sabresd. At this moment I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Thanks in advance for any ideas. Regards,
Nikolay

#2 lore raw

Do you have a crash log? If not, you should change your build from Release to Debug and
get some backtraces.

Zoltan

Quoted 30 lines · Nikolay Dimitrov

Adding openembedded guys in the loop.

Quoted 11 lines · Nikolay Dimitrov

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

Quoted 8 lines

I'm pretty sure that this worked fine some weeks ago, so it's a recent regression on Fido, 100% reproducible on imx6q sabresd. At this moment I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Thanks in advance for any ideas. Regards,
Nikolay

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 5 lines
Zoltan Kuscsik

Senior Software Developer, Linaro Digital Home Group
email: [email protected]
IRC: zoli_ on irc.linaro.org
#4 lore raw
In reply to Nikolay Dimitrov

Hi gang,

Quoted 19 lines · Nikolay Dimitrov

Adding openembedded guys in the loop.

Quoted 15 lines · Nikolay Dimitrov

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

I'm pretty sure that this worked fine some weeks ago, so it's a recent regression on Fido, 100% reproducible on imx6q sabresd. At this moment I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Commit 30b8d6b3d0d6501c56ef6967a2fa73a3d4bf5fe9 is the last known good commit. After it the component either doesn't compile, libs are missing or video tag isn't working.

Looks like it's a "revert time" for the customer builds...

Regards,
Nikolay

#5 lore raw

Any crash logs?

Quoted 41 lines · Nikolay Dimitrov

Hi gang,

Quoted 22 lines · Nikolay Dimitrov

Adding openembedded guys in the loop.

Quoted 16 lines · Nikolay Dimitrov

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

I'm pretty sure that this worked fine some weeks ago, so it's a recent regression on Fido, 100% reproducible on imx6q sabresd. At this moment I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Commit 30b8d6b3d0d6501c56ef6967a2fa73a3d4bf5fe9 is the last known good commit. After it the component either doesn't compile, libs are missing or video tag isn't working.

Looks like it's a "revert time" for the customer builds...

Regards,
Nikolay
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 5 lines
Zoltan Kuscsik

Senior Software Developer, Linaro Digital Home Group
email: [email protected]
IRC: zoli_ on irc.linaro.org
#6 lore raw

Hi Zoltan,

Quoted 35 lines · Zoltan Kuscsik

Any crash logs?

Quoted 31 lines · Nikolay Dimitrov

Hi gang,

Quoted 22 lines · Nikolay Dimitrov

Adding openembedded guys in the loop.

Quoted 16 lines · Nikolay Dimitrov

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>

    <source src="movie.mp4" type="video/mp4">

</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

I'm pretty sure that this worked fine some weeks ago, so it's a recent regression on Fido, 100% reproducible on imx6q sabresd. At this moment I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Commit 30b8d6b3d0d6501c56ef6967a2fa73a3d4bf5fe9 is the last known good commit. After it the component either doesn't compile, libs are missing or video tag isn't working.

Looks like it's a "revert time" for the customer builds...

I'll try to create crash dumps later. For now git bisect was the fastest way to deliver a working browser for the customer.

Have a great day,
Nikolay

#7 lore raw
In reply to Nikolay Dimitrov
Quoted 24 lines · Nikolay Dimitrov
Quoted 21 lines · Nikolay Dimitrov

Adding openembedded guys in the loop.

Quoted 16 lines · Nikolay Dimitrov

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

I'm pretty sure that this worked fine some weeks ago, so it's a recent regression on Fido, 100% reproducible on imx6q sabresd. At this moment I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Quoted 5 lines

Commit 30b8d6b3d0d6501c56ef6967a2fa73a3d4bf5fe9 is the last known good commit. After it the component either doesn't compile, libs are missing or video tag isn't working.

Looks like it's a "revert time" for the customer builds...

Might be packaging splitting which can have changes. One way to easily track this is using buildhistory and compare both packaged outputs.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#8 lore raw
Quoted 25 lines · Otavio Salvador
Quoted 24 lines · Nikolay Dimitrov
Quoted 21 lines · Nikolay Dimitrov

Adding openembedded guys in the loop.

Quoted 16 lines · Nikolay Dimitrov

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>

    <source src="movie.mp4" type="video/mp4">

</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

I'm pretty sure that this worked fine some weeks ago, so it's a recent regression on Fido, 100% reproducible on imx6q sabresd. At this moment I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Quoted 9 lines
Quoted 5 lines

Commit 30b8d6b3d0d6501c56ef6967a2fa73a3d4bf5fe9 is the last known good commit. After it the component either doesn't compile, libs are missing or video tag isn't working.

Looks like it's a "revert time" for the customer builds...

Might be packaging splitting which can have changes. One way to easily track this is using buildhistory and compare both packaged outputs.

It looks to me like that revision updated by 2 major versions of Chrome - more likely there are goblins in there than just a packaging issue.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#9 lore raw

Hi Gary,

Quoted 33 lines · Gary Thomas
Quoted 32 lines · Otavio Salvador
Quoted 29 lines · Nikolay Dimitrov
Quoted 21 lines · Nikolay Dimitrov

Adding openembedded guys in the loop.

Quoted 16 lines · Nikolay Dimitrov

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>

    <source src="movie.mp4" type="video/mp4">

</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

I'm pretty sure that this worked fine some weeks ago, so it's a recent regression on Fido, 100% reproducible on imx6q sabresd. At this moment I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Commit 30b8d6b3d0d6501c56ef6967a2fa73a3d4bf5fe9 is the last known good commit. After it the component either doesn't compile, libs are missing or video tag isn't working.

Looks like it's a "revert time" for the customer builds...

Quoted 7 lines
Quoted 3 lines

Might be packaging splitting which can have changes. One way to easily track this is using buildhistory and compare both packaged outputs.

It looks to me like that revision updated by 2 major versions of Chrome - more likely there are goblins in there than just a packaging issue.

Not really. Commit 30b8d6b3d0d6501c56ef6967a2fa73a3d4bf5fe9 is working OK, as I described. Issues start from the next commit, 355f6d474462996c3bf07d7a72233b6c81cb2e8a.

Regards,
Nikolay

#10 lore raw
Quoted 40 lines · Nikolay Dimitrov

Hi Gary,

Quoted 37 lines · Gary Thomas
Quoted 35 lines · Otavio Salvador
Quoted 24 lines · Nikolay Dimitrov
Quoted 21 lines · Nikolay Dimitrov

Adding openembedded guys in the loop.

Quoted 16 lines · Nikolay Dimitrov

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>

    <source src="movie.mp4" type="video/mp4">

</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

I'm pretty sure that this worked fine some weeks ago, so it's a recent regression on Fido, 100% reproducible on imx6q sabresd. At this moment I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Quoted 5 lines

Commit 30b8d6b3d0d6501c56ef6967a2fa73a3d4bf5fe9 is the last known good commit. After it the component either doesn't compile, libs are missing or video tag isn't working.

Looks like it's a "revert time" for the customer builds...

Might be packaging splitting which can have changes. One way to easily track this is using buildhistory and compare both packaged outputs.

Quoted 7 lines
Quoted 3 lines

It looks to me like that revision updated by 2 major versions of Chrome - more likely there are goblins in there than just a packaging issue.

Not really. Commit 30b8d6b3d0d6501c56ef6967a2fa73a3d4bf5fe9 is working OK, as I described. Issues start from the next commit, 355f6d474462996c3bf07d7a72233b6c81cb2e8a.

Ah, I should have read your comment more thoroughly. Indeed the next commit (355f6d) is quite intrusive - it's easy to see that something might have been missed in that split of the recipes.

Is this problem only on i.MX6? Have you tried it on other ARM targets or even PC?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#11 lore raw

Hi Gary,

Quoted 52 lines · Gary Thomas
Quoted 43 lines · Nikolay Dimitrov

Hi Gary,

Quoted 40 lines · Gary Thomas
Quoted 38 lines · Otavio Salvador
Quoted 26 lines · Nikolay Dimitrov
Quoted 23 lines · Nikolay Dimitrov

Adding openembedded guys in the loop.

Quoted 18 lines · Nikolay Dimitrov

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>

    <source src="movie.mp4" type="video/mp4">

</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

I'm pretty sure that this worked fine some weeks ago, so it's a recent
regression on Fido, 100% reproducible on imx6q sabresd. At this moment
I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Quoted 6 lines

Commit 30b8d6b3d0d6501c56ef6967a2fa73a3d4bf5fe9 is the last known good commit. After it the component either doesn't compile, libs are missing
or video tag isn't working.

Looks like it's a "revert time" for the customer builds...

Might be packaging splitting which can have changes. One way to easily track this is using buildhistory and compare both packaged outputs.

Quoted 7 lines
Quoted 3 lines

It looks to me like that revision updated by 2 major versions of Chrome - more likely there are goblins in there than just a packaging issue.

Not really. Commit 30b8d6b3d0d6501c56ef6967a2fa73a3d4bf5fe9 is working OK, as I described. Issues start from the next commit, 355f6d474462996c3bf07d7a72233b6c81cb2e8a.

Quoted 6 lines

Ah, I should have read your comment more thoroughly. Indeed the next commit (355f6d) is quite intrusive - it's easy to see that something might have been missed in that split of the recipes.

Is this problem only on i.MX6? Have you tried it on other ARM targets or even PC?

No, I haven't tried it elsewhere. My usual motivation to avoid that is because there are tons of possible differences (toolchains, libs, cpu architectures, kernels, patch sets to fix SoC issues) and it's next to impossible to guarantee that the code and data have precisely the same layout in memory, and that the code is executed precisely the same way.

But this is my perception, it's entirely OK if others see things in different perspective :D.

Kind regards,
Nikolay

#12 lore raw
In reply to Nikolay Dimitrov
Quoted 12 lines · Nikolay Dimitrov

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

Quoted 7 lines

I'm pretty sure that this worked fine some weeks ago, so it's a recent regression on Fido, 100% reproducible on imx6q sabresd. At this moment I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Thanks in advance for any ideas. Regards,
Nikolay

Hi,

I had the same problem and I solved it by moving libffmpegsumo.so from /usr/lib/chromium/ to /usr/bin/chromium/.
I'm now able to play audio and video files using HTML5 tag.

Regards,
Greg

#13 lore raw

Hi Greg,

Quoted 23 lines · Greg
Quoted 12 lines · Nikolay Dimitrov

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>

    <source src="movie.mp4" type="video/mp4">

</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

Quoted 7 lines

I'm pretty sure that this worked fine some weeks ago, so it's a recent regression on Fido, 100% reproducible on imx6q sabresd. At this moment I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Thanks in advance for any ideas. Regards,
Nikolay

Quoted 5 lines

Hi,

I had the same problem and I solved it by moving libffmpegsumo.so from /usr/lib/chromium/ to /usr/bin/chromium/.
I'm now able to play audio and video files using HTML5 tag.

Do you remember which git commit you've used during this observation?

Regards,
Nikolay

#14 lore raw
Quoted 19 lines · Nikolay Dimitrov

Hi Greg,

Quoted 15 lines · Greg
Quoted 13 lines · Nikolay Dimitrov <picmaster <at> ...> writes:

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>

    <source src="movie.mp4" type="video/mp4">

</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

I'm pretty sure that this worked fine some weeks ago, so it's a

recent

Quoted 1 line
Quoted 1 line
Quoted 1 line

regression on Fido, 100% reproducible on imx6q sabresd. At this

moment

Quoted 10 lines
Quoted 10 lines
Quoted 5 lines

I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Thanks in advance for any ideas. Regards,
Nikolay

Hi,

I had the same problem and I solved it by moving libffmpegsumo.so

from

Quoted 7 lines
Quoted 2 lines

/usr/lib/chromium/ to /usr/bin/chromium/.
I'm now able to play audio and video files using HTML5 tag.

Do you remember which git commit you've used during this observation?

Regards,
Nikolay

Hi Nikolay,

I'am using master branch for meta-browser layer and dizzy branch for meta-fsl-arm layer.

This is commit 355f6d474462996c3bf07d7a72233b6c81cb2e8a which change installation folder destination for libffmpegsumo.so.

To have video/audio working, I just modify chromium.inc file in order to install libffmpegsumo.so into ${D}/${bindir}/${BPN}.

Regards,
Greg

#15 lore raw

Hi Khem,

Quoted 46 lines · Greg
Quoted 19 lines · Nikolay Dimitrov

Hi Greg,

Quoted 15 lines · Greg
Quoted 13 lines · Nikolay Dimitrov <picmaster <at> ...> writes:

Hi gang,

Chromium tabs are crashing when they see an HTML5 <video> tag, like this one:

<video width="320" height="240" controls>

     <source src="movie.mp4" type="video/mp4">

</video>

(Code is from http://www.w3schools.com/html/html5_video.asp)

I'm pretty sure that this worked fine some weeks ago, so it's a

recent

Quoted 1 line
Quoted 1 line
Quoted 1 line

regression on Fido, 100% reproducible on imx6q sabresd. At this

moment

Quoted 10 lines
Quoted 10 lines
Quoted 5 lines

I still can't point to a specific commit in meta-fsl-arm or meta-browser.

Thanks in advance for any ideas. Regards,
Nikolay

Hi,

I had the same problem and I solved it by moving libffmpegsumo.so

from

Quoted 7 lines
Quoted 2 lines

/usr/lib/chromium/ to /usr/bin/chromium/.
I'm now able to play audio and video files using HTML5 tag.

Do you remember which git commit you've used during this observation?

Regards,
Nikolay

Hi Nikolay,

Quoted 8 lines

I'am using master branch for meta-browser layer and dizzy branch for meta-fsl-arm layer.

This is commit 355f6d474462996c3bf07d7a72233b6c81cb2e8a which change installation folder destination for libffmpegsumo.so.

To have video/audio working, I just modify chromium.inc file in order to install libffmpegsumo.so into ${D}/${bindir}/${BPN}.

Do you have any idea which install directory (bindir/libdir) should be working for both Chromium and CEF?

Regards,
Nikolay

#3 lore raw
In reply to Zoltan Kuscsik

Hi Zoltan,

Quoted 3 lines · Zoltan Kuscsik

Do you have a crash log? If not, you should change your build from Release to Debug and
get some backtraces.

The chromium debug binary is 3.1GiB, there's no way to run this on my ARM target. If you have other suggestions how to extract trace/debug info, I would be glad to try them.

Regards,
Nikolay