lak
Posts: 3
Joined: Mon Oct 22, 2012 8:12 am

Re: Chromium crashes trying to open YouTube

Sun Nov 14, 2021 3:18 pm

This happens to my Pi4 once I log ged into Google account and click YouTube.
Why some users do not experience this crashing?
. m.youtube.com doesnt work. Incognito works as long as you stay on Youtube.
Pls fix this.

Thanks..

beta-tester
Posts: 1542
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: Chromium crashes trying to open YouTube

Sun Nov 14, 2021 8:18 pm

maybe YouTube changed something again.

https://code.videolan.org/videolan/vlc/-/issues/26285
https://github.com/ytdl-org/youtube-dl/issues/29326

also VLC isn't able to show YouTube videos anymore.
to get YouTube working again i already updated the youtube.lua files few weeks ago with these ones:
https://github.com/videolan/vlc/tree/ma ... a/playlist
https://code.videolan.org/videolan/vlc/ ... a/playlist

BTW: JDownloader2 is still able to download YouTube videos (but the download is very slow).
{ I only give negative feedback }
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)

manthonijsz
Posts: 1
Joined: Sun Nov 14, 2021 9:32 pm

Re: Chromium crashes trying to open YouTube

Sun Nov 14, 2021 9:38 pm

When Logging on Chromium with google account works
when opening Chromium in Incognito mode; youtube opens, crashes sometimes when play a video

Running in terminal: chromium-browser --enable-logging --v=1

I get the following error :
[1114/224225.801309:ERROR:elf_dynamic_array_reader.h(61)] tag not found
Segmentation fault
Last edited by manthonijsz on Sun Nov 14, 2021 9:43 pm, edited 2 times in total.

User avatar
Gavinmc42
Posts: 6633
Joined: Wed Aug 28, 2013 3:31 am

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 2:34 am

Buster with 90 runs all night playing YT.
Bullseye with 92 crashes immediately on going to YT
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

pidd
Posts: 3504
Joined: Fri May 29, 2020 8:29 pm
Location: Wirral, UK

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 3:17 am

Gavinmc42 wrote:
Mon Nov 15, 2021 2:34 am
Buster with 90 runs all night playing YT.
Bullseye with 92 crashes immediately on going to YT
Also Bullseye with 90 works perfectly

Code: Select all

sudo apt install chromium

Electric_Planet
Posts: 1
Joined: Mon Nov 15, 2021 7:10 am

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 7:11 am

Adding on to the cookies fix, if you add it to the never save cookies list then it doesn't seem to have a problem. Just until they fix the bug anyway.

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

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 3:48 pm

I'm no longer having a problem,

I did

Code: Select all

sudo apt install chromium
this replaces the chromium-browser package.

Seems to work I watch in Incognito mode so far I've played 9+ videos in a row and no crashing.

Update still no problems and I haven't done loaded any of these other fixes and I'm not using m.youtube.com. I'm only in incognito mode.

snibe1
Posts: 2
Joined: Mon Nov 15, 2021 3:55 pm

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 4:08 pm

Just downgrade Chromium to 88-90 for the time being and all seems to work ok untill the bug get fixed. /S

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

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 4:24 pm

snibe1 wrote:
Mon Nov 15, 2021 4:08 pm
Just downgrade Chromium to 88-90 for the time being and all seems to work ok untill the bug get fixed. /S
I'm running 90.0.4430.212 with out issue so far.

john-atwork
Posts: 48
Joined: Tue Jan 12, 2021 12:28 am

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 6:00 pm

Anybody want to walk us through the correct way to downgrade a chromium-browser to 90?

Edit
Found this: viewtopic.php?p=1919570
Last edited by john-atwork on Mon Nov 15, 2021 6:09 pm, edited 1 time in total.

pidd
Posts: 3504
Joined: Fri May 29, 2020 8:29 pm
Location: Wirral, UK

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 6:04 pm

john-atwork wrote:
Mon Nov 15, 2021 6:00 pm
Anybody want to walk us through the correct way to downgrade a chromium-browser to 90?

Code: Select all

sudo apt install chromium

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

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 6:09 pm

you don't need to downgrade. grab this extension.
https://chrome.google.com/webstore/deta ... honkkjfpdn

check service workers & everything.
then before you go to youtube click on it.
Attachments
2021-11-15-080829_1920x1080_scrot.png
2021-11-15-080829_1920x1080_scrot.png (194.83 KiB) Viewed 2836 times

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

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 6:32 pm

For myself I don't use add-ons and would rather have Chromium 90 and have everything working and then upgrade to 92, 93 or whatever version is released that works. That's my personal take.

You are the chromium wizard kerry_s and I would consider your solution if I really wanted version 92. I didn't notice that my Buster install is also has the same issue! I'm going to try the kerry_s fix on this machine as I use it everyday. Sadly this didn't work for me.

john-atwork
Posts: 48
Joined: Tue Jan 12, 2021 12:28 am

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 8:40 pm

pidd wrote:
Mon Nov 15, 2021 6:04 pm

Code: Select all

sudo apt install chromium
That would disable widevine.

john-atwork
Posts: 48
Joined: Tue Jan 12, 2021 12:28 am

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 8:42 pm

Kerry_s, that worked for a while, but after a few videos it crashed Chromium again. I guess I could just keep hitting the clear cache button every few videos but I think I'm going to downgrade for now.

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

Re: Chromium crashes trying to open YouTube

Mon Nov 15, 2021 8:56 pm

john-atwork wrote:
Mon Nov 15, 2021 8:42 pm
Kerry_s, that worked for a while, but after a few videos it crashed Chromium again. I guess I could just keep hitting the clear cache button every few videos but I think I'm going to downgrade for now.
that's weird cause i'm on youtube all day, no crashing.
i'll watch vid after vid without issues.

if you leave youtube, you need to click before you go back.

twilightened
Posts: 152
Joined: Fri Sep 03, 2021 12:31 am

Re: Chromium crashes trying to open YouTube

Tue Nov 16, 2021 12:13 am

john-atwork wrote:
Mon Nov 15, 2021 8:40 pm
pidd wrote:
Mon Nov 15, 2021 6:04 pm

Code: Select all

sudo apt install chromium
That would disable widevine.
Oh for god's sake this is true, it actually broke DRM support. Can't log into Spotify web anymore. What can we do about it?

PS: Youtube works fine.

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

Re: Chromium crashes trying to open YouTube

Tue Nov 16, 2021 12:27 am

twilightened wrote:
Tue Nov 16, 2021 12:13 am
john-atwork wrote:
Mon Nov 15, 2021 8:40 pm
pidd wrote:
Mon Nov 15, 2021 6:04 pm

Code: Select all

sudo apt install chromium
That would disable widevine.
Oh for god's sake this is true, it actually broke DRM support. Can't log into Spotify web anymore. What can we do about it?

PS: Youtube works fine.
Well it seems like a trade off you can have one but not the other at least for now. Unless the other method works for you, we know that the brilliant minds are working the problem so hopefully there will be an update soon.

User avatar
HermannSW
Posts: 5189
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

Re: Chromium crashes trying to open YouTube

Tue Nov 16, 2021 11:19 am

My youtube did crash as well on the weekend. Then I found this thread and followed the advice to clear the cache. Immediately youtube worked.

Regarding the Widevine stateement, I just started Netflix in Raspberry "Chromium (Media Edition)" and was able to play a movie without problems.
https://hermann-sw.github.io/planar_graph_playground
https://stamm-wilbrandt.de/en#raspcatbt
https://github.com/Hermann-SW/memrun
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

User avatar
HermannSW
Posts: 5189
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany

Re: Chromium crashes trying to open YouTube

Tue Nov 16, 2021 12:56 pm

HermannSW wrote:
Tue Nov 16, 2021 11:19 am
My youtube did crash as well on the weekend. Then I found this thread and followed the advice to clear the cache. Immediately youtube worked.
Happened again, going to youtube.com crashed.
I started Chromium newly, did clear browsing data (everything, all time), and then youtube.com was fine.
I was able to play this video:
https://youtu.be/DnNNRjeUb3A
But after less than 3 minutes after clearing browser cache, clicking on that link crashes Chromium again.
So current procedure is "if see crash, clear all brosing data, and then quickly look the video you are interested in, until next crash will happen after some minutes"?
Please fix.
https://hermann-sw.github.io/planar_graph_playground
https://stamm-wilbrandt.de/en#raspcatbt
https://github.com/Hermann-SW/memrun
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/en/Raspberry_camera.html

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

Re: Chromium crashes trying to open YouTube

Tue Nov 16, 2021 1:09 pm

HermannSW wrote:
Tue Nov 16, 2021 12:56 pm
HermannSW wrote:
Tue Nov 16, 2021 11:19 am
My youtube did crash as well on the weekend. Then I found this thread and followed the advice to clear the cache. Immediately youtube worked.
Happened again, going to youtube.com crashed.
I started Chromium newly, did clear browsing data (everything, all time), and then youtube.com was fine.
I was able to play this video:
https://youtu.be/DnNNRjeUb3A
But after less than 3 minutes after clearing browser cache, clicking on that link crashes Chromium again.
So current procedure is "if see crash, clear all brosing data, and then quickly look the video you are interested in, until next crash will happen after some minutes"?
Please fix.
I've stated, multiple times, that we are looking in to this, this week. Me too answers don't really add a lot and just clutter up this thread, which the engineer has been pointed at.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

WoodyC
Posts: 5
Joined: Sun Jan 12, 2020 8:03 am

Re: Chromium crashes trying to open YouTube

Tue Nov 16, 2021 1:36 pm

Just clear the files in this folder will work, ~/.config/chromium/Default/Service Worker/ScriptCache/.
Youtube will play as long as it is in the same video Window, else, crash again.

snibe1
Posts: 2
Joined: Mon Nov 15, 2021 3:55 pm

Re: Chromium crashes trying to open YouTube

Tue Nov 16, 2021 2:30 pm

pidd wrote:
Mon Nov 15, 2021 6:04 pm
john-atwork wrote:
Mon Nov 15, 2021 6:00 pm
Anybody want to walk us through the correct way to downgrade a chromium-browser to 90?

Code: Select all

sudo apt install chromium
Pi-Apps has a nice downgrade- script for chromium to 88 with inkluding widewine.

twilightened
Posts: 152
Joined: Fri Sep 03, 2021 12:31 am

Re: Chromium crashes trying to open YouTube

Tue Nov 16, 2021 8:34 pm

HermannSW wrote:
Tue Nov 16, 2021 11:19 am
My youtube did crash as well on the weekend. Then I found this thread and followed the advice to clear the cache. Immediately youtube worked.

Regarding the Widevine stateement, I just started Netflix in Raspberry "Chromium (Media Edition)" and was able to play a movie without problems.
Please read the whole thread. "Sudo apt install chromium" rolls back Chromium to version 90, which breaks widevine. Version 92, i am guessing temporarily, was removed from the repositories.

lak
Posts: 3
Joined: Mon Oct 22, 2012 8:12 am

Re: Chromium crashes trying to open YouTube

Wed Nov 17, 2021 4:24 am

The latest Bullseye update sort of fixes the YouTube problem.

But samba file sharing is broken.

Going back to Buster, everything works fine. But don't upgrade. YouTube will crash. And you have to clear the cookies thing.

Bullesye is broken in the things that matter to the casual daily user.

Pls fix this.

Return to “Raspberry Pi OS”