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

Array Index Out of Bounds ( SDK 4.3.1 ) #627

Closed
senkir opened this issue Aug 19, 2019 · 4 comments
Closed

Array Index Out of Bounds ( SDK 4.3.1 ) #627

senkir opened this issue Aug 19, 2019 · 4 comments

Comments

@senkir
Copy link

senkir commented Aug 19, 2019

java.lang.ArrayIndexOutOfBoundsException: at java.util.Arrays.checkOffsetAndCount (Arrays.java:135) at libcore.io.IoBridge.read (IoBridge.java:496) at java.io.RandomAccessFile.readBytes (RandomAccessFile.java:385) at java.io.RandomAccessFile.read (RandomAccessFile.java:414) at java.io.RandomAccessFile.readFully (RandomAccessFile.java:473) at com.segment.analytics.QueueFile.ringRead (QueueFile.java:268) at com.segment.analytics.QueueFile.readElement (QueueFile.java:181) at com.segment.analytics.QueueFile.readHeader (QueueFile.java:159) at com.segment.analytics.QueueFile.<init> (QueueFile.java:118) at com.segment.analytics.SegmentIntegration.createQueueFile (SegmentIntegration.java:134) at com.segment.analytics.SegmentIntegration.create (SegmentIntegration.java:160) at com.segment.analytics.SegmentIntegration$1.create (SegmentIntegration.java:51) at com.segment.analytics.Analytics.performInitializeIntegrations (Analytics.java:1448) at com.segment.analytics.Analytics$2$1.run (Analytics.java:276) at android.os.Handler.handleCallback (Handler.java:873) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loop (Looper.java:280) at android.app.ActivityThread.main (ActivityThread.java:6706) at java.lang.reflect.Method.invoke (Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)

Seeing the above crash in our error tracker.
appears to only occur on Android 9 for a variety of devices.

At this time I don't have local repro steps.

@mohitagarwal
Copy link

👍 getting the same crash, this is the top crash in our app

@J-Mendes
Copy link

👍 Same here

@senkir
Copy link
Author

senkir commented Jan 15, 2020

This also presents as an IOBridge error in newrelic.

IoBridge.java line 496 in libcore.io.IoBridge.read()

Randomly spikes our boards with around 100 crashes for few users ( ~ 4 )

@aultimus
Copy link
Contributor

Hi, could you please try release 4.5.0-beta.2 which should address this issue. I am closing this issue, please re-open if the problem persists

https://github.com/segmentio/analytics-android/releases/tag/4.5.0-beta.2

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

No branches or pull requests

4 participants