Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Trying to open the menu of any post crashes the app. #982

Open
steko opened this issue Feb 19, 2024 · 0 comments
Open

Trying to open the menu of any post crashes the app. #982

steko opened this issue Feb 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@steko
Copy link

steko commented Feb 19, 2024

Describe the bug

Trying to open the menu of any post crashes the app. As soon as I click the button with three vertical dots, Megalodon crashes.

To reproduce

Steps to reproduce the behavior:

  1. Go to one post on the timeline or on detail view or profile view
  2. Click on the button with three vertical dots
  3. App crashes

Does this happen in the official app?

No (with official Mastodon app)

Screenshots and screen recordings

If applicable, add screenshots (and screen recordings, if possible) to help explain your problem.

Version

Megalodon version: 2.1.6+fork.110

Crash log

2.1.6+fork.110 (110)
2024-02-19T05:43:53.826Z

java.lang.OutOfMemoryError: Failed to allocate a 4294967312 byte allocation with 12582912 free bytes and 506MB until OOM, max allowed footprint 18203720, growth limit 536870912
	at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:69)
	at java.lang.StringBuilder.<init>(StringBuilder.java:102)
	at org.joinmastodon.android.ui.displayitems.HeaderStatusDisplayItem$Holder$$ExternalSyntheticBackport1.m(SourceFile:0)
	at org.joinmastodon.android.ui.displayitems.HeaderStatusDisplayItem$Holder.workaroundChangingMenuItemWidths(SourceFile:588)
	at org.joinmastodon.android.ui.displayitems.HeaderStatusDisplayItem$Holder.updateOptionsMenu(SourceFile:553)
	at org.joinmastodon.android.ui.displayitems.HeaderStatusDisplayItem$Holder.onMoreClick(SourceFile:449)
	at org.joinmastodon.android.ui.displayitems.HeaderStatusDisplayItem$Holder.$r8$lambda$NyKIWvRiEvNYxaDH7PuPKoatVr4(SourceFile:0)
	at org.joinmastodon.android.ui.displayitems.HeaderStatusDisplayItem$Holder$$ExternalSyntheticLambda3.onClick(SourceFile:0)
	at android.view.View.performClick(View.java:6291)
	at android.view.View$PerformClick.run(View.java:24931)
	at android.os.Handler.handleCallback(Handler.java:808)
	at android.os.Handler.dispatchMessage(Handler.java:101)
	at android.os.Looper.loop(Looper.java:166)
	at android.app.ActivityThread.main(ActivityThread.java:7529)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
@steko steko added the bug Something isn't working label Feb 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant