Skip to content
New issue

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

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

Already on GitHub? # to your account

Crashing when opening chats - Solved by phone restart #13837

Open
3 tasks done
arnolicious opened this issue Dec 12, 2024 · 1 comment
Open
3 tasks done

Crashing when opening chats - Solved by phone restart #13837

arnolicious opened this issue Dec 12, 2024 · 1 comment

Comments

@arnolicious
Copy link

Guidelines

  • I have searched searched open and closed issues for duplicates
  • I am submitting a bug report for existing functionality that does not work as intended
  • This isn't a feature request or a discussion topic

Bug description

I encountered this problem today for a few hours:
Seemingly out of nowhere, I could not open any conversation without the app freezing and crashing.

Even uninstalling, reinstalling, installing the Beta Version did not help.

In the end, the old "have you tried turning it on and off again" did help, and it seems fine again now, but I thought since I do have the logs, it might be worth to take a look at, in case it's an easy fix

Screenshots

No response

Device

Pixel 7

Android version

Android 15

Signal version

7.27.1

Link to debug log

https://debuglogs.org/android/7.27.1/1faa537f720286a02218c1a2716befe13c56d2d2d5eea7152193f5b3ddf6d904

@Sagar0-0
Copy link

I have done some deep dive into the issue and one possible issue might be...
In line 201 of SimpleExoPLayerPool

MAXIMUM_SUPPORTED_PLAYBACK_PRE_23_LOW_MEM(3) - MAXIMUM_RESERVED_PLAYERS (1)

will give maxUnreserved players to be 2
and then In GiphyMp4PlaybackPolicy

  public static int maxSimultaneousPlaybackInConversation() {
    return AppDependencies.getExoPlayerPool().getPoolStats().getMaxUnreserved() / 3;
  } 2/3 = 0

This returns 0 to the maxPlayback of ConversationFragment.

Although I am not sure if empty Lists in GiphyMp4ProjectionRecycler matters or not. But, this information can help other Engineers to have a look.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

2 participants