question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Brave SIGILL and SIGSEGV

See original GitHub issue

Disclaimer

I realize I’m not giving you much context to reproduce the issue below but I’m also unable to come up with more detailed steps. Let me know any log file that might be relevant to the issue that I could share here.

As a result, feel free to reword the issue title 🙏

Description

Browsing high memory profile tabs sometimes segfaults Brave. Seemlingly random and has been happening for a month now with weekly system upgrades.

Steps to Reproduce

Applications like YouTube, Jira seems to be the cause, but the issue can then happen in any tab.

Actual result:

SIGILL

image

SIGSEGV

image

Expected result:

The navigation continues and tabs don’t crash.

Reproduces how often:

Everyday with a developer usage ie. about 20 tabs opened at any given time on average, including 2-3 with developer tools opened.

Brave version (brave://version info)

$ paru -Qs brave
local/brave-bin 1:1.32.113-1
    Web browser that blocks ads and trackers by default (binary release)
$ brave --version
Brave Browser 96.1.32.113
Brave 1.32.113 Chromium: 96.0.4664.45 (Official Build) (64-bit)
Revision 76e4c1bb2ab4671b8beba3444e61c0f17584b2fc-refs/branch-heads/4664@{#947}
OS Linux
JavaScript V8 9.6.180.12
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
Command Line /usr/lib/brave-bin/brave --enable-crashpad --disable-client-side-phishing-detection --disable-domain-reliability --enable-dom-distiller --no-pings --component-updater=url-source=https://go-updater.brave.com/extensions --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --sync-url=https://sync-v2.brave.com/v2 --lso-url=https://no-thanks.invalid --variations-server-url=https://variations.brave.com/seed --enable-features=LegacyTLSEnforced,WebUIDarkMode,SafetyTip,AutoupgradeMixedContent,PrefetchPrivacyChanges,PasswordImport,ReducedReferrerGranularity --disable-features=WebOTP,TextFragmentAnchor,ReadLater,Prerender2,Fledge,AdInterestGroupAPI,ComputePressure,AppDiscoveryRemoteUrlSearch,CopyLinkToText,ReportAllJavaScriptFrameworks,InterestCohortFeaturePolicy,SpeculationRulesPrefetchProxy,FlocIdComputedEventLogging,HandwritingRecognitionWebPlatformApiFinch,ConversionMeasurement,InterestGroupStorage,TrustTokens,DirectSockets,WebSQLInThirdPartyContextEnabled,AutofillServerCommunication,TabGroupsFeedback,Parakeet,IdleDetection,InterestCohortAPIOriginTrial,AutofillEnableAccountWalletStorage,FirstPartySets,NetworkTimeServiceQuerying,SubresourceWebBundles,NavigatorPluginsFixed,SignedExchangeSubresourcePrefetch,FederatedLearningOfCohorts,LiveCaption,NotificationTriggers --flag-switches-begin --flag-switches-end
Executable Path /usr/lib/brave-bin/brave
Profile Path /home/angrybacon/.config/BraveSoftware/Brave-Browser/Default
Variations AdRewardsStudy:NextPaymentDayAdServingStudy:MaximumAdNotificationsPerDay=100/MaximumInlineContentAdsPerHour=8/MaximumInlineContentAdsPerDay=40BraveAds.FrequencyCappingStudy:ExcludeAdIfWithinTimeWindow=0hBraveAds.UserActivityStudy:Triggers=EMPTY/Threshold=0.0/IdleTimeThreshold=5ConversionsStudy:NewDefaultPatternDefault1pBlockingStudy:DisabledEphemeralStorageStudy:EnabledNativeCosmeticFilteringStudy:EnabledPartitionConnectionsByNetworkIsolationKeyStudy:EnabledPermissionLifetimeReleaseStudy:EnabledRequestAdsEnabledApiStudy:EnabledSpeedreaderReleaseStudy:Disabled
  • OS: Arch
  • Graphics: NVIDIA (proprietary)
  • WM: Qtile

Other Additional Information:

  • When the issue comes up, I am in the middle of a search so I jump to another browser and paste the link since refreshing in Brave keeps crashing after 1-2 seconds in the page. Using a private session also keep crashing on the tab
  • That’s how I noticed that the issue also happens in Chromium while Firefox and Librewolf are fine

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:5
  • Comments:6

github_iconTop GitHub Comments

1reaction
macols77commented, Dec 8, 2021

I’ve been having this issue too. I have the crash reports that Brave dumped to .config/BraveSoftware/Brave-Browser/Crash Reports folder when this event happened. You can download them here in case they are of some use for you. These crashes were becoming more and more frequent until the browser was not usable at all. Then I uninstall it, delete the .config/BraveSoftware folder and now well after a few hours of use it seems is not happening anymore.

Brave version (brave://version) info

Brave 1.32.113 Chromium: 96.0.4664.45 (Official Build) (64-bit)
Revision 76e4c1bb2ab4671b8beba3444e61c0f17584b2fc-refs/branch-heads/4664@{#947}
OS Linux
JavaScript V8 9.6.180.12
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
Command Line /opt/brave.com/brave/brave --enable-crashpad --disable-client-side-phishing-detection --disable-domain-reliability --enable-dom-distiller --no-pings --component-updater=url-source=https://go-updater.brave.com/extensions --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --sync-url=https://sync-v2.brave.com/v2 --lso-url=https://no-thanks.invalid --variations-server-url=https://variations.brave.com/seed --enable-features=WebUIDarkMode,PrefetchPrivacyChanges,PasswordImport,ReducedReferrerGranularity,LegacyTLSEnforced,AutoupgradeMixedContent,SafetyTip --disable-features=AutofillEnableAccountWalletStorage,Fledge,SpeculationRulesPrefetchProxy,TrustTokens,DirectSockets,AppDiscoveryRemoteUrlSearch,CopyLinkToText,ReportAllJavaScriptFrameworks,InterestCohortFeaturePolicy,ReadLater,TextFragmentAnchor,Prerender2,IdleDetection,NotificationTriggers,WebOTP,AdInterestGroupAPI,ComputePressure,NavigatorPluginsFixed,SignedExchangeSubresourcePrefetch,AutofillServerCommunication,TabGroupsFeedback,Parakeet,WebSQLInThirdPartyContextEnabled,LiveCaption,InterestGroupStorage,ConversionMeasurement,FederatedLearningOfCohorts,InterestCohortAPIOriginTrial,FirstPartySets,NetworkTimeServiceQuerying,SubresourceWebBundles,HandwritingRecognitionWebPlatformApiFinch,FlocIdComputedEventLogging --flag-switches-begin --flag-switches-end
Executable Path /opt/brave.com/brave/brave
Profile Path /home/phantons/.config/BraveSoftware/Brave-Browser/Default
Variations AdRewardsStudy:NextPaymentDayConversionsStudy:NewDefaultPatternDefault1pBlockingStudy:DisabledEphemeralStorageStudy:EnabledNativeCosmeticFilteringStudy:EnabledPartitionConnectionsByNetworkIsolationKeyStudy:EnabledPermissionLifetimeReleaseStudy:EnabledRequestAdsEnabledApiStudy:EnabledSpeedreaderReleaseStudy:Enabled
  • OS: Ubuntu 20.04.3 LTS
  • Graphics: NVIDIA

Edit: After one day of heavy use, this issue is happening again

1reaction
crendopecommented, Dec 6, 2021

I had this same issue too, and a search of SIGILL lead me here now

In my case, I had my ram overclocked to a speed that causes some instability and brave crashing (along with my extensions too). my issue got fixed after putting my ram clock speeds back to auto

hopefully this leads you onto a solution in your case. I apologize if I wasn’t too helpful

Read more comments on GitHub >

github_iconTop Results From Across the Web

Brave Browser SIGSEGV Error Code [SOLVED]
Tried shutting down and relauching Brave, shutting down and rebooting laptop, etc. to no avail. Everything else seems to be working just fine ......
Read more >
Tabs crash randomly within Brave - Desktop Support
Description of the issue: Since few months, some pages randomly crashes after some time returning the error «SIGSEGV» or «SIGILL». It happens ...
Read more >
SIGTERM, SIGSEGV, SIGINT, SIGILL, SIGABRT, SIGFPE
SIGSEGV, invalid memory access (segmentation fault) ; SIGINT, external interrupt, usually initiated by the user ; SIGILL, invalid program image, ...
Read more >
Brave Browser tabs + Discord crash frequently on Fedora 35
The crash reports always show Brave encountering a SIGSEGV and Discord encountering a 'SIGILL'. Additionally, it appears I'm also receiving ...
Read more >
Can hardware issues cause segfaults and core dumps?
... smoothly until I tried to launch X at which point, X would segfault. ... booting k8s failing, Brave causing SIGILL errors, programs...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found