To Reproduce
Steps to reproduce the behavior:
- Open app
- Click on 'Scan'
- Navigate away from app
- Wait awhile
- App has crashed/stopped scanning
Smartphone (please complete the following information):
- Device: Pixel 9a
- OS: Android 16 GrapheneOS
- App version v0.32.1-beta
Additional context
I can also make it crash by clicking a variety of buttons, for example "Clear locations history".
Crash log
type: crash
osVersion: google/tegu/tegu:16/BP4A.260205.001/2026050901:user/release-keys
flags: dev options enabled
package: f.cking.software:1708536381, targetSdk 36
process: f.cking.software
processUptime: 20328 + 296 ms
installer: org.fdroid.fdroid
java.lang.OutOfMemoryError: Failed to allocate a 8 byte allocation with 74704 free bytes and 72KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC.
at h1.i2.<init>(r8-map-id-0b02ab437ed4b0da295d8e3921ef68e4d555267bf8d626d07b91adee0c5b8088:13)
at h1.t.v(r8-map-id-0b02ab437ed4b0da295d8e3921ef68e4d555267bf8d626d07b91adee0c5b8088:3)
at h1.t.n(r8-map-id-0b02ab437ed4b0da295d8e3921ef68e4d555267bf8d626d07b91adee0c5b8088:150)
at h1.z.z(r8-map-id-0b02ab437ed4b0da295d8e3921ef68e4d555267bf8d626d07b91adee0c5b8088:74)
at h1.b2.D(r8-map-id-0b02ab437ed4b0da295d8e3921ef68e4d555267bf8d626d07b91adee0c5b8088:105)
at h1.z1.i(r8-map-id-0b02ab437ed4b0da295d8e3921ef68e4d555267bf8d626d07b91adee0c5b8088:594)
at s2.v0.doFrame(r8-map-id-0b02ab437ed4b0da295d8e3921ef68e4d555267bf8d626d07b91adee0c5b8088:7)
at s2.t0.doFrame(r8-map-id-0b02ab437ed4b0da295d8e3921ef68e4d555267bf8d626d07b91adee0c5b8088:48)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1628)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1639)
at android.view.Choreographer.doCallbacks(Choreographer.java:1235)
at android.view.Choreographer.doFrame(Choreographer.java:1160)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1613)
at android.os.Handler.handleCallback(Handler.java:1070)
at android.os.Handler.dispatchMessage(Handler.java:125)
at android.os.Looper.dispatchMessage(Looper.java:333)
at android.os.Looper.loopOnce(Looper.java:263)
at android.os.Looper.loop(Looper.java:367)
at android.app.ActivityThread.main(ActivityThread.java:9332)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837)
Suppressed: na.f: [h1.m1@e73ccbb, s2.v1@35155d8, s1{Cancelling}@ed98d31, u0@8c3c16]
To Reproduce
Steps to reproduce the behavior:
Smartphone (please complete the following information):
Additional context
I can also make it crash by clicking a variety of buttons, for example "Clear locations history".
Crash log