Title: [macOS] App crashes (SIGABRT in Metal texture validation) when deleting a message
Environment
Telegram for macOS 12.10 (282985), direct download version (Sparkle)
macOS 27.0.1 (26A434)
MacBook Pro, Apple M4 (Mac16,1), 16 GB RAM
External display: C34CHR ultrawide, 5504 x 2304, set as main display
Steps to reproduce
Open any chat.
Delete a message (for me or for everyone).
Expected result
The message is deleted and the delete animation plays.
Actual result
The app crashes immediately with EXC_CRASH (SIGABRT), "Abort trap: 6".
Crash details
The crash happens on the main thread during a Core Animation commit.
Telegram code creates a Metal texture, and Metal's descriptor validation
fails and aborts the process:
Possible cause
The crash seems related to the message deletion ("dust") effect, which is
rendered with Metal. The texture descriptor may have an invalid size
(zero, or larger than the GPU limit), possibly because of the large
ultrawide display resolution or a change in Metal behavior on macOS 27.
The full crash report is attached.
Steps to reproduce
Steps to reproduce
0. Open the Telegram App on the large monitor (my monitor is 21:9 2k)
Open any chat.
Delete a message (for me or for everyone).
Device info
Telegram macOS 12.10 (282985) STABLE, MacBook Pro M4, 27.0.1