Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brave crashes immediately #658

Open
DelicateIntegral opened this issue Sep 6, 2024 · 3 comments
Open

Brave crashes immediately #658

DelicateIntegral opened this issue Sep 6, 2024 · 3 comments

Comments

@DelicateIntegral
Copy link

Issue:

I updated the brave flatpak 2 days ago to : 1.69.162

Yesterday I started using wayland.

Today when I opened Brave after starting computer it keep on crashing. I changed to X11 session but no change. I uninstalled (cleared data also with flatsweep) and reinstalled. But it still didn't work. Even launching from terminal crashed

Ultimately I used warehouse to downgrade brave to 1.69.160. It is now running (for an hour atleast, I am typing on brave) fine even on wayland session.

Note

System INFO:
OS: Linux (Kubuntu 24.04)
DE: KDE
Session: Wayland/X11 (both)
App Type: Flatpak
Crashing Brave Version: v1.69.162

@ezekias42
Copy link

ezekias42 commented Sep 9, 2024

I am having the same issue.

Using 'flatpak run' makes it to stay open, but I receive the following messages on terminal:

[2:2:0909/155427.138266:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/

[58:58:0909/155435.679062:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!

[58:58:0909/155449.985112:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!

[58:58:0909/155455.605534:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

@DelicateIntegral
Copy link
Author

iirc, mine was crashing even from terminal. I have freezed updates and downgraded to 1.69.160 which is running fine for me (for now atleast). Maybe I will try updating after few more releases.

@ThisNekoGuy
Copy link

ThisNekoGuy commented Oct 23, 2024

I'm on version 1.71.114 and this also happening to me regardless of how I run it (desktop and terminal), but notably the issue didn't start this way...
For me, I noticed it started happening after I enabled the Brave Ad system. The first time it took a minute or two to happen (and I got interrupted trying to sign up for the wallet), and every subsequent time it happens after just a few seconds.

Also noticed that for some crazy reason the flatpak version of Brave depends on XWayland instead of native Wayland ( 😢 Why?) but that's of course a separate problem.

Running:

flatpak run com.brave.Browser --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations

allows me to run Brave with Wayland, but it doesn't prevent the crash.
I do get an error about a ptrace failing to attach to the crashing process in the terminal though, which might help here if it actually worked. 😅

[2:2:1022/205227.657879:ERROR:CONSOLE(2185)] "[Settings] Appearance Page cannot find use default theme button template", source: chrome://settings/settings.js (2185)
tracing_subscriber - init success
[1022/205253.963518:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)

EDIT:
I also noticed that, from my task manager, it balloons to an absurd amount of RAM usage without any tabs open.
After around 10GBs, it decided to crash for some reason.

I would try attaching gdb to the process if not for the fact that Brave spawns, like, 14 processes and the browser crashes so fast that I don't think I can identify the correct one before it does.

Note

OS: Gentoo Linux 2.15 (Completely LLVM18 built & w/ glibc)
Kernel: 6.10.9
DE: KDE Plasma 6.1.5
Session: Wayland & X11 (Both)
App Type: Flatpak
Brave Version: v1.71.114
RAM: 32GBs @ 3600 MHz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants