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

Crash happens in com.facebook.internal.InstallReferrerUtil #817

Closed
xiaoqian0408 opened this issue Aug 20, 2020 · 11 comments
Closed

Crash happens in com.facebook.internal.InstallReferrerUtil #817

xiaoqian0408 opened this issue Aug 20, 2020 · 11 comments
Labels

Comments

@xiaoqian0408
Copy link

Hi,
we just rolled out our release with facebook sdk 7.1.0, and a crash was reported

Fatal Exception: java.lang.SecurityException
Binder invocation to an incorrect interface
android.os.Parcel.createException (Parcel.java:1950)
android.os.Parcel.readException (Parcel.java:1918)
android.os.Parcel.readException (Parcel.java:1868)
com.google.android.a.a.a (a.java:6)
com.google.android.finsky.externalreferrer.IGetInstallReferrerService$Stub$Proxy.a (IGetInstallReferrerService.java:4)
com.android.installreferrer.api.InstallReferrerClientImpl.getInstallReferrer (InstallReferrerClientImpl.java:9)
com.facebook.internal.InstallReferrerUtil$1.onInstallReferrerSetupFinished (InstallReferrerUtil.java:58)
com.android.installreferrer.api.InstallReferrerClientImpl$InstallReferrerServiceConnection.onServiceConnected (InstallReferrerClientImpl.java:7)
android.app.LoadedApk$ServiceDispatcher.doConnected (LoadedApk.java:1730)
android.app.LoadedApk$ServiceDispatcher$RunConnection.run (LoadedApk.java:1762)
android.os.Handler.handleCallback (Handler.java:873)
android.os.Handler.dispatchMessage (Handler.java:99)
android.os.Looper.loop (Looper.java:193)
android.app.ActivityThread.main (ActivityThread.java:6718)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)

It appears something wrong happened inside com.facebook.internal.InstallReferrerUtil.

I'm not able to reproduce it since it's reported by firebase, and happened on a few user devices.

please take a look, thanks.

@sankarsana
Copy link

I have the same crash on android app. But facebook sdk 6.1.0.

Fatal Exception: java.lang.SecurityException: Binder invocation to an incorrect interface at android.os.Parcel.createException(Parcel.java:2088) at android.os.Parcel.readException(Parcel.java:2056) at android.os.Parcel.readException(Parcel.java:2004) at com.google.android.a.a.a(a.java:11) at com.google.android.finsky.externalreferrer.IGetInstallReferrerService$Stub$Proxy.a(IGetInstallReferrerService.java:7) at com.android.installreferrer.api.InstallReferrerClientImpl.getInstallReferrer(InstallReferrerClientImpl.java:26) at com.facebook.internal.InstallReferrerUtil$1.onInstallReferrerSetupFinished(InstallReferrerUtil.java:12) at com.android.installreferrer.api.InstallReferrerClientImpl$InstallReferrerServiceConnection.onServiceConnected(InstallReferrerClientImpl.java:25) at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2067) at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2099) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:237) at android.app.ActivityThread.main(ActivityThread.java:8129) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)

And i'm not able to reproduce too.

@rbarinov
Copy link

rbarinov commented Sep 8, 2020

walkaround:

add -keep class com.google.android.** { *; } to proguard rules to fix it

@stale
Copy link

stale bot commented Dec 19, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Dec 19, 2020
@xiaoqian0408
Copy link
Author

xiaoqian0408 commented Dec 21, 2020 via email

@shaileshmota
Copy link

Hey Hey!

We using version : 8.1.0 and notice crash reports :

Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'boolean psb.e()' on a null object reference
       at android.os.Parcel.createExceptionOrNull(Parcel.java:2391)
       at android.os.Parcel.createException(Parcel.java:2369)
       at android.os.Parcel.readException(Parcel.java:2352)
       at android.os.Parcel.readException(Parcel.java:2294)
       at com.google.android.a.a.a(a.java:5)
       at com.google.android.finsky.externalreferrer.IGetInstallReferrerService$Stub$Proxy.a(IGetInstallReferrerService.java:4)
       at com.android.installreferrer.api.InstallReferrerClientImpl.getInstallReferrer(InstallReferrerClientImpl.java:4)
       at com.facebook.internal.InstallReferrerUtil$1.onInstallReferrerSetupFinished(InstallReferrerUtil.java:35)
       at com.android.installreferrer.api.InstallReferrerClientImpl$InstallReferrerServiceConnection.onServiceConnected(InstallReferrerClientImpl.java:5)
       at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2084)
       at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2116)

Can we get an update if the issue fixed on latest versions or still a WIP ?
(Definitely not a stale issue)

@stale stale bot removed the Stale label Apr 30, 2021
@arindamxd
Copy link

The same crash occurred for me in 7.0.1

Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'boolean pps.e()' on a null object reference
      at android.os.Parcel.createException(Parcel.java:1959)
      at android.os.Parcel.readException(Parcel.java:1921)
      at android.os.Parcel.readException(Parcel.java:1871)
      at com.google.android.finsky.externalreferrer.IGetInstallReferrerService$Stub$Proxy.getInstallReferrer(IGetInstallReferrerService.java:118)
      at com.android.installreferrer.api.InstallReferrerClientImpl.getInstallReferrer(InstallReferrerClientImpl.java:187)
      at com.facebook.internal.InstallReferrerUtil$1.onInstallReferrerSetupFinished(InstallReferrerUtil.java:58)
      at com.android.installreferrer.api.InstallReferrerClientImpl$InstallReferrerServiceConnection.onServiceConnected(InstallReferrerClientImpl.java:222)
      at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1738)
      at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1770)
      at android.os.Handler.handleCallback(Handler.java:873)
      at android.os.Handler.dispatchMessage(Handler.java:99)
      at android.os.Looper.loop(Looper.java:201)
      at android.app.ActivityThread.main(ActivityThread.java:6820)
      at java.lang.reflect.Method.invoke(Method.java)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:922)

any solution?

@AlfonChitoSalano
Copy link

im getting this issue as well using 7.1.0 version

@hatimmts
Copy link

Me too, Screenshot_2021-05-21-23-36-06-360_com.google.android.apps.playconsole.jpg

@github-actions
Copy link

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Oct 14, 2021
@github-actions
Copy link

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@mainhc
Copy link

mainhc commented Oct 30, 2023

0
ANR_EXCEPTION: ANR Input dispatching timed out (b995032 com.moengames.svl/org.cocos2dx.javascript.AppActivity (server) is not responding. Waited 5002ms for MotionEvent(action=UP))
1
android.os.BinderProxy.transactNative(Native Method)
2
android.os.BinderProxy.transact(BinderProxy.java:646)
3
com.google.android.a.a.b(a.java:2)
4
com.google.android.finsky.externalreferrer.IGetInstallReferrerService$Stub$Proxy.c(IGetInstallReferrerService.java:3)
5
com.android.installreferrer.api.InstallReferrerClientImpl.getInstallReferrer(InstallReferrerClientImpl.java:5)
6
com.facebook.internal.InstallReferrerUtil$tryConnectReferrerInfo$installReferrerStateListener$1.onInstallReferrerSetupFinished(InstallReferrerUtil.java:53)
7
com.android.installreferrer.api.InstallReferrerClientImpl$InstallReferrerServiceConnection.onServiceConnected(InstallReferrerClientImpl.java:4)
8
android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2251)
9
android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2284)
10
android.os.Handler.handleCallback(Handler.java:942)
11
android.os.Handler.dispatchMessage(Handler.java:99)
12
android.os.Looper.loopOnce(Looper.java:211)
13
android.os.Looper.loop(Looper.java:300)
14
android.app.ActivityThread.main(ActivityThread.java:8294)
15
java.lang.reflect.Method.invoke(Native Method)
16
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
17
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants