Android6 not updating index: IllegalArgumentException: Bad position (limit 105): -16174
- Device OS and version: Samsung Android 6.0.1 stock
- F-Droid version (in the About screen): 1.23.0-alpha0-149-g6592cf388-debug
- F-Droid privileged extension version (if installed): nope
What did you do? (clear steps if possible)
Try to update index
What did you expect to see?
Updated index
What did you see instead?
Downloads the index then a toast appears. Index is not updated.
D AppInfoBase: package=org.fdroid.next
W ProcStatsManager: No process org.mozilla.fennec_fdroid:tab2/10211 for service org.mozilla.gecko.process.GeckoChildProcessServices$tab2
W ProcStatsManager: No process org.fdroid.fdroid.debug/10348 for service org.fdroid.fdroid.net.ConnectivityMonitorService
W ProcStatsManager: No process org.fdroid.fdroid.debug/10348 for service androidx.work.impl.foreground.SystemForegroundService
W ProcStatsManager: No process org.fdroid.fdroid.debug/10348 for service org.fdroid.fdroid.nearby.SDCardScannerService
W ProcStatsManager: No process org.fdroid.fdroid.debug/10348 for service androidx.work.impl.background.systemjob.SystemJobService
W ProcStatsManager: No process org.fdroid.basic.debug/10347 for service org.fdroid.fdroid.net.ConnectivityMonitorService
W ProcStatsManager: No process org.fdroid.basic.debug/10347 for service androidx.work.impl.foreground.SystemForegroundService
W ProcStatsManager: No process org.fdroid.basic.debug/10347 for service androidx.work.impl.background.systemjob.SystemJobService
W ProcStatsManager: No process org.mozilla.fennec_fdroid:tab2/10211 for service org.mozilla.gecko.process.GeckoChildProcessServices$tab2
W ProcStatsManager: No process org.fdroid.fdroid.debug/10348 for service org.fdroid.fdroid.net.ConnectivityMonitorService
W ProcStatsManager: No process org.fdroid.fdroid.debug/10348 for service androidx.work.impl.foreground.SystemForegroundService
W ProcStatsManager: No process org.fdroid.fdroid.debug/10348 for service org.fdroid.fdroid.nearby.SDCardScannerService
W ProcStatsManager: No process org.fdroid.fdroid.debug/10348 for service androidx.work.impl.background.systemjob.SystemJobService
W ProcStatsManager: No process org.fdroid.basic.debug/10347 for service org.fdroid.fdroid.net.ConnectivityMonitorService
W ProcStatsManager: No process org.fdroid.basic.debug/10347 for service androidx.work.impl.foreground.SystemForegroundService
W ProcStatsManager: No process org.fdroid.basic.debug/10347 for service androidx.work.impl.background.systemjob.SystemJobService
I AppStorageSettings: Clearing user data for package : org.fdroid.next
I ActivityManager: Force stopping org.fdroid.next appid=10006 user=0: clear data
I ActivityManager: Force stopping org.fdroid.next appid=10006 user=0: clear data
V AlarmManager: Remove alarm for next reason : android.intent.action.PACKAGE_RESTARTED : package: org.fdroid.next
V AlarmManager: Remove alarm for next reason : android.intent.action.PACKAGE_RESTARTED : package: org.fdroid.next
V AlarmManager: Remove alarm for next reason : android.intent.action.PACKAGE_DATA_CLEARED : package: org.fdroid.next
I AppStorageSettings: Cleared user data for package : org.fdroid.next
I ClearDataReceiver: [FACE] Intent Data: package:org.fdroid.next
I ActivityManager: Killing 20984:org.fdroid.basic.debug/u0a347 (adj 15): DHA:empty #37
D ActivityManager: removeProcessNameLocked mProcessNames.remove pid=20984 ,hash=21106511 ,name=org.fdroid.basic.debug
I ActivityManager: Killing 21221:org.fdroid.fdroid.debug/u0a348 (adj 15): DHA:empty #37
D ActivityManager: removeProcessNameLocked mProcessNames.remove pid=21221 ,hash=82817737 ,name=org.fdroid.fdroid.debug
D UsbSettingsManager: hasDefaults: org.fdroid.next FALSE
W ProcStatsManager: No process org.mozilla.fennec_fdroid:tab2/10211 for service org.mozilla.gecko.process.GeckoChildProcessServices$tab2
W ProcStatsManager: No process org.fdroid.fdroid.debug/10348 for service org.fdroid.fdroid.net.ConnectivityMonitorService
W ProcStatsManager: No process org.fdroid.fdroid.debug/10348 for service androidx.work.impl.foreground.SystemForegroundService
W ProcStatsManager: No process org.fdroid.fdroid.debug/10348 for service org.fdroid.fdroid.nearby.SDCardScannerService
W ProcStatsManager: No process org.fdroid.fdroid.debug/10348 for service androidx.work.impl.background.systemjob.SystemJobService
W ProcStatsManager: No process org.fdroid.basic.debug/10347 for service org.fdroid.fdroid.net.ConnectivityMonitorService
W ProcStatsManager: No process org.fdroid.basic.debug/10347 for service androidx.work.impl.foreground.SystemForegroundService
W ProcStatsManager: No process org.fdroid.basic.debug/10347 for service androidx.work.impl.background.systemjob.SystemJobService
D UsbSettingsManager: hasDefaults: org.fdroid.next FALSE
V WindowManager: addAppToken: AppWindowToken{31759b1 token=Token{2ec8458 ActivityRecord{4dca53b u0 org.fdroid.next/org.fdroid.MainActivity t709}}} to stack=1 task=709 at 0
D MountService: getExternalStorageMountMode : final mountMode=1, uid : 10006, packageName : org.fdroid.next
V WindowStateAnimator: Finishing drawing window Window{70e8de9 u0 d0 p1657 Starting org.fdroid.next}: mDrawState=DRAW_PENDING
I ActivityManager: Start proc 26754:org.fdroid.next/u0a6 for activity org.fdroid.next/org.fdroid.MainActivity
W SELinux : SELinux: seapp_context_lookup: seinfo=default, level=s0:c512,c768, pkgname=org.fdroid.next
D ActivityManager: Launching org.fdroid.next, updated priority
D GameManagerService: NotifyRunnable. pkg: org.fdroid.next, type: 4, isMinimized: false, isTunableApp: false
D GameManagerService: identifyGamePackage. org.fdroid.next
D StatusBarManagerService: manageDisableList userId=0 what=0x0 pkg=Window{70e8de9 u0 d0 p1657 Starting org.fdroid.next}
I o.f.u.IntentRouter: [main ] Incoming intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=org.fdroid.next cmp=org.fdroid.next/org.fdroid.MainActivity bnds=[40,451][136,547] }
W o.f.u.IntentRouter: [main ] Unknown intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=org.fdroid.next cmp=org.fdroid.next/org.fdroid.MainActivity bnds=[40,451][136,547] } - uri: null 23
D FDroidDatabase: Loaded fixtures
W AppSearchIcing: status-util.h:31: Error: 5, Message: Missing file: /data/user/0/org.fdroid.next/files/appsearch/schema_dir/schema.pb
W AppSearchIcing: status-util.h:31: Error: 5, Message: Missing file: /data/user/0/org.fdroid.next/files/appsearch/schema_dir/schema.pb
W AppSearchIcing: status-util.h:31: Error: 5, Message: Missing file: /data/user/0/org.fdroid.next/files/appsearch/schema_dir/schema.pb
D StatusBarManagerService: manageDisableList userId=0 what=0x0 pkg=Window{1f28946 u0 d0 p26754 org.fdroid.next/org.fdroid.MainActivity}
D libGLESv1: DTS_GLAPI : DTS is not allowed for Package : org.fdroid.next
V WindowStateAnimator: Finishing drawing window Window{1f28946 u0 d0 p26754 org.fdroid.next/org.fdroid.MainActivity}: mDrawState=DRAW_PENDING
I ActivityManager: Displayed org.fdroid.next/org.fdroid.MainActivity: +2s347ms
I Timeline: Timeline: Activity_windows_visible id: ActivityRecord{4dca53b u0 org.fdroid.next/org.fdroid.MainActivity t709} time:21179093
V WindowStateAnimator: Finishing drawing window Window{1f28946 u0 d0 p26754 org.fdroid.next/org.fdroid.MainActivity}: mDrawState=HAS_DRAWN
D WM-WorkForegroundRunnab: Updating notification for org.fdroid.repo.RepoUpdateWorker
I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=org.fdroid.next/androidx.work.impl.foreground.SystemForegroundService (has extras) }
D WM-WorkerWrapper: Starting work for org.fdroid.repo.RepoUpdateWorker
D RepoUpdateManager: Downloading https://f-droid.org/repo (2579/2579)
D RepoUpdateManager: Downloading https://f-droid.org/repo (2579/2579)
D RepoUpdateManager: Downloading https://f-droid.org/repo (65536/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (458752/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (1835008/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (2555904/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (2949120/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (4128768/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (5046272/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (6291456/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (7012352/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (7602176/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (8585216/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (9699328/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (11075584/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (12124160/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (12582912/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (13434880/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (14614528/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (15204352/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (15859712/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (16580608/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (16908288/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (19726336/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (22347776/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (24444928/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (26279936/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (28508160/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (30605312/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (32702464/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (34930688/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (36831232/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (39256064/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (41091072/42133304)
D RepoUpdateManager: Downloading https://f-droid.org/repo (42133304/42133304)
E RepoUpdateManager: Error updating repository https://f-droid.org/repo
E RepoUpdateManager: java.lang.IllegalArgumentException: Bad position (limit 105): -16174
E RepoUpdateManager: at java.nio.Buffer.positionImpl(Buffer.java:351)
E RepoUpdateManager: at java.nio.Buffer.position(Buffer.java:345)
E RepoUpdateManager: at java.nio.charset.CharsetDecoderICU.setPosition(CharsetDecoderICU.java:205)
E RepoUpdateManager: at java.nio.charset.CharsetDecoderICU.decodeLoop(CharsetDecoderICU.java:154)
E RepoUpdateManager: at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:306)
E RepoUpdateManager: at kotlinx.serialization.json.internal.CharsetReader.doRead(CharsetReader.kt:61)
E RepoUpdateManager: at kotlinx.serialization.json.internal.CharsetReader.read(CharsetReader.kt:51)
E RepoUpdateManager: at kotlinx.serialization.json.internal.JavaStreamSerialReader.read(JvmJsonStreams.kt:261)
E RepoUpdateManager: at kotlinx.serialization.json.internal.ReaderJsonLexer.preload(ReaderJsonLexer.kt:85)
E RepoUpdateManager: at kotlinx.serialization.json.internal.ReaderJsonLexer.ensureHaveChars(ReaderJsonLexer.kt:167)
E RepoUpdateManager: at kotlinx.serialization.json.internal.ReaderJsonLexer.canConsumeValue(ReaderJsonLexer.kt:59)
E RepoUpdateManager: at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex(StreamingJsonDecoder.kt:200)
E RepoUpdateManager: at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeElementIndex(StreamingJsonDecoder.kt:179)
E RepoUpdateManager: at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:34)
E RepoUpdateManager: at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
E RepoUpdateManager: at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:69)
E RepoUpdateManager: at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
E RepoUpdateManager: at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
E RepoUpdateManager: at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableElement(StreamingJsonDecoder.kt:168)
E RepoUpdateManager: at org.fdroid.index.v2.AntiFeatureV2$$serializer.deserialize(IndexV2.kt:114)
E RepoUpdateManager: at org.fdroid.index.v2.AntiFeatureV2$$serializer.deserialize(IndexV2.kt:114)
E RepoUpdateManager: at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:69)
E RepoUpdateManager: at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableValue(AbstractDecoder.kt:43)
E RepoUpdateManager: at kotlinx.serialization.encoding.AbstractDecoder.decodeSerializableElement(AbstractDecoder.kt:70)
E RepoUpdateManager: at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableElement(StreamingJsonDecoder.kt:168)
E RepoUpdateManager: at kotlinx.serialization.encoding.CompositeDecoder$-CC.decodeSerializableElement$default(Decoding.kt:539)
E RepoUpdateManager: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:111)