When I open some videos in telegram I got crash. My platform ryzen 5950x
and RTX 5070 ti. As I understood it is related with video codecs inside
telegram.
I tried to run it through terminal QT_QPA_PLATFORM=xcb telegram-desktop and got these errors in terminal:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x648721d2ec40] Packet corrupt (stream = 1, dts = 2102624).
[NULL @ 0x648721a227c0] Invalid NAL unit size (11196 > 2680).
[NULL @ 0x648721a227c0] missing picture in access unit with size 2684
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x64871d9b5040] Packet corrupt (stream = 1, dts = 2113922).
[NULL @ 0x648721d14700] Invalid NAL unit size (11468 > 2617).
[NULL @ 0x648721d14700] missing picture in access unit with size 2621
The Wayland connection experienced a fatal error: Protocol error
When I tried
QT_QPA_PLATFORM=wayland telegram-desktop
I got just a crash without log information related to it inside terminal.
Just a message:
Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
Steps to reproduce
run video in dialogue compressed with codecs related to this bug.
same thing it doesn't create crash report but I got another warning in terminal. QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter qt.gui.imageio.jpeg: ./lib/jpegli/decode_scan.cc:535: Incomplete scan detected.
mov,mp4,m4a,3gp,3g2,mj2 @ 0x55e2b5591c00] Packet corrupt (stream = 0, dts = 108000). [NULL @ 0x55e2b5590a80] Invalid NAL unit size (3367 > 65). [NULL @ 0x55e2b5590a80] missing picture in access unit with size 69 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55e2b759fc40] moov atom not found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55e2b50d9740] moov atom not found The Wayland connection experienced a fatal error: Protocol error
I found that it related to opengl option. At the same time hw acceleration creates these errors but without crash: [AVHWDeviceContext @ 0x5da867facc40] Failed to initialise VAAPI connection: -1 (unknown libva error). [AVHWDeviceContext @ 0x5da870c85980] Failed to initialise VAAPI connection: -1 (unknown libva error). [AVHWDeviceContext @ 0x5da867bdaa40] Failed to initialise VAAPI connection: -1 (unknown libva error). [AVHWDeviceContext @ 0x5da86fd3d440] Failed to initialise VAAPI connection: -1 (unknown libva error).
P
Pavel
And these options broke webview bwrap: setting up uid map: Permission denied
** (Telegram:12075): ERROR **: 13:38:33.862: Failed to fully launch dbus-proxy: Child process exited with code 1 bwrap: setting up uid map: Permission denied
** (Telegram:12117): ERROR **: 13:38:43.719: Failed to fully launch dbus-proxy: Child process exited with code 1
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
qt.gui.imageio.jpeg: ./lib/jpegli/decode_scan.cc:535: Incomplete scan detected.
[NULL @ 0x55e2b5590a80] Invalid NAL unit size (3367 > 65).
[NULL @ 0x55e2b5590a80] missing picture in access unit with size 69
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55e2b759fc40] moov atom not found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55e2b50d9740] moov atom not found
The Wayland connection experienced a fatal error: Protocol error
[AVHWDeviceContext @ 0x5da867facc40] Failed to initialise VAAPI connection: -1 (unknown libva error).
[AVHWDeviceContext @ 0x5da870c85980] Failed to initialise VAAPI connection: -1 (unknown libva error).
[AVHWDeviceContext @ 0x5da867bdaa40] Failed to initialise VAAPI connection: -1 (unknown libva error).
[AVHWDeviceContext @ 0x5da86fd3d440] Failed to initialise VAAPI connection: -1 (unknown libva error).
bwrap: setting up uid map: Permission denied
** (Telegram:12075): ERROR **: 13:38:33.862: Failed to fully launch dbus-proxy: Child process exited with code 1
bwrap: setting up uid map: Permission denied
** (Telegram:12117): ERROR **: 13:38:43.719: Failed to fully launch dbus-proxy: Child process exited with code 1