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.
$ QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5ed88ea781c0] moov atom not found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5ed88efe3a80] moov atom not found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5ed88efce500] moov atom not found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5ed88d67f280] Packet corrupt (stream = 1, dts = 229843). [NULL @ 0x5ed894741a80] Invalid NAL unit size (11052 > 3384). [NULL @ 0x5ed894741a80] missing picture in access unit with size 3388 The Wayland connection experienced a fatal error: Protocol error
Aokromes
you need to enable beta to allow client to update and send crash id to preston.
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).
$ QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5ed88ea781c0] moov atom not found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5ed88efe3a80] moov atom not found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5ed88efce500] moov atom not found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5ed88d67f280] Packet corrupt (stream = 1, dts = 229843).
[NULL @ 0x5ed894741a80] Invalid NAL unit size (11052 > 3384).
[NULL @ 0x5ed894741a80] missing picture in access unit with size 3388
The Wayland connection experienced a fatal error: Protocol error
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).