brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.53k stars 2.27k forks source link

Getting Error code: SIGILL when loading YouTube pages (v1.63.165) #36573

Open sudoshindo opened 6 months ago

sudoshindo commented 6 months ago

Description

Getting an error that says:

Aw, Snap! Something went wrong while displaying this webpage. Error code: SIGILL

It seems that the error only happens on YouTube pages. If I hard-refresh the page it actually loads and navigating to other pages produces no issues, but initiating a new page load leads to the error again.

After downgrading to v1.63.162 the error stopped appearing.

Steps to Reproduce

  1. Visit YouTube

Actual result:

https://global.discourse-cdn.com/brave/original/3X/6/8/6863e1f42831fb8a238683b7a1fa85b6d6d53e8e.png

Expected result:

The page should just load.

Reproduces how often:

It consistently happens whenever I load various pages on YouTube.

Brave version (brave://version info)

I'm sorry if this isn't the expected format, but I just downgraded and I don't want to go back to the broken version at the moment

v1.63.165 Linux (Fedora 39)

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

rebron commented 6 months ago

@sudoshindo When you get a chance can you update to 1.63.169 and let us know if you're still seeing the issue?

FloBEAUG commented 6 months ago

@rebron Hello, I can confirm it's still happening in 1.63.169 (Linux mint 21.3) Lots of SIGILL / SIGSEGV playing youtube videos. And some times it crashes the whole browser.

sudoshindo commented 6 months ago

I'm back. I'm currently on the 1.63.169 version. It looks like the issue is solved. Is the issue something that happened in upstream Chromium or is it Brave-specific?

sudoshindo commented 5 months ago

This error started happening to me again today, and I may have discovered additional information about this issue.

Here is my current brave://version info (even though it might not be relevant)

Brave 1.64.109 Chromium: 123.0.6312.58 (Official Build) (64-bit) Revision ded360c0dc8a4bd8aecb9cbe32a7aa4477d42246 OS Linux (Fedora 39)


Okay, so today I opened a YouTube tab, Error code: SIGILL started happening again.

What I discovered is that this issue may be directly related to another issue I participated in, found here #33033

Here are the actions I took before the problem stopped happening:

Something I learned from issue #33033 is that after every Brave update, I should run sudo sed -i -e 's|-stable|-stable --password-store=basic|g' /usr/share/applications/brave-browser.desktop again to make sure my logins are preserved. If I don't, my assumption is that this "breaks" Brave's ability to store or read cookies. That issue also contains the context on why I need to run Brave with --password-store=basic, I will not repeat it here.

So this time around, I just forgot to run that command after I updated Brave on March 21. Surprisingly, a lot of my logins actually get preserved this time without that command, but now it causes a YouTube-specific error instead.


Replication steps (probably):

IMPORTANT:

I was able to use YouTube without issue for about a week before I started receiving the error.

Updated March 21 Errors happened March 27

KelvinNovais commented 2 months ago

Also happening for me, but not for YouTube; it happens once in a while when I launch brave.

Brave 1.67.123 Chromium: 126.0.6478.126 (Official Build) (64-bit) Revision fc7619ef621fe4e6a0fa8b16c718f78ffc97a861 OS Linux (Fedora 40) JavaScript V8 12.6.228.21 User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Brave-Matt commented 1 month ago

Tons of users are still encountering this issue: https://community.brave.com/t/error-code-sigill-in-fedora-40/557081/22

M0-7 commented 1 month ago

I'm experiencing the same issue. It doesn't just happen on Youtube its also happening on the brave home page and the settings page even

M0-7 commented 1 month ago

Some errors

Jul 23 10:31:30 fedora abrt-server[7219]: Package 'brave-browser' isn't signed with proper key Jul 23 10:31:30 fedora abrt-server[7240]: Package 'brave-browser' isn't signed with proper key Jul 23 10:31:31 fedora brave-browser.desktop[6842]: [7243:1:0723/103131.093733:ERROR:v8_initializer.cc(809)] V8 process OOM (Failed to reserve virtual memory for CodeRange). Jul 23 10:31:31 fedora audit[7243]: AVC avc: denied { execheap } for pid=7243 comm="brave" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process permissive=0 Jul 23 10:31:31 fedora brave-browser.desktop[6842]: [0723/103131.099120:ERROR:process_memory.cc(41)] short read Jul 23 10:31:31 fedora brave-browser.desktop[6842]: [0723/103131.099159:ERROR:process_memory.cc(41)] short read Jul 23 10:31:31 fedora brave-browser.desktop[6842]: [0723/103131.099168:ERROR:process_reader_linux.cc(542)] no module mappings 0x7f52aea77000 Jul 23 10:31:31 fedora brave-browser.desktop[6842]: [0723/103131.099184:ERROR:process_memory.cc(41)] short read Jul 23 10:31:31 fedora brave-browser.desktop[6842]: [0723/103131.099189:ERROR:process_reader_linux.cc(542)] no module mappings 0x7f52aea5d000 Jul 23 10:31:31 fedora brave-browser.desktop[6842]: [0723/103131.099203:ERROR:process_memory.cc(41)] short read Jul 23 10:31:31 fedora brave-browser.desktop[6842]: [0723/103131.099207:ERROR:process_reader_linux.cc(542)] no module mappings 0x7f52aea26000 Jul 23 10:31:31 fedora brave-browser.desktop[6842]: [0723/103131.099220:ERROR:process_memory.cc(41)] short read Jul 23 10:31:31 fedora brave-browser.desktop[6842]: [0723/103131.099224:ERROR:process_reader_linux.cc(542)] no module mappings 0x7f52ae9fe000 Jul 23 10:31:31 fedora brave-browser.desktop[6842]: [0723/103131.099237:ERROR:process_memory.cc(41)] short read Jul 23 10:31:31 fedora brave-browser.desktop[6842]: [0723/103131.099241:ERROR:process_reader_linux.cc(542)] no module mappings 0x7f52ae913000

2uasimojo commented 1 month ago

I was on f39 and brave wouldn't install at all -- some gpg error. It looked like a known problem with f39 so I upgraded to f40. Brave was then able to install at 1.68.128-1.x86_64, but wouldn't open -- all tabs got SIGILL, even settings. Downgraded to 1.67.134-1.x86_64 and things seem copacetic (so far).

dobbsrx commented 1 month ago

I am on Brave 1.68.134 and I am getting SIGILLs on random tabs. Noticed it the most on twitch, but also random other pages including YouTube, discord, and local HTTP pages.

EndeavorOS Plasma 6.1.3 Platform X11 Kernel 6.10.2-arch1-2