Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant