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

BraveVpnHelper doesn't restart after crash #29579

Closed
spylogsster opened this issue Apr 7, 2023 · 2 comments · Fixed by brave/brave-core#17971
Closed

BraveVpnHelper doesn't restart after crash #29579

spylogsster opened this issue Apr 7, 2023 · 2 comments · Fixed by brave/brave-core#17971

Comments

@spylogsster
Copy link

spylogsster commented Apr 7, 2023

Description

If we add --crash-me flag the service is not restarted sometimes.

Steps to Reproduce

  1. Add --crash-me flag to the service in the registry HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Brave{Channel}VpnService -> ImagePath
  2. Connect brave vpn
  3. Check service crashed, but not restarted
  4. Only one dump created in %PROGRAMDATA%\BraveSoftware\{service name}\Crashpad

Actual result:

The service crashed, but not restarted and Only one dump created in %PROGRAMDATA%\BraveSoftware\{service name}\Crashpad

Expected result:

The service should restart and crash again until the flag --crash-me removed from registry

Reproduces how often:

100%

Brave version (brave://version info)

Version/Channel Information:

  • Can you reproduce this issue with the current release?
  • Can you reproduce this issue with the beta channel?
  • Can you reproduce this issue with the nightly channel?

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields?
  • Does the issue resolve itself when disabling Brave Rewards?
  • Is the issue reproducible on the latest version of Chrome?

Miscellaneous Information:

@spylogsster spylogsster self-assigned this Apr 7, 2023
@brave-builds brave-builds added this to the 1.52.x - Nightly milestone Apr 10, 2023
@stephendonner stephendonner changed the title BraveVpnHelper doesnt restart after crash BraveVpnHelper doesn't restart after crash May 10, 2023
@stephendonner
Copy link

stephendonner commented May 10, 2023

Verified PASSED using

Brave 1.52.92 Chromium: 113.0.5672.92 (Official Build) beta (64-bit)
Revision b6f521170062a1fa8a82c33fb223b06fec566da1-refs/branch-heads/5672_63@{#10}
OS Windows 10 Version 22H2 (Build 19045.2965)

Steps:

  1. installed 1.52.92
  2. purchased, configured, and connected to Brave VPN
  3. disconnected from VPN and shut down Brave
  4. opened rededit (registry editor)
  5. added --crash-me to the ImagePath
  6. relaunched Brave
  7. reconnected to Brave VPN
  8. confirmed I saw the Brave VPN helper service dialog
  9. confirmed I saw the Brave VPN Helper Service in the Task Manager
  10. opened C:\ProgramData\BraveSoftware\BraveBetaVpnService\Crashpad\reports

Confirmed the Brave VPN helper service process crashed and restarted, writing crash dumps each time

step 5 step 8 step 9 step 10
image (1) image (2) vpn-crash-restart keep-crashing

@stephendonner stephendonner added QA/In-Progress Indicates that QA is currently in progress for that particular issue and removed QA/In-Progress Indicates that QA is currently in progress for that particular issue labels May 10, 2023
@MadhaviSeelam
Copy link

MadhaviSeelam commented May 20, 2023

Verification PASSED using

Brave | 1.52.102 Chromium: 113.0.5672.126 (Official Build) beta (64-bit)
-- | --
Revision | c541687b21a73452ab403e2dced7033ddc97ee9d-refs/branch-heads/5672@{#1202}
OS | Windows 11 Version 22H2 (Build 22621.1702)

Steps:

  1. installed 1.52.92
  2. purchased, configured, and connected to Brave VPN
  3. disconnected from VPN and shut down Brave
  4. opened rededit (registry editor)
  5. added --crash-me to the ImagePath
  6. relaunched Brave
  7. reconnected to Brave VPN
  8. confirmed I saw the Brave VPN helper service dialog
  9. confirmed I saw the Brave VPN Helper Service in the Task Manager
  10. opened C:\ProgramData\BraveSoftware\BraveBetaVpnService\Crashpad\reports

Confirmed the Brave VPN helper service process crashed and restarted, writing crash dumps each time

step 3 step 5 step 8 step 9 step 10
image image image 2023-05-22_09h07_35 image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment