brave-browser: Constant page crashes

Employee update (by @bsclifton)

This is tracked upstream with https://issues.chromium.org/issues/378017037 and https://issues.chromium.org/issues/382867820 (duplicate report)

See https://github.com/brave/brave-browser/issues/42315#issuecomment-2560305967 below for a work-around

Fix has already been made for https://issues.chromium.org/issues/378017037 - will follow and update

Original issue description

IMPORTANT: Your crash has already been automatically reported to our crash system. Please file this bug only if you can provide more information about it.

Brave Version: 1.73.89 Chromium: 131.0.6778.69 Operating System: Linux 6.11.6-401.asahi.fc40.aarch64+16k

URL (if applicable) where crash occurred:

*

This applies to internal chromium pages too. This report was submitted from a crash of brave://crashes page, how ironic. Even while submitting this issue it crashes…

Can you reproduce this crash?

It happens always. On a fresh install without any modification. On a stable release version.

What steps will reproduce this crash? (If it’s not reproducible, what were you doing just before the crash?)

  1. open absolutely any page
  2. wait 30-90 seconds
  3. the page crashes with error: SIGTRAP

There are no additional logs regarding the crash when running brave from console.

This is reproducible on 1.74.5 (beta) and 1.75.18 (nightly). It is not reproducible on 1.71.123 (stable) which is the previous stable release available from official brave rpm repo’s. Please let me know if you need me to test some versions.

DO NOT CHANGE BELOW THIS LINE Crash ID: crash/803e0700-8605-eb0c-0000-000000000000

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 5
  • Comments: 33 (10 by maintainers)

Most upvoted comments

Better Workaround:

Run Brave with command-line switch:

brave-browser --js-flags="--nodecommit_pooled_pages"

This solves the SIGTRAP for all current Brave versions (Stable, Beta, and Nightly) on Apple Silicon with Fedora Asahi Remix 41.

CREDIT: https://issues.chromium.org/issues/382867820#comment16

OK folks - quick update

On the Chromium side, there has been a fix submitted with https://chromium-review.googlesource.com/c/v8/v8/+/6055482 which was just merged this morning

I’ll track this and help make sure it gets pulled into a newer version of Chromium as we pull updates. This should fix folks on Linux cc: @cdesouza-chromium @mkarolin @emerick for a heads up

I’ve created a new issue for the Windows crashes as those seem to be entirely different: https://github.com/brave/brave-browser/issues/42733

From Fedora Asahi matrix room:

[@refi64:linuxcafe.chat] hello, a quick PSA for the chromium users here: chromium 131 seems to have an issue where browser processes crash randomly, because, surprise surprise, V8 actually has a hardcoded 4KiB guard page size, and a recent change makes that size much more load-bearing. fix for me was to revert https://chromium-review.googlesource.com/c/v8/v8/+/5864909 for now. I filed https://issues.chromium.org/issues/378017037 with the details, might try to see if I can fix it later (but probably won’t get to tbh).

Brave devs, I suppose you could temporarily revert https://chromium-review.googlesource.com/c/v8/v8/+/5864909 until the official fix is available (16k page size platform are supposed to be officially supported by chromium, so it should be fixed).

*update: the chromium project issue is no longer available for some reason. Its nor open or closed, so it might be deleted or now private.

Yeah, seems to be fixed for me running 1.75.181. Thanks, you may close this issue if you wish 😉

We’ve had some releases recently which included patches upstream from Chromium and it’s very possible this is fixed.

The reason I’m uncertain if fixed is because the issue (see https://issues.chromium.org/issues/378017037) doesn’t have a merge request for a specific milestone. So it’s not clear to me which branches the fixes were cherry-picked to upstream

@dustinblack @davidprush @life00 are you still encountering this problem?

Seems to be fixed for me as well. Confirmed with version 1.75.181 running on Bookworm aarch64.

Received a +1 from 2 separate people in community experiencing this issue that reported still experiencing it after latest update this week. @jonathansampson @bsclifton

Sharing this report more broadly internally. If anybody else can contribute Crash IDs, or last working version feedback, that would be greatly appreciated. I’m curious also if Chrome or Chromium is working, whilst Brave is not. Details appreciated!

Can confirm the same observed behavior on both F40 and F41 Asahi with 1.73.91-1.

Downgrade to 1.71.123-1, as suggested above, worked for me and I now have a stable primary install.

I can reproduce this at will on the Beta and Nightly builds as well. It seems to be essentially the same behavior. Tabs open and work briefly and then err out with a SIGTRAP.

Here’s an example uploaded Crash ID recently generated on Beta:

a11b0c00-bd3e-f40c-0000-000000000000

I’m experiencing the same issue on Fedora Linux 40 Asahi on my MacBook Air M1.

Yeah, that’s what I thought.

Brave devs, its probably something related to the architecture (16k size memory pages) and might be an upstream bug. I may try testing regular chromium.

I’m experiencing the same issue on Fedora Linux 40 Asahi on my MacBook Air M1.

We’ve had some releases recently which included patches upstream from Chromium and it’s very possible this is fixed.

The reason I’m uncertain if fixed is because the issue (see https://issues.chromium.org/issues/378017037) doesn’t have a merge request for a specific milestone. So it’s not clear to me which branches the fixes were cherry-picked to upstream

@dustinblack @davidprush @life00 are you still encountering this problem?

This does seem to be fixed for me with recent updates. Thanks!

For those who aren’t as familiar with dnf, for now as a workaround:

sudo dnf install -y brave-browser-1.71.123-1

@life00 huge thanks for sharing that information - I’m talking to folks on the Chromium slack and trying to see if this affects other platforms as well. Issue in the Chromium tracker can be found here: https://issues.chromium.org/issues/378017037

This fixed it for me:

sudo dnf downgrade brave-browser
Updating and loading repositories:
Repositories loaded.
Package                                                               Arch             Version                                                               Repository                                 Size
Downgrading:
 brave-browser                                                        aarch64          1.71.123-1                                                            brave-browser                         363.6 MiB
   replacing brave-browser                                            aarch64          1.73.89-1                                                             brave-browser                         367.4 MiB

the working version is 1.71.123-1 on fedora 41.

Sharing this report more broadly internally. If anybody else can contribute Crash IDs, or last working version feedback, that would be greatly appreciated. I’m curious also if Chrome or Chromium is working, whilst Brave is not. Details appreciated!