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

MacOS client crashes when specific MOV video appears #2978

Open
2 of 5 tasks
dusatvoj opened this issue Dec 30, 2024 · 1 comment
Open
2 of 5 tasks

MacOS client crashes when specific MOV video appears #2978

dusatvoj opened this issue Dec 30, 2024 · 1 comment

Comments

@dusatvoj
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Operating System

  • macOS
  • Windows
  • Linux

Operating System Version

13.3.1

It happens on the web browser too?

No, it just happens on the Desktop app

Rocket.Chat Desktop App Version

4.1.2

Rocket.Chat Server Version

6.13.1

Describe the bug

When one of my colleague sent MOV video from her iphone to #general chat, many another colleagues went with Electron RC into gray screen and nothing worked ...
image

It's not the first time when this issue happens. Blind clicking to the left bar work as workaround - you will escape the problematic chat and issue with rendering disappears. When you click back to problematic chat, you go back to gray screen or app crash (depends on GPU acceleration, etc.)

MOV details (ffmpeg info):

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IMG_6764.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : XXX
    com.apple.quicktime.location.accuracy.horizontal: 5.300079
    com.apple.quicktime.cinematic-video: 
    com.apple.quicktime.location.ISO6709: XXX
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: iPhone 13
    com.apple.quicktime.software: 16.3.1
    com.apple.quicktime.creationdate: XXX
  Duration: 00:00:09.23, start: 0.000000, bitrate: 8663 kb/s
  Stream #0:0[0x1](und): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, bt2020nc/bt2020/arib-std-b67), 1920x1080, 8461 kb/s, 30.01 fps, 30 tbr, 600 tbn (default)
      Metadata:
        creation_time   : XXX
        handler_name    : Core Media Video
        vendor_id       : [0][0][0][0]
        encoder         : HEVC
      Side data:
        DOVI configuration record: version: 1.0, profile: 8, level: 4, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 4, compression: 0
        displaymatrix: rotation of -90.00 degrees
        Ambient Viewing Environment, ambient_illuminance=314.000000, ambient_light_x=0.312700, ambient_light_y=0.329000
  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 193 kb/s (default)
      Metadata:
        creation_time   : XXX
        handler_name    : Core Media Audio
        vendor_id       : [0][0][0][0]

How to Reproduce

  1. Send MOV from iPhone as described above.
  2. Open the chat at MacOS client
  3. See gray screen

Describe your Expected behavior

Working RC even with the video in chat

Anything else

No response

Are you willing to submit a code contribution?

  • Yes, I am willing to submit a Pull Request!
@jeanfbrito
Copy link
Collaborator

@dusatvoj, could you provide us with the video file that is breaking the app? I tested with some videos from my iPhone 13 and my Galaxy S23 Ultra and had no crashes. But we already had some reports from other users, so the file would help us understand what's going on. But I can tell you that is totally related to hardware acceleration on macOS, because if you disable it on the desktop app, the crashes stops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants