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

ThrowingCancelableFileSourceProvider crash #2382

Closed
adamstrange opened this issue May 10, 2022 · 1 comment · Fixed by #2444
Closed

ThrowingCancelableFileSourceProvider crash #2382

adamstrange opened this issue May 10, 2022 · 1 comment · Fixed by #2444
Milestone

Comments

@adamstrange
Copy link

adamstrange commented May 10, 2022

Description

We're receiving crashlytics reports on Samsung devices following updating from version 2.8.1 to 2.9.1

Version Information

  • LeakCanary version: 2.9.1
  • Android OS version: 11/12
  • Gradle version: 7.2

Additional Information

Fatal Exception: java.io.IOException
close failed: EACCES (Permission denied)
libcore.io.IoBridge.closeAndSignalBlockedThreads (IoBridge.java:315)

java.nio.channels.spi.AbstractInterruptibleChannel.close (AbstractInterruptibleChannel.java:116)
shark.ThrowingCancelableFileSourceProvider$openRandomAccessSource$1.close (ThrowingCancelableFileSourceProvider.kt:43)
shark.ConstantMemoryMetricsDualSourceProvider$openRandomAccessSource$1.close (ConstantMemoryMetricsDualSourceProvider.kt:63)
shark.RandomAccessHprofReader.close (RandomAccessHprofReader.kt:51)
shark.HprofHeapGraph.close (HprofHeapGraph.kt:230)
kotlin.io.CloseableKt.closeFinally (Closeable.kt:57)
leakcanary.internal.AndroidDebugHeapAnalyzer.analyzeHeap (AndroidDebugHeapAnalyzer.kt:155)
leakcanary.internal.AndroidDebugHeapAnalyzer.runAnalysisBlocking (AndroidDebugHeapAnalyzer.kt:59)
leakcanary.internal.AndroidDebugHeapAnalyzer.runAnalysisBlocking$default (AndroidDebugHeapAnalyzer.kt:46)
leakcanary.BackgroundThreadHeapAnalyzer$onEvent$1.run (BackgroundThreadHeapAnalyzer.kt:24)
@pyricau
Copy link
Member

pyricau commented May 18, 2022

Interesting, looks like we're failing to close? I wonder what could possibly have changed in 2.9

pyricau added a commit that referenced this issue Nov 11, 2022
@pyricau pyricau added this to the 2.10 milestone Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants