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

Element freezes after receiving a long voice message #27043

Closed
crisukbot opened this issue Feb 20, 2024 · 10 comments
Closed

Element freezes after receiving a long voice message #27043

crisukbot opened this issue Feb 20, 2024 · 10 comments
Labels

Comments

@crisukbot
Copy link

crisukbot commented Feb 20, 2024

Steps to reproduce

  1. Where are you starting? What can you see? element desktop starts to freeze after receiving a voice message for 10 minutes.
  2. What do you click? I receive a 10-minute voice message, I play it and the element freezes.
  3. More steps…

Outcome

What did you expect?

element desktop will respond normally to the following voice messages

What happened instead?

element desktop starts to freeze after receiving a voice message for 10 minutes.

Operating system

MacOS 14.3.1

Application version

Версія Element: 1.11.58 Crypto version: Rust SDK 0.7.0 (691ec63), Vodozemac 0.5.0

How did you install the app?

element.io

Homeserver

noleron.com

Will you send logs?

No

@crisukbot
Copy link
Author

after opening a dialog, where a voice message is left for 10 minutes, the element freezes and displays a white screen, only a restart and a quick click on another user helps to restore functionality.

@crisukbot
Copy link
Author

element-web has the same problem.

@t3chguy t3chguy transferred this issue from element-hq/element-desktop Feb 21, 2024
@dbkr
Copy link
Member

dbkr commented Feb 26, 2024

I'm not sure I under stand the "for 10 minutes" here. What does this refer to? The voice message is 10 minutes long? Or it freezes and then recovers after 10 minutes?

@dbkr dbkr added the X-Needs-Info This issue is blocked awaiting information from the reporter label Feb 26, 2024
@crisukbot
Copy link
Author

I'm not sure I under stand the "for 10 minutes" here. What does this refer to? The voice message is 10 minutes long? Or it freezes and then recovers after 10 minutes?

A 10-minute voice message. Element sees it, downloads it, and then freezes. After about a minute, the element is replaced by a white screen, and the application becomes unusable until it is restarted.

@crisukbot
Copy link
Author

I'm not sure I under stand the "for 10 minutes" here. What does this refer to? The voice message is 10 minutes long? Or it freezes and then recovers after 10 minutes?

A 10-minute voice message. Element sees it, downloads it, and then freezes. After about a minute, the element is replaced by a white screen, and the application becomes unusable until it is restarted.

I don't really understand how it works, maybe it can't analyze the voice message properly, because now that dialogue opens normally, if I don't scroll to that voice message.

@crisukbot
Copy link
Author

I'm not sure I under stand the "for 10 minutes" here. What does this refer to? The voice message is 10 minutes long? Or it freezes and then recovers after 10 minutes?

A 10-minute voice message. Element sees it, downloads it, and then freezes. After about a minute, the element is replaced by a white screen, and the application becomes unusable until it is restarted.

I don't really understand how it works, maybe it can't analyze the voice message properly, because now that dialogue opens normally, if I don't scroll to that voice message.

Here's the interesting thing: Element crashes even when a voice message is 3-6 minutes long.

@crisukbot
Copy link
Author

As I understand now, it crashes not from the length of voice messages, but from their quantity. I was sent more than five voice messages, I try to listen to them, Element Desktop freezes and a white screen appears.

@DoM1niC
Copy link

DoM1niC commented Mar 18, 2024

The Problem is not the Desktop App but the Element Web have a Memory problem with Voice Messages and fill the RAM and crash the Browser or Electron Apps for me since the Voice Messages exist, If I have multiple huge Voice Messages in my Timeline, Browsers can be crashing.

@richvdh richvdh removed the X-Needs-Info This issue is blocked awaiting information from the reporter label Apr 3, 2024
@richvdh richvdh changed the title element desktop starts to freeze after receiving a voice message for 10 minutes. Element freezes after receiving a long voice message Apr 3, 2024
@qupig
Copy link

qupig commented Apr 4, 2024

I also encountered similar troubles. When I opened a room with a lot of audio messages, I could observe that the memory usage of the Element Helper (Renderer) process quickly increased to 5GB+, and it was very easy to crash.

Then we got an inoperable "white screen" interface, with no way to continue using it except to exit and restart.

@t3chguy
Copy link
Member

t3chguy commented Apr 8, 2024

Same cause as #26239

@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants