Skip to content

App crashes shortly after launch on fresh profile [Android 8.1.0] #32988

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
Uni-verse opened this issue Sep 13, 2023 · 3 comments · Fixed by brave/brave-core#20165
Closed

App crashes shortly after launch on fresh profile [Android 8.1.0] #32988

Uni-verse opened this issue Sep 13, 2023 · 3 comments · Fixed by brave/brave-core#20165
Labels
Android 8 - Test/Verification Checking on an older Android device to make sure everything is working as expected crash OS/Android Fixes related to Android browser functionality priority/P3 The next thing for us to work on. It'll ride the trains. QA/No regression release/blocking release-notes/exclude

Comments

@Uni-verse
Copy link
Contributor

Uni-verse commented Sep 13, 2023

Description

App crashes shortly after launch on fresh profile, happening in 1.58.x. Regression as this does not crash in 1.57.x using same steps.

Not reproducible on Samsung GS 21 | Android 13

2023-09-13 16:44:33.900 1922-1922/? W/ResourceType: Failure getting entry for 0x7f010d5e (t=0 e=3422) (error -75)
2023-09-13 16:44:33.978 1922-1982/? D/OpenGLRenderer: HWUI GL Pipeline
2023-09-13 16:44:33.980 1922-1922/? D/AndroidRuntime: Shutting down VM
2023-09-13 16:44:33.980 1922-1922/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.brave.browser, PID: 1922
    java.lang.RuntimeException: Unable to instantiate service com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService: java.lang.ClassNotFoundException: Didn't find class "com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService" on path: DexPathList[[zip file "/data/app/com.brave.browser-eVC6uZo8OfRnoW9o2rm_9Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.brave.browser-eVC6uZo8OfRnoW9o2rm_9Q==/lib/arm64, /data/app/com.brave.browser-eVC6uZo8OfRnoW9o2rm_9Q==/base.apk!/lib/arm64-v8a, /system/lib64]]
        at android.app.ActivityThread.handleCreateService(ActivityThread.java:3324)
        at android.app.ActivityThread.-wrap4(Unknown Source:0)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1677)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6494)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService" on path: DexPathList[[zip file "/data/app/com.brave.browser-eVC6uZo8OfRnoW9o2rm_9Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.brave.browser-eVC6uZo8OfRnoW9o2rm_9Q==/lib/arm64, /data/app/com.brave.browser-eVC6uZo8OfRnoW9o2rm_9Q==/base.apk!/lib/arm64-v8a, /system/lib64]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at android.app.ActivityThread.handleCreateService(ActivityThread.java:3321)
        at android.app.ActivityThread.-wrap4(Unknown Source:0) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1677) 
        at android.os.Handler.dispatchMessage(Handler.java:106) 
        at android.os.Looper.loop(Looper.java:164) 
        at android.app.ActivityThread.main(ActivityThread.java:6494) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) 

Steps to reproduce

  1. Fresh install
  2. Complete onboarding
  3. Wait 30 seconds or so
  4. Does not matter what user does in this time.

Actual result

App crashes after launch

rewards_crash1.mp4

Expected result

Should not crash

Issue reproduces how often

Easily

Version/Channel Information:

  • Can you reproduce this issue with the current Play Store version? No
  • Can you reproduce this issue with the current Play Store Beta version? TBD
  • Can you reproduce this issue with the current Play Store Nightly version? TBD

Device details

  • Install type (ARM, x86): ARM
  • Device type (Phone, Tablet, Phablet): Pixel 2 XL
  • Android version: 8.1.0

Brave version

1.58.122

Website problems only

  • 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?

Additional information

@Uni-verse Uni-verse added crash priority/P3 The next thing for us to work on. It'll ride the trains. QA/Yes release-notes/include regression OS/Android Fixes related to Android browser functionality labels Sep 13, 2023
@Uni-verse Uni-verse changed the title App crash when leaving rewards panel open on fresh profile [Android 8.1.0] App crash after enabling Brave Rewards [Android 8.1.0] Sep 13, 2023
@Uni-verse Uni-verse added release/blocking priority/P2 A bad problem. We might uplift this to the next planned release. and removed priority/P3 The next thing for us to work on. It'll ride the trains. labels Sep 13, 2023
@Uni-verse Uni-verse added this to the 1.58.x - Release milestone Sep 13, 2023
@Uni-verse Uni-verse changed the title App crash after enabling Brave Rewards [Android 8.1.0] App crashes after interacting with rewards panel on fresh profile [Android 8.1.0] Sep 13, 2023
@Uni-verse Uni-verse changed the title App crashes after interacting with rewards panel on fresh profile [Android 8.1.0] App crashes shortly after launch on fresh profile [Android 8.1.0] Sep 13, 2023
@Uni-verse Uni-verse added priority/P3 The next thing for us to work on. It'll ride the trains. Android 8 - Test/Verification Checking on an older Android device to make sure everything is working as expected and removed release/blocking priority/P2 A bad problem. We might uplift this to the next planned release. labels Sep 13, 2023
@kjozwiak
Copy link
Member

The above requires 1.58.124 or higher for 1.58.x verification 👍

@Uni-verse
Copy link
Contributor Author

Created follow up below as this is still reproducible on Android 8.1.0 using GPS build (1.58.124)

#33011

@kjozwiak
Copy link
Member

Created follow up below as this is still reproducible on Android 8.1.0 using GPS build (1.58.124)

#33011

As per the above, removing the QA/Yes label as we'll verify the above via #33010 & #33011.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android 8 - Test/Verification Checking on an older Android device to make sure everything is working as expected crash OS/Android Fixes related to Android browser functionality priority/P3 The next thing for us to work on. It'll ride the trains. QA/No regression release/blocking release-notes/exclude
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants