App (beta) crashes instantly after start

App version: x.y.z (state whether from Google Play/F-Droid/Custom built APK)
2.4.0-beta2 (ec8632ab0)

Android version: 5.x (Please mention if you are using a custom rom!)
5.1.1

Device model:
SM-T280
Expected behaviour:
Play podcasts and download feeds

Current behaviour:
Crashes mostly right after start, or when changing between tabs.

First occurred: (e.g. about x days/weeks ago)
About 5 days ago. Right after las update.

Steps to reproduce:

  1. Start app
  2. Wait
  3. Watch crash

Environment: (Settings you have changed (e.g. Auto Download). “Unusual” devices you use (e.g. Bluetooth headphones). Did you select another media player?)
None

Stacktrace/Logcat:

[if available]

Welcome to the forum and thanks for reporting this. Does the app crash only after a few seconds and is that enough time to go to the settings screen » Report bug » Copy to clipboard? Could you please post the text from the “report bug” screen? If the app closes too quickly, it should also create a file on /sdcard/Android/data/de.danoeh.antennapod/files/crash-report.log with the same text.

Thanks for the quick reaction! <3

Yes:

Environment

Android version: 5.1.1
OS version: 3.10.65-10429622
AntennaPod version: 2.4.0-beta2
Model: SM-T280
Device: gtexswifi
Product: gtexswifixx

Crash info

Time: 27-09-2021 16:57:47
AntennaPod version: 2.4.0-beta2

StackTrace

java.lang.OutOfMemoryError: Failed to allocate a 9000012 byte allocation with 7338474 free bytes and 6MB until OOM
	at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
	at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
	at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:863)
	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:839)
	at de.danoeh.antennapod.core.glide.ResizingOkHttpStreamFetcher$1.onDataReady(SourceFile:76)
	at de.danoeh.antennapod.core.glide.ResizingOkHttpStreamFetcher$1.onDataReady(SourceFile:38)
	at com.bumptech.glide.integration.okhttp3.OkHttpStreamFetcher.onResponse(SourceFile:71)
	at okhttp3.RealCall$AsyncCall.execute(SourceFile:203)
	at okhttp3.internal.NamedRunnable.run(SourceFile:32)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:818)

Here’s another one:

Environment

Android version: 5.1.1
OS version: 3.10.65-10429622
AntennaPod version: 2.4.0-beta2
Model: SM-T280
Device: gtexswifi
Product: gtexswifixx

Crash info

Time: 27-09-2021 18:42:07
AntennaPod version: 2.4.0-beta2

StackTrace

java.lang.OutOfMemoryError: Failed to allocate a 36000012 byte allocation with 16777120 free bytes and 16MB until OOM
	at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
	at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
	at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:863)
	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:839)
	at de.danoeh.antennapod.core.glide.ResizingOkHttpStreamFetcher$1.onDataReady(SourceFile:76)
	at de.danoeh.antennapod.core.glide.ResizingOkHttpStreamFetcher$1.onDataReady(SourceFile:38)
	at com.bumptech.glide.integration.okhttp3.OkHttpStreamFetcher.onResponse(SourceFile:71)
	at okhttp3.RealCall$AsyncCall.execute(SourceFile:203)
	at okhttp3.internal.NamedRunnable.run(SourceFile:32)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:818)

Oh no! I know where this comes from and will think about how it can be fixed before the beta is released officially.

2 Likes

Dickes Herzchen, bruh! <3 <3 <3

1 Like

@Lutzenplotz Did you try 2.4.0-beta3? Does it still crash on your device?