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

[ANR] in InstrumentUtility getInstrumentReportDir #1220

Open
5 tasks done
marcotta opened this issue Nov 2, 2023 · 0 comments
Open
5 tasks done

[ANR] in InstrumentUtility getInstrumentReportDir #1220

marcotta opened this issue Nov 2, 2023 · 0 comments

Comments

@marcotta
Copy link

marcotta commented Nov 2, 2023

Checklist before submitting a bug report

Java version

openjdk version "20.0.1" 2023-04-18

Android version

API 33

Android SDK version

16.1.3

Installation platform & version

Gradle 7.2.0

Package

Other / I don't know

Goals

Exclude ANR
InstrumentUtility.kt:331
com.facebook.internal.instrument.InstrumentUtility.getInstrumentReportDir

Expected results

Exclude ANR
InstrumentUtility.kt:331
com.facebook.internal.instrument.InstrumentUtility.getInstrumentReportDir

Actual results

ANR
InstrumentUtility.kt:331
com.facebook.internal.instrument.InstrumentUtility.getInstrumentReportDir

Steps to reproduce

Unfortunately I am unable to reproduce it locally and I have found reports on Crashlytics

Screenshot 2023-11-02 at 09 29 06

Code samples & details

main (native):tid=1 systid=16210 
#00 pc 0x870dc libc.so (syscall + 28) (BuildId: ae97b4676db8ce3f620ba6bf7932eba6)
#01 pc 0x23746c libart.so (art::ConditionVariable::WaitHoldingLocks + 140) (BuildId: 4cfdaa9e5146c43e20ae36ee1caf9b7f)
#02 pc 0x4682a8 libart.so (artJniMethodEnd + 336) (BuildId: 4cfdaa9e5146c43e20ae36ee1caf9b7f)
#03 pc 0x5c247c libart.so (art_jni_method_end + 12) (BuildId: 4cfdaa9e5146c43e20ae36ee1caf9b7f)
       at libcore.io.Linux.access(Native method)
       at libcore.io.ForwardingOs.access(ForwardingOs.java:128)
       at libcore.io.BlockGuardOs.access(BlockGuardOs.java:76)
       at libcore.io.ForwardingOs.access(ForwardingOs.java:128)
       at android.app.ActivityThread$AndroidOs.access(ActivityThread.java:8610)
       at java.io.UnixFileSystem.checkAccess(UnixFileSystem.java:313)
       at java.io.File.exists(File.java:813)
       at com.facebook.internal.instrument.InstrumentUtility.getInstrumentReportDir(InstrumentUtility.kt:331)
       at com.facebook.internal.instrument.InstrumentUtility.listExceptionReportFiles(InstrumentUtility.kt:203)
       at com.facebook.internal.instrument.crashreport.CrashHandler$Companion.sendExceptionReports(CrashHandler.kt:63)
       at com.facebook.internal.instrument.crashreport.CrashHandler$Companion.enable(CrashHandler.kt:43)
       at com.facebook.internal.instrument.InstrumentManager.start$lambda-0(InstrumentManager.kt:35)
       at com.facebook.internal.FeatureManager$checkFeature$1.onCompleted(FeatureManager.kt:30)
       at com.facebook.internal.FetchedAppGateKeepersManager.pollCallbacks$lambda-1(FetchedAppGateKeepersManager.kt:121)
       at android.os.Handler.handleCallback(Handler.java:942)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8757)
       at java.lang.reflect.Method.invoke(Native method)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant