Brave crashes usually right after startup on Linux

Description of the issue:

Brave crashes randomly. Most often right after startup. This effect several of our forum members. Our OpenMandriva devs have not tracked down the problem yet. We have had this issue for over a month.

Steps to Reproduce (add as many as necessary): 1. 2. 3.

Start the browser. Just let it sit at the New Tab page and wait a moment.

Actual Result (gifs and screenshots are welcome!):

I woke up this morning and started Brave from the command line in hopes that I could catch the crash. It took less than a minute.

┌──[wilson@heisenberg] Fri Apr 25, 09:50:57 [~] 
└──[ <$> brave-browser
[44104:44104:0426/053405.563253:ERROR:profile_attributes_storage.cc(1011)] Failed to PNG encode the image.
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
[44104:44126:0426/053407.813128:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT
[44104:44126:0426/053428.651331:ERROR:registration_request.cc(291)] Registration response error message: DEPRECATED_ENDPOINT
[44104:44170:0426/053435.515667:ERROR:browser_main_loop.cc(276)] GLib: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
[44104:44171:0426/053435.515671:ERROR:browser_main_loop.cc(276)] GLib: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
[44104:44172:0426/053435.515667:ERROR:browser_main_loop.cc(276)] GLib: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
[0426/053435.522152:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0426/053435.522211:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0426/053435.522720:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0426/053435.523351:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0426/053435.525651:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0426/053435.525704:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0426/053435.526047:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0426/053435.526254:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0426/053435.526401:ERROR:process_memory_range.cc(75)] read out of range
[0426/053435.526480:ERROR:process_memory_range.cc(75)] read out of range
[0426/053435.530158:ERROR:process_memory_range.cc(75)] read out of range
[0426/053435.530165:ERROR:process_memory_range.cc(75)] read out of range
[0426/053435.530411:ERROR:process_memory_range.cc(75)] read out of range
[0426/053435.530414:ERROR:process_memory_range.cc(75)] read out of range
[0426/053435.533762:ERROR:directory_reader_posix.cc(43)] opendir /home/wilson/.config/BraveSoftware/Brave-Browser/Crash Reports/attachments/c6faad1e-e168-4772-a879-d125638f04c6: No such file or directory (2)
/usr/bin/brave-browser: line 39: 44104 Trace/breakpoint trap   (core dumped) "$HERE/brave" "$@"

There is no crash report as the directory /home/wilson/.config/BraveSoftware/Brave-Browser/Crash Reports/attachments/ is empty.

Expected result:

Reproduces how often:

Very random. It could happen at any time. For me, it often occurs right after starting the browser. It can happen several times in a row, or only once.

Operating System and Brave Version(See the About Brave page in the main menu):

OpenMandriva all versions.
Brave
Version 1.77.101 Chromium: 135.0.7049.115 (Official Build) (64-bit)

Additional Information:
I am a moderator at https://forum.openmandriva.org/ and I am filing this for a group of users.

1 Like

@WilsonPhillips

Good report.

I suspect, that your issue and post will be of interest to Brave team members @fmarier and @Evan123 , but you might not get a response until after the weekend.

2 Likes

Hello @WilsonPhillips - Do you see anything at brave://crashes

1 Like

I did not report a bug since I didn’t feel like creating a forum account until now. I’ve been dealing with this bug for at least over a month or two months now.

I can confirm this 100% exactly as @WilsonPhillips described. Brave Browser on a couple of my Linux PCs is frustrating to use, because every time you launch it, it’s like playing Russian roulette. I have to wait for a moment to know if it’s safe to use. If I don’t wait and I begin to use the browser normally, it will randomly crash exactly as described.

If it does not crash after a few moments, then the session will never crash, no matter how long I use the browser.

This happens equally on an Xorg or Wayland session. This happens even if I disable or enable hardware acceleration. This happens no matter if I use Ozone or not.

Yes. How can I look inside these crash reports so that I know no personal information will be included?

1 Like

Over at openmandriva.org, we have multiple users with this issue. We cannot seem to pin it down to a reason, but we can confirm that it is Chromium based browsers and not just Brave that has the issue.

This doesn’t happen with me on Chromium. Only Brave. I can’t speak for other Chromium-based browsers.

I found a way to more consistently crash: Visit any website and click the “View site information” button to the left of the address field.

I found a way to pin point the crash more consistently. Can you try this @WilsonPhillips.

This will frequently crash Brave and almost always crash when I click the “View site information” button:

brave -n --args --no-experiments --disable-extensions --enable-leak-detection --crash-on-failure

If I add --incognito then it won’t crash:
brave -n --args --incognito --no-experiments --disable-extensions --enable-leak-detection --crash-on-failure

If I remove --incognito it will crash no matter what other flags I set.

Seems that no matter what flags I use, --incognito prevents it from crashing. No other changes to extensions or hardware acceleration or anything make a difference.

I’m using KDE Plasma 6 if that matters.

1 Like

@Evan123

Crash details - can be reproduced:
‘Brave crashes usually right after startup on Linux - #7 by flansuse’

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.