Open michaeltroger opened 6 months ago
Describe the bug Quickly scrolling up and down in large PDF (20+ pages) causes app crash in barcode reader (native code). But only in debug builds
To Reproduce Steps to reproduce the behavior:
Expected behavior App should not crash
Screenshots x
Smartphone (please complete the following information):
Additional context
java_vm_ext.cc:591] JNI DETECTED ERROR IN APPLICATION: JNI GetLongField called with pending exception java.lang.RuntimeException: vector java_vm_ext.cc:591] at java.util.List de.markusfisch.android.zxingcpp.ZxingCpp.readBitmap(android.graphics.Bitmap, int, int, int, int, int, de.markusfisch.android.zxingcpp.ZxingCpp$ReaderOptions) (ZxingCpp.kt:-2) java_vm_ext.cc:591] at java.util.List de.markusfisch.android.zxingcpp.ZxingCpp.readBitmap(android.graphics.Bitmap, android.graphics.Rect, int, de.markusfisch.android.zxingcpp.ZxingCpp$ReaderOptions) (ZxingCpp.kt:182) java_vm_ext.cc:591] at java.lang.Object com.michaeltroger.gruenerpass.barcode.BarcodeRendererImpl$extractBarcode$2.invokeSuspend(java.lang.Object) (BarcodeRenderer.kt:58)
Describe the bug Quickly scrolling up and down in large PDF (20+ pages) causes app crash in barcode reader (native code). But only in debug builds
To Reproduce Steps to reproduce the behavior:
Expected behavior App should not crash
Screenshots x
Smartphone (please complete the following information):
Additional context