Skip to content

crash due to Brave being selecting as autofill provider #41254

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

Closed
haroonidrees opened this issue Sep 25, 2024 · 11 comments · Fixed by brave/brave-core#25759
Closed

crash due to Brave being selecting as autofill provider #41254

haroonidrees opened this issue Sep 25, 2024 · 11 comments · Fixed by brave/brave-core#25759
Assignees
Labels
crash OS/Android Fixes related to Android browser functionality priority/P2 A bad problem. We might uplift this to the next planned release. QA Pass - Android ARM QA/Yes release-notes/include

Comments

@haroonidrees
Copy link

haroonidrees commented Sep 25, 2024

IMPORTANT: Your crash has already been automatically reported to our crash system. Please file this bug only if you can provide more information about it.

Brave Version: 1.70.117 Chromium: 129.0.6668.59
Operating System: Android 11

URL (if applicable) where crash occurred:

Can you reproduce this crash?

What steps will reproduce this crash? (If it's not reproducible, what were you doing just before the crash?)

  1. "Brave keeps stopping" error message continuously, even when typing this report
  2. Like non-stop even when I'm not using the browser, or maybe it's in background
  3. Please fix this.

DO NOT CHANGE BELOW THIS LINE
Crash ID: crash/cf810100-bd5b-aa0c-0000-000000000000

@github-actions github-actions bot added the crash label Sep 25, 2024
@iefremov iefremov added the OS/Android Fixes related to Android browser functionality label Sep 26, 2024
@iefremov
Copy link
Contributor

cc @SergeyZhukovsky

@SergeyZhukovsky SergeyZhukovsky self-assigned this Sep 27, 2024
@iefremov
Copy link
Contributor

@haroonidrees can you please reproduce few more times and share more crash ids? Thanks

@haroonidrees
Copy link
Author

haroonidrees commented Sep 28, 2024 via email

@iefremov
Copy link
Contributor

thanks @haroonidrees

@haroonidrees
Copy link
Author

haroonidrees commented Sep 29, 2024 via email

@SergeyZhukovsky
Copy link
Member

@haroonidrees could you please paste a few of crash ids in that issue? It would be much easier for us to filter them out from out crash reporting system in that case.

@haroonidrees
Copy link
Author

fcdc0e00-bd5b-aa0c-0000-000000000000

02dd0e00-bd5b-aa0c-0000-000000000000

05dd0e00-bd5b-aa0c-0000-000000000000

3ade0e00-bd5b-aa0c-0000-000000000000

dcea0e00-bd5b-aa0c-0000-000000000000

@bsclifton bsclifton added the priority/P2 A bad problem. We might uplift this to the next planned release. label Sep 30, 2024
@iefremov
Copy link
Contributor

java.lang.RuntimeException: Unable to create service org.chromium.chrome.browser.autofill.BraveAutofillService: java.lang.ClassNotFoundException: Didn't find class "org.chromium.chrome.browser.autofill.BraveAutofillService" on path: DexPathList[[zip file "/data/app/~~17qsLhgYzip5kVuEdqFLDA==/com.brave.browser-HMVrEf0vWvWiH8qKk-mt_g==/base.apk"],nativeLibraryDirectories=[/data/app/~~17qsLhgYzip5kVuEdqFLDA==/com.brave.browser-HMVrEf0vWvWiH8qKk-mt_g==/lib/arm64, /data/app/~~17qsLhgYzip5kVuEdqFLDA==/com.brave.browser-HMVrEf0vWvWiH8qKk-mt_g==/base.apk!/lib/arm64-v8a, /system/lib64, /system/system_ext/lib64]]
	at android.app.ActivityThread.handleCreateService(ActivityThread.java:4391)
	at android.app.ActivityThread.access$1900(ActivityThread.java:274)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2112)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:233)
	at android.app.ActivityThread.main(ActivityThread.java:8010)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.chromium.chrome.browser.autofill.BraveAutofillService" on path: DexPathList[[zip file "/data/app/~~17qsLhgYzip5kVuEdqFLDA==/com.brave.browser-HMVrEf0vWvWiH8qKk-mt_g==/base.apk"],nativeLibraryDirectories=[/data/app/~~17qsLhgYzip5kVuEdqFLDA==/com.brave.browser-HMVrEf0vWvWiH8qKk-mt_g==/lib/arm64, /data/app/~~17qsLhgYzip5kVuEdqFLDA==/com.brave.browser-HMVrEf0vWvWiH8qKk-mt_g==/base.apk!/lib/arm64-v8a, /system/lib64, /system/system_ext/lib64]]
	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
	at android.app.AppComponentFactory.instantiateService(AppComponentFactory.java:129)
	at org.chromium.chrome.browser.base.SplitCompatAppComponentFactory.instantiateService(chromium-MonochromePublic64.aab-stable-427011924:5)
	at android.app.ActivityThread.handleCreateService(ActivityThread.java:4370)
	... 8 more

@SergeyZhukovsky
Copy link
Member

@haroonidrees do you have Brave set as an autofill service on your Android OS settings? Could you please remove it from there as a temp workaround for now?

@LaurenWags
Copy link
Member

Requires 1.70.124 or higher for verification 👍🏻

@kjozwiak
Copy link
Member

kjozwiak commented Oct 9, 2024

Verification PASSED on Pixel 6 running Android 15 using the following build(s):

Brave | 1.70.126 Chromium: 129.0.6668.100 (Official Build) (64-bit)
--- | ---
Revision | 35f34f21e597f5f30e9e206b0354cc137df1f2a3
OS | Android 15; Build/AP41.240823.009; 35; REL

Using the STR/Cases outlined via brave/brave-core#25759 (comment) & brave/brave-core#25759 (comment), ensured that Brave isn't appearing as a choice for the Autofill service as per the following:

Brave not set as default browser

Example Example
Image Image

Brave set as default browser

Example Example
Image Image

@kjozwiak kjozwiak changed the title Crash Report crash due to Brave being selecting as autofill provider Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash OS/Android Fixes related to Android browser functionality priority/P2 A bad problem. We might uplift this to the next planned release. QA Pass - Android ARM QA/Yes release-notes/include
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants