Adam777
Posts: 13
Joined: Sun Nov 17, 2019 10:59 am

Chromium crashes trying to open YouTube

Fri Nov 12, 2021 8:01 am

After the last update, chromium immediately closes itself when opening YouTube links.

RP3+, Buster

User avatar
kerry_s
Posts: 3743
Joined: Thu Jan 30, 2020 7:14 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 10:44 am

clear your cookies

Adam777
Posts: 13
Joined: Sun Nov 17, 2019 10:59 am

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 10:59 am

kerry_s wrote:
Fri Nov 12, 2021 10:44 am
clear your cookies
Yep, that seemed to do the trick, thank you ;)

User avatar
kerry_s
Posts: 3743
Joined: Thu Jan 30, 2020 7:14 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 11:05 am

Adam777 wrote:
Fri Nov 12, 2021 10:59 am
kerry_s wrote:
Fri Nov 12, 2021 10:44 am
clear your cookies
Yep, that seemed to do the trick, thank you ;)
looks like you'll need it to add to the clear list.

if you have the sync fix it'll be fine.

Code: Select all

sudo mousepad /etc/chromium.d/00-rpi-vars

Code: Select all

--oauth2-client-id=77185425430.apps.googleusercontent.com --oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT --enable-features=VaapiVideoDecoder
Attachments
2021-11-12-010510_1920x1017_scrot.png
2021-11-12-010510_1920x1017_scrot.png (62.07 KiB) Viewed 7452 times
2021-11-12-010156_960x1017_scrot.png
2021-11-12-010156_960x1017_scrot.png (96.31 KiB) Viewed 7452 times

User avatar
kerry_s
Posts: 3743
Joined: Thu Jan 30, 2020 7:14 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 2:54 pm

never mind it just started crashing again. :lol:

eat-sleep-code
Posts: 80
Joined: Thu Jul 03, 2014 9:30 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 3:49 pm

Same issue here. Manually clearing cookies fixed it momentarily, but this is not a valid solution for it to happen every time.

User avatar
kerry_s
Posts: 3743
Joined: Thu Jan 30, 2020 7:14 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 3:59 pm

eat-sleep-code wrote:
Fri Nov 12, 2021 3:49 pm
Same issue here. Manually clearing cookies fixed it momentarily, but this is not a valid solution for it to happen every time.
suggest using an alternative browser for youtube for the time being.
it's youtube's local storage cookie(the 1 with the youtube icon in cookies view) causing the issue, i also noticed they enabled poly, which slows down browsers other than theirs.

snowballEarth
Posts: 95
Joined: Wed Feb 18, 2015 9:05 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 4:06 pm

Yeah wtf? I'm getting this too, started today - probably with an update.

Clearing browsing data didn't fix the problem.

rpi4, bullseye

User avatar
CheezPi
Posts: 53
Joined: Sun Sep 15, 2019 6:47 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 4:44 pm

Wow. Looks like I'm not alone now, eh? I hope for a fix on this soon.

EDIT:

Here's what I have: Pi 400, Bullseye.
Amateur musician and Raspberry Pi enthusiast.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 30951
Joined: Sat Jul 30, 2011 7:41 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 4:46 pm

So, testing this, and not finding any problems - Youtube, latest BE, fully updated.

Can someone pass on a link to a crashing video in case its related to the video type?
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

User avatar
kerry_s
Posts: 3743
Joined: Thu Jan 30, 2020 7:14 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 4:49 pm

jamesh wrote:
Fri Nov 12, 2021 4:46 pm
So, testing this, and not finding any problems - Youtube, latest BE, fully updated.

Can someone pass on a link to a crashing video in case its related to the video type?
it's the whole site, after you leave, then try and go back.

User avatar
CheezPi
Posts: 53
Joined: Sun Sep 15, 2019 6:47 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 4:54 pm

jamesh wrote:
Fri Nov 12, 2021 4:46 pm
So, testing this, and not finding any problems - Youtube, latest BE, fully updated.

Can someone pass on a link to a crashing video in case its related to the video type?
The whole site, including the Chromium app is being weird, crashing the entire browser for some reason.
Amateur musician and Raspberry Pi enthusiast.

frankdrn
Posts: 11
Joined: Fri Apr 03, 2020 3:02 pm
Location: Southampton, UK

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 5:00 pm

I got this log of the youtube crash.

Code: Select all

[6063:1:1112/153157.301528:VERBOSE1:sandbox_linux.cc(69)] Activated seccomp-bpf sandbox for process type: renderer.
[5781:5818:1112/153157.330500:VERBOSE1:media_stream_manager.cc(705)] RFAOSF::Core() [process_id=8, frame_id=4]
[5834:5849:1112/153157.437780:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://www.youtube.com/
[5834:5849:1112/153157.608954:VERBOSE1:tls_handshaker.cc(106)] TlsClient: Continuing handshake
[1112/153157.674736:ERROR:elf_dynamic_array_reader.h(61)] tag not found
Segmentation fault
Thats the point where I typed youtube.com into the browser and pressed return. Not sure if any of that is useful.

If you delete the youtube service workers from within Chromium the site will work again but you have to accept the t&c's again.

User avatar
CheezPi
Posts: 53
Joined: Sun Sep 15, 2019 6:47 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 5:04 pm

frankdrn wrote: I got this log of the youtube crash.

Code: Select all

[6063:1:1112/153157.301528:VERBOSE1:sandbox_linux.cc(69)] Activated seccomp-bpf sandbox for process type: renderer.
[5781:5818:1112/153157.330500:VERBOSE1:media_stream_manager.cc(705)] RFAOSF::Core() [process_id=8, frame_id=4]
[5834:5849:1112/153157.437780:VERBOSE1:network_delegate.cc(32)] NetworkDelegate::NotifyBeforeURLRequest: https://www.youtube.com/
[5834:5849:1112/153157.608954:VERBOSE1:tls_handshaker.cc(106)] TlsClient: Continuing handshake
[1112/153157.674736:ERROR:elf_dynamic_array_reader.h(61)] tag not found
Segmentation fault
Thats the point where I typed youtube.com into the browser and pressed return. Not sure if any of that is useful.

If you delete the youtube service workers from within Chromium the site will work again but you have to accept the t&c's again.
Ehh...I don't know...I think there should be a better fix than clearing YouTube cookies or whatever.
Amateur musician and Raspberry Pi enthusiast.

yan
Posts: 85
Joined: Wed Sep 20, 2017 4:03 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 5:14 pm

It crash here too 5 times. I just click on the youtube bookmark and it crash. I remove all addons but doesn't fix the problem, only if i delete the cookies the page start to work again.

If i type on the URL bar m.youtube.com youtube will open. With www youtube is crashing.

This the error that appear in the terminal when the Chromium crash :

Code: Select all

 [1112/192314.769824:ERROR:elf_dynamic_array_reader.h(61)] tag not found
Segmentation fault
Last edited by yan on Fri Nov 12, 2021 5:28 pm, edited 2 times in total.

DarkElvenAngel
Posts: 2157
Joined: Tue Mar 20, 2018 9:53 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 5:23 pm

I'm having a crashing issue as well however it happens after a few videos play I don't have to do anything with cookies.

I've done some setting tweaking that may be useful to know about from my post here viewtopic.php?p=1934933#p1933143

I was also using the incognito mode for youtube so cookies aren't saved. Pi4 4GB fully updated 32bit bullseye

User avatar
CheezPi
Posts: 53
Joined: Sun Sep 15, 2019 6:47 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 5:24 pm

Okay...clearing the YouTube service worker cookies did work, but I think that's only a temporary solution. It's probably a bug within Chromium or something.

EDIT: Using the mobile YouTube URL seems to do well too, but it shouldn't really be like that. At least, I don't think so.
Amateur musician and Raspberry Pi enthusiast.

frankdrn
Posts: 11
Joined: Fri Apr 03, 2020 3:02 pm
Location: Southampton, UK

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 5:50 pm

Yeah, it's not a solution and it only works for the current session. Maybe it could narrow the problem down a bit.

I tried DarkElvenAngel's suggestion of disabling the Skia API but that didn't fix the crash for me.

User avatar
CheezPi
Posts: 53
Joined: Sun Sep 15, 2019 6:47 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 5:55 pm

frankdrn wrote:
Fri Nov 12, 2021 5:50 pm
Yeah, it's not a solution and it only works for the current session. Maybe it could narrow the problem down a bit.

I tried DarkElvenAngel's suggestion of disabling the Skia API but that didn't fix the crash for me.
Me too, yeah. Something is wrong. I would point out that this is happening after the fact that they changed the function of the dislike button, but that's probably unrelated since that opens up another can of worms towards Google sites in general.
Amateur musician and Raspberry Pi enthusiast.

DarkElvenAngel
Posts: 2157
Joined: Tue Mar 20, 2018 9:53 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 5:56 pm

frankdrn wrote:
Fri Nov 12, 2021 5:50 pm
Yeah, it's not a solution and it only works for the current session. Maybe it could narrow the problem down a bit.

I tried DarkElvenAngel's suggestion of disabling the Skia API but that didn't fix the crash for me.
I still have crashes but using incognito mode helps with the cookie problem since they are automatically deleted. I can watch about 3 to 5 videos before crashing out. I mentioned Skia as I don't have default setup.

User avatar
CheezPi
Posts: 53
Joined: Sun Sep 15, 2019 6:47 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 6:01 pm

DarkElvenAngel wrote:
Fri Nov 12, 2021 5:56 pm
frankdrn wrote:
Fri Nov 12, 2021 5:50 pm
Yeah, it's not a solution and it only works for the current session. Maybe it could narrow the problem down a bit.

I tried DarkElvenAngel's suggestion of disabling the Skia API but that didn't fix the crash for me.
I still have crashes but using incognito mode helps with the cookie problem since they are automatically deleted. I can watch about 3 to 5 videos before crashing out. I mentioned Skia as I don't have default setup.
Hmm...I would also temporarily use a different browser too...but what if it is also an issue on other Chromium-based browsers?
Amateur musician and Raspberry Pi enthusiast.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 30951
Joined: Sat Jul 30, 2011 7:41 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 6:04 pm

OK, I can replicate this, will forward the issue to those who know.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

User avatar
kerry_s
Posts: 3743
Joined: Thu Jan 30, 2020 7:14 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 6:05 pm

just edit your bookmark to https://m.youtube.com
it still go's to the desktop site but doesn't crash.

User avatar
CheezPi
Posts: 53
Joined: Sun Sep 15, 2019 6:47 pm

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 6:08 pm

jamesh wrote:
Fri Nov 12, 2021 6:04 pm
OK, I can replicate this, will forward the issue to those who know.
Thanks. I hope things work out.
Amateur musician and Raspberry Pi enthusiast.

User avatar
Annie UK
Posts: 40
Joined: Sat Sep 19, 2020 10:05 am
Location: UK

Re: Chromium crashes trying to open YouTube

Fri Nov 12, 2021 8:14 pm

kerry_s wrote:
Fri Nov 12, 2021 6:05 pm
just edit your bookmark to https://m.youtube.com
it still go's to the desktop site but doesn't crash.
That URL crashes here :(
Annie - Raspberry Pi 4 Model B Rev 1.4 8GB - Ubuntu 22.04 aarch64
Full Pi spec (1. Daily Driver): https://annieuk.ddns.net/pc-spec.php?dark=1

Return to “Raspberry Pi OS”