Skip to content

(short issue description) #1331

@utsavjain-winzo

Description

@utsavjain-winzo

Describe the bug

Getting ANR in InstallReferrersKt SourceFile - com.google.android.a.a.ywlqE (Slow binder call)

Stack trace:

#00  pc 0x00000000000f055c  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+12)
  #01  pc 0x00000000000a7204  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+160)
  #02  pc 0x00000000000623ec  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver+284)
  #03  pc 0x00000000000637fc  /system/lib64/libbinder.so (android::IPCThreadState::waitForResponse+64)
  #04  pc 0x000000000006352c  /system/lib64/libbinder.so (android::IPCThreadState::transact+224)
  #05  pc 0x000000000007bd98  /system/lib64/libbinder.so (android::BpBinder::transact+304)
  #06  pc 0x00000000001a4834  /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact+400)
  at android.os.BinderProxy.transactNative (Native method)
This Binder call may be taking too long, causing the main thread to wait, and triggering the ANR. [Learn more](https://developer.android.com/topic/performance/anrs/find-unresponsive-thread#slow-binder)

  at android.os.BinderProxy.transact (BinderProxy.java:685)
  at com.google.android.a.a.ywlqE (SourceFile:9)
  at com.google.android.finsky.externalreferrer.IGetInstallReferrerService$Stub$Proxy.gA64zjj (SourceFile:8)
  at com.android.installreferrer.api.InstallReferrerClientImpl.getInstallReferrer (SourceFile:27)
  at io.branch.coroutines.InstallReferrersKt$getGooglePlayStoreReferrerDetails$2$1.onInstallReferrerSetupFinished (SourceFile:28)
  at com.android.installreferrer.api.InstallReferrerClientImpl$InstallReferrerServiceConnection.onServiceConnected (SourceFile:26)

Steps to reproduce

1.Installing a branch enabled app via google install referral
2.
3.

Expected behavior

No ANR

SDK Version

5.15.0

Make and Model

All

OS

11

Additional Information/Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions