brave-browser: Crash when clicking "View Site Information" with "Don't allow sites to scroll and zoom shared tabs" enabled
Description
Brave Browser crashes when clicking the View Site Information button (near the address bar) if the setting “Don’t allow sites to scroll and zoom shared tabs” is enabled.
Steps to reproduce
-
Open Brave Browser on macOS Sequoia 15.5.
-
Navigate to Settings > Privacy and Security > Site and Shield Settings > Scrolling and zooming shared tabs.
-
Select the option: Don’t allow sites to scroll and zoom shared tabs.
-
Open any webpage (e.g., https://example.com/).
-
Click the View Site Information (lock icon) button next to the address bar.
Actual result
Brave Browser crashes immediately when the View Site Information button is clicked.
Expected result
Site information should appear normally without crashing the browser.
Reproduces how often
Easily reproduced
Brave version (brave://version info)
| Key | Value |
|---|---|
| Brave | 1.79.119 Chromium: 137.0.7151.68 (Official Build) (arm64) |
| Revision | 8e96734ed9994988111846511042234f7e9b1725 |
| OS | macOS Version 15.5 (Build 24F74) |
| JavaScript | V8 13.7.152.13 |
| User Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 |
| Command Line | /Applications/Brave Browser.app/Contents/MacOS/Brave Browser --disable-domain-reliability --enable-dom-distiller --enable-distillability-service --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --lso-url=https://no-thanks.invalid --sync-url=https://sync-v2.brave.com/v2 --variations-server-url=https://variations.brave.com/seed --variations-insecure-server-url=https://variations.brave.com/seed --flag-switches-begin --flag-switches-end --component-updater=url-source=https://go-updater.brave.com/extensions |
| Executable Path | /Applications/Brave Browser.app/Contents/MacOS/Brave Browser |
Channel information
- release (stable)
- beta
- nightly
Reproducibility
- with Brave Shields disabled
- with Brave Rewards disabled
- in the latest version of Chrome
Miscellaneous information
-
No crash if the “Don’t allow sites to scroll and zoom shared tabs” setting is not enabled.
-
Crash happens regardless of the site being visited.
-
Reproducible every time under the listed conditions.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 2
- Comments: 15 (7 by maintainers)
Links to this issue
Commits related to this issue
- Cherry-pick of crash fix for page-info bubble This is a cherry-pick of https://chromium.googlesource.com/chromium/src.git/+/85442728cecc72a13f2dacf06bb138a7804a600c which was reviewed and merged upst... — committed to brave/brave-core by bsclifton a year ago
- Cherry-pick of crash fix for page-info bubble (#29468) This is a cherry-pick of https://chromium.googlesource.com/chromium/src.git/+/85442728cecc72a13f2dacf06bb138a7804a600c which was reviewed and me... — committed to brave/brave-core by bsclifton a year ago
- Cherry-pick of crash fix for page-info bubble (#29468) This is a cherry-pick of https://chromium.googlesource.com/chromium/src.git/+/85442728cecc72a13f2dacf06bb138a7804a600c which was reviewed and me... — committed to brave/brave-core by bsclifton a year ago
@bsclifton I can confirm this fixed in .123 release.
Seems to be caused by this commit: https://github.com/brave/brave-core/commit/7c67dee1949dded61e2274b75b09c26e664d1c2b
Will follow up with author. Huge thanks to @emerick for the help troubleshooting 😄
Crash happening in here: https://source.chromium.org/chromium/chromium/src/+/refs/tags/137.0.7151.68:chrome/browser/ui/views/page_info/page_info_main_view.cc;l=277-286;drc=a2d31b2ae9c2fe66f915993d5d91308568671113
Verified with
Using
1.79.119 Chromium: 137.0.7151.68and STR from description, reproduced the crash:https://github.com/user-attachments/assets/d7789308-84f2-4604-ba5e-178cf6eb447f
Using
1.79.121 Chromium: 137.0.7151.68and same STR, confirmed no crash was observed. Also confirmed whenSites can ask to scroll and zoom shared tabsis selected there is no crash when attempting to view site information (clicking on the “tune” icon).https://github.com/user-attachments/assets/93795666-3003-4c6e-bcb9-f9de282669be
@patricnilackshan nice find/thanks for the report 👍 The above requires
1.79.121or higher for1.79.xverification 👍Reported upstream in detail with https://issues.chromium.org/issues/422803230
CL submitted upstream with a fix: https://chromium-review.googlesource.com/c/chromium/src/+/6625990
I also confirmed that the browser does not crash when using a private window (incognito mode). The issue only appears in regular windows.
@bsclifton I reported that too: https://github.com/brave/brave-browser/issues/46514, for me it doesn’t crash always in private tab.
+1 from folks here https://github.com/brave/brave-browser/issues/46453
Including folks on Windows (32-bit) and Linux. Removed
macOSqualifier from titleSame issue on Arch Linux AUR version:
Brave 1.79.119 (Official Build) (64-bit) Chromium: 137.0.7151.68
1.79.119 Chromium: 137.0.7151.68 (Offizieller Build) (32-Bit)
Same issue (crash).