brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.72k stars 2.31k forks source link

[Android 14] Brave crashes on `C117` build when VPN is enabled. #32878

Closed hffvld closed 1 year ago

hffvld commented 1 year ago

Description

Brave crashes on C117 build when VPN is enabled on Pixel 7 with Android 14.

2023-09-08 12:08:37.590 13610-13610 chromium                pid-13610                            I  [INFO:policy_logger.cc(142)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(273) Deferring CBCM Controller Initialization until it is unblocked.
2023-09-08 12:08:37.846 13610-13689 chromium                pid-13610                            W  [WARNING:ev_root_ca_metadata.cc(118)] Not implemented
2023-09-08 12:08:38.020 13804-13804 chromium                pid-13804                            E  [0908/120838.020539:ERROR:crashpad_info_reader.cc(72)] invalid signature 0x0
2023-09-08 12:08:38.031 13804-13804 chromium                pid-13804                            W  [0908/120838.031446:WARNING:exception_snapshot_linux.cc(263)] fpsimd not found

Steps to reproduce

  1. Install Brave Nightly 1.60.6 with C117
  2. Go to Settings > Dev options > Enable Brave VPN and relaunch Brave > Observe crash

Actual result

Brave crashes on C117 build when VPN is enabled. The same is happening on Fresh install or Upgrade from lower build with C116.

I tried the same with C114, C115 and C116 builds, and the crash is not happening there. The issue is only reproducible on a device with Androud 14 and not with Android 13.

https://github.com/brave/brave-browser/assets/128532965/e94f4960-1ab1-43a8-a775-1170eab3baaa

Expected result

Brave must not crash when VPN is enabled.

Issue reproduces how often

Easily reproduced

Version/Channel Information:

Device details

Brave version

Brave build: 1.60.6 Chromium: 117.0.5938.48 (Official Build) canary (64-bit) Revision: 3729c99b569a7aab570e3f55471c699556e539f9

Website problems only

Additional information

bsclifton commented 1 year ago

Should be fixed with https://github.com/brave/brave-core/pull/19576

Need to retest on 1.60.10 or higher

bsclifton commented 1 year ago

Looks like this also needs https://github.com/brave/brave-core/pull/20099 to be closed out - @deeppandya sharing build with @vlad-hoff

kjozwiak commented 1 year ago

Closing/Moving into 1.58.x as the above is fixed by https://github.com/brave/brave-core/pull/19576 & https://github.com/brave/brave-core/pull/20099 which was uplifted into 1.58.x via https://github.com/brave/brave-core/pull/20101. @vlad-hoff assuming the above will be verified by default when running through https://github.com/brave/brave-browser/issues/30673.

hffvld commented 1 year ago

Verified on Pixel 7 using version(s):

Device/OS: Pixel 7 [panther_beta-user 14 UPB5.230623.009 release-keys]
Brave build: 1.58.125 
Chromium: 117.0.5938.62 (Official Build) (64-bit) 
Revision: 8ed90c22c7a876855ef8cb4c2872dd7b69beb594

STEPS:

  1. Install Brave 1.58.125
  2. Go to Settings > Enable QA settings
  3. Enable VPN > Verify Brave is not crashing
  4. Purchase VPN subscription and enable VPN profile > Verify Brave is not crashing
  5. Uninstall and reinstall Brave > Enable VPN in QA settings again
  6. Restore VPN subscription > Verify Brave is not crashing

ACTUAL RESULTS:


https://github.com/brave/brave-browser/assets/128532965/4cde54a6-b77e-43cc-9357-57e716391395