Gmscore: [com.microsoft.skydrive] crashes on start using v0.2.13.203915 while working with v0.2.12.203315

Created on 1 Nov 2020  路  9Comments  路  Source: microg/GmsCore

Affected app
Name: OneDrive
Package id: com.microsoft.skydrive

Describe the bug
Crashes on start

To Reproduce
Always, even after reinstall

Expected behavior
Working as with v0.2.12.203315

Screenshots
If applicable, add screenshots to help explain your problem.

System
Android Version: 10
Custom ROM: LineageOS 17.1

microG
microG Core version: 0.2.13.203915
microG Self-Check results: all ticked

Additional context
Initially thought the issue is caused by "FakeStore", but @JonnyTech leads me finally to "GmsCore", see also
https://github.com/microg/FakeStore/issues/24

Related log lines.

10-31 08:10:03.798  5773  5790 I ActivityTaskManager: START u0 {flg=0x4000000 cmp=com.microsoft.skydrive/.fre.OnboardingExperienceActivity (has extras)} from uid 10220
10-31 08:10:03.812  7015  7042 D GmsFirebaseAuth: bound by: GetServiceRequest{serviceId=FIREBASE_AUTH, gmsVersion=12451000, packageName='com.microsoft.skydrive', extras=Bundle[{com.google.firebase.auth.API_KEY=AIza***}]}
10-31 08:10:03.813 11886 11938 E AndroidRuntime: FATAL EXCEPTION: GoogleApiHandler
10-31 08:10:03.813 11886 11938 E AndroidRuntime: Process: com.microsoft.skydrive, PID: 11886
10-31 08:10:03.813 11886 11938 E AndroidRuntime: java.lang.IllegalStateException: A fatal developer error has occurred. Class name: zzf. Start service action: com.google.firebase.auth.api.gms.service.START. Service Descriptor: com.google.firebase.auth.api.internal.IFirebaseAuthService. 
10-31 08:10:03.813 11886 11938 E AndroidRuntime:    at com.google.android.gms.common.internal.BaseGmsClient$a.zza(SourceFile:13)
10-31 08:10:03.813 11886 11938 E AndroidRuntime:    at com.google.android.gms.common.internal.BaseGmsClient$zzc.zzo(SourceFile:6)
10-31 08:10:03.813 11886 11938 E AndroidRuntime:    at com.google.android.gms.common.internal.BaseGmsClient$b.handleMessage(SourceFile:35)
10-31 08:10:03.813 11886 11938 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:107)
10-31 08:10:03.813 11886 11938 E AndroidRuntime:    at com.google.android.gms.internal.common.zze.dispatchMessage(SourceFile:1)
10-31 08:10:03.813 11886 11938 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:214)
10-31 08:10:03.813 11886 11938 E AndroidRuntime:    at android.os.HandlerThread.run(HandlerThread.java:67)

Most helpful comment

I was able to downgrade to GmsCore-v0.2.12.203315.apk using adb without downgrading MicroG release on the phone - but only with the former LOS with MicroG from October 16 (I did an update to get the German Corona Warn app running).

Today updated to LOS with MicroG from November 10 and here the downgrade will not work anymore because the bundled version can't be erased

/opt/adb-fastboot/platform-tools/adb uninstall com.google.android.gms
Failure [DELETE_FAILED_INTERNAL_ERROR]

Downgrade with "adb sideload" did not succeed, Android claimed about broken system encryption...fortunatly update to latest version brought phone back to life...

Potentially this issue will get more attention now since the LOS with MicroG upgrade is available for the public now...

All 9 comments

I have the same error
I will try to change the version to see if it works

```11-09 18:47:08.404 9160 9171 D GmsFirebaseAuth: bound by: GetServiceRequest{serviceId=FIREBASE_AUTH, gmsVersion=12451000, packageName='cl.bci.sismo.mach', extras=Bundle[{com.google.firebase.auth.API_KEY=AIzaSyAwHEeYjN39dMROaJO6_5Dw4aywlMhMtRA}]}
11-09 18:47:08.406 20321 20321 I DecorView: mWindow.mActivityCurrentConfig is null.
11-09 18:47:08.406 20321 20321 I DecorView: updateCaptionType >> DecorView@fda4b8[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
11-09 18:47:08.406 20321 20321 D MultiWindowDecorSupport: setCaptionType = 0
11-09 18:47:08.408 3063 6268 D GameManagerService: identifyGamePackage. com.samsung.android.applock, mCurrentUserId: 0, callerUserId: 0
11-09 18:47:08.408 3063 6268 D GamePkgDataHelper: getGamePkgData(). com.samsung.android.applock
11-09 18:47:08.409 3063 6268 V ActivityManager: Scheduling idle now: forceIdle=trueimmediate=true
11-09 18:47:08.410 20321 20321 D SamsungAnalytics: user do not agree
11-09 18:47:08.414 23676 23718 W ContextImpl: Failed to ensure /data/user/0/com.google.android.gms/shared_prefs: mkdir failed: EACCES (Permission denied)
11-09 18:47:08.414 23676 23701 E AndroidRuntime: FATAL EXCEPTION: GoogleApiHandler
11-09 18:47:08.414 23676 23701 E AndroidRuntime: Process: cl.bci.sismo.mach:error_activity, PID: 23676
11-09 18:47:08.414 23676 23701 E AndroidRuntime: java.lang.IllegalStateException: A fatal developer error has occurred. Class name: k. Start service action: com.google.firebase.auth.api.gms.service.START. Service Descriptor: com.google.firebase.auth.api.internal.IFirebaseAuthService.
11-09 18:47:08.414 23676 23701 E AndroidRuntime: at com.google.android.gms.common.internal.d$f.a(Unknown Source:20)
11-09 18:47:08.414 23676 23701 E AndroidRuntime: at com.google.android.gms.common.internal.d$h.c(Unknown Source:11)
11-09 18:47:08.414 23676 23701 E AndroidRuntime: at com.google.android.gms.common.internal.d$g.handleMessage(Unknown Source:49)
11-09 18:47:08.414 23676 23701 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
11-09 18:47:08.414 23676 23701 E AndroidRuntime: at com.google.android.gms.internal.e.e.dispatchMessage(Unknown Source:8)
11-09 18:47:08.414 23676 23701 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
11-09 18:47:08.414 23676 23701 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:65)

I have the same error
I will try to change the version to see if it works

11-09 18:47:08.406 20321 20321 I DecorView: mWindow.mActivityCurrentConfig is null.
11-09 18:47:08.406 20321 20321 I DecorView: updateCaptionType >> DecorView@fda4b8[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
11-09 18:47:08.406 20321 20321 D MultiWindowDecorSupport: setCaptionType = 0
11-09 18:47:08.408  3063  6268 D GameManagerService: identifyGamePackage. com.samsung.android.applock, mCurrentUserId: 0, callerUserId: 0
11-09 18:47:08.408  3063  6268 D GamePkgDataHelper: getGamePkgData(). com.samsung.android.applock
11-09 18:47:08.409  3063  6268 V ActivityManager: Scheduling idle now: forceIdle=trueimmediate=true
11-09 18:47:08.410 20321 20321 D SamsungAnalytics: user do not agree
11-09 18:47:08.414 23676 23718 W ContextImpl: Failed to ensure /data/user/0/com.google.android.gms/shared_prefs: mkdir failed: EACCES (Permission denied)
11-09 18:47:08.414 23676 23701 E AndroidRuntime: FATAL EXCEPTION: GoogleApiHandler
11-09 18:47:08.414 23676 23701 E AndroidRuntime: Process: cl.bci.sismo.mach:error_activity, PID: 23676
11-09 18:47:08.414 23676 23701 E AndroidRuntime: java.lang.IllegalStateException: A fatal developer error has occurred. Class name: k. Start service action: com.google.firebase.auth.api.gms.service.START. Service Descriptor: com.google.firebase.auth.api.internal.IFirebaseAuthService. 
11-09 18:47:08.414 23676 23701 E AndroidRuntime:  at com.google.android.gms.common.internal.d$f.a(Unknown Source:20)
11-09 18:47:08.414 23676 23701 E AndroidRuntime:  at com.google.android.gms.common.internal.d$h.c(Unknown Source:11)
11-09 18:47:08.414 23676 23701 E AndroidRuntime:  at com.google.android.gms.common.internal.d$g.handleMessage(Unknown Source:49)
11-09 18:47:08.414 23676 23701 E AndroidRuntime:  at android.os.Handler.dispatchMessage(Handler.java:106)
11-09 18:47:08.414 23676 23701 E AndroidRuntime:  at com.google.android.gms.internal.e.e.dispatchMessage(Unknown Source:8)
11-09 18:47:08.414 23676 23701 E AndroidRuntime:  at android.os.Looper.loop(Looper.java:214)
11-09 18:47:08.414 23676 23701 E AndroidRuntime:  at android.os.HandlerThread.run(HandlerThread.java:65)

If you mean changing the version of one drive then save your time. I went back to a version of 2019 and none worked.
Downgrading microg is the only fix currently AFAIK.

I was able to downgrade to GmsCore-v0.2.12.203315.apk using adb without downgrading MicroG release on the phone - but only with the former LOS with MicroG from October 16 (I did an update to get the German Corona Warn app running).

Today updated to LOS with MicroG from November 10 and here the downgrade will not work anymore because the bundled version can't be erased

/opt/adb-fastboot/platform-tools/adb uninstall com.google.android.gms
Failure [DELETE_FAILED_INTERNAL_ERROR]

Downgrade with "adb sideload" did not succeed, Android claimed about broken system encryption...fortunatly update to latest version brought phone back to life...

Potentially this issue will get more attention now since the LOS with MicroG upgrade is available for the public now...

Hi, I am having the exact same issue.
Here is my error log : https://del.dog/croqocexal.txt

I tried multiple MicroG packages, I always have the same issue. Onedrive works perfectly, but as soon as I install MicroG (and only MicroG), it crashes at launch. There is an issue with microg and onedrive, I can confirm.

Installed now GmsCore-v0.2.14.204215.apk using released 2 days ago by "adb install" and restarted the phone, unfortunatly the issue is not solved:

11-27 09:22:46.346  7523  8026 E AndroidRuntime: FATAL EXCEPTION: GoogleApiHandler
11-27 09:22:46.346  7523  8026 E AndroidRuntime: Process: com.microsoft.skydrive, PID: 7523
11-27 09:22:46.346  7523  8026 E AndroidRuntime: java.lang.IllegalStateException: A fatal developer error has occurred. Class name: zzf. Start service action: com.google.firebase.auth.api.gms.service.START. Service Descriptor: com.google.firebase.auth.api.internal.IFirebaseAuthService.
11-27 09:22:46.346  7523  8026 E AndroidRuntime:        at com.google.android.gms.common.internal.BaseGmsClient$a.zza(SourceFile:13)
11-27 09:22:46.346  7523  8026 E AndroidRuntime:        at com.google.android.gms.common.internal.BaseGmsClient$zzc.zzo(SourceFile:6)
11-27 09:22:46.346  7523  8026 E AndroidRuntime:        at com.google.android.gms.common.internal.BaseGmsClient$b.handleMessage(SourceFile:35)
11-27 09:22:46.346  7523  8026 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:107)
11-27 09:22:46.346  7523  8026 E AndroidRuntime:        at com.google.android.gms.internal.common.zze.dispatchMessage(SourceFile:1)
11-27 09:22:46.346  7523  8026 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:214)
11-27 09:22:46.346  7523  8026 E AndroidRuntime:        at android.os.HandlerThread.run(HandlerThread.java:67)

@mar-v-in : are there any plans to fix this next? I can test intermediate apk if one request.

I also installed the newest Gmscore and updated all microg components, still have the same error : https://del.dog/atherupeze.txt

I can't reproduce this anymore after a83b677f469204b5b1714912cca2274917e6af6a. Can you try with https://microg.org/dl/core-nightly.apk?

I can't reproduce this anymore after a83b677. Can you try with https://microg.org/dl/core-nightly.apk?

It works ! Apparently the issue that made Onedrive crash is now fixed in nightly. Onedrive fully works and push notifications are working. Thanks ! I will stay with the nightly until it is fixed in release.

Installed https://microg.org/dl/core-nightly.apk now, OneDrive is starting again (no reboot required) => THANK YOU VERY MUCH!!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

n76 picture n76  路  6Comments

cRaZy-bisCuiT picture cRaZy-bisCuiT  路  4Comments

0pLuS0 picture 0pLuS0  路  4Comments

Riamse picture Riamse  路  5Comments

dos1 picture dos1  路  4Comments