Buggy stikers. Telegram crash after open one stickerpack

Bug #1993868 reported by vodopad27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rlottie (Ubuntu)
New
Medium
Unassigned

Bug Description

How to raise a telegram crash:

1) Open TG, send this message to 'Saved messages':
https://t.me/addstickers/SeaKingdom
2) Press to link
3) TG will crash:
qt.svg: Error while inflating gzip file: SVG format check failed
Segmentation fault (core dumped)

Probably TG not handle exception (broken stickerpacks and etc).

On mobile version all fine.

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: telegram-desktop 4.1.1+ds-1ubuntu2
ProcVersionSignature: Ubuntu 5.19.0-21.21-generic 5.19.7
Uname: Linux 5.19.0-21-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Oct 22 02:06:11 2022
InstallationDate: Installed on 2018-05-02 (1633 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: telegram-desktop
UpgradeStatus: Upgraded to kinetic on 2022-10-20 (1 days ago)

Revision history for this message
vodopad27 (family-gan) wrote :
Revision history for this message
Nicholas Guriev (mymedia) wrote :

These animated stickers are rendered by rLottie. Version 0.1+dfsg-4 of that package (from Debian) doesn't crash.

affects: telegram-desktop (Ubuntu) → rlottie (Ubuntu)
Revision history for this message
vodopad27 (family-gan) wrote :

Logs:
[Сб окт 22 22:34:31 2022] Thread (pooled)[75804]: segfault at 4 ip 00007f4a72848604 sp 00007f4a2b7fc690 error 4 in librlottie.so.0.1.0-1[7f4a72832000+41000]
[Сб окт 22 22:34:31 2022] Code: 48 89 c7 48 89 d8 48 8d 73 01 48 f7 e2 48 d1 ea 48 83 c2 02 e8 2d 55 ff ff 48 8b 55 00 49 8b 45 00 4c 89 e7 f3 0f 10 7c 24 04 <f3> 0f 10 42 04 f3 0f 10 50 04 f3 0f 10 1a f3 0f 11 7c 24 0c f3 0f

Revision history for this message
vodopad27 (family-gan) wrote (last edit ):

Confirm, deb package from Debian fixed an issue:
 5378 2022-10-22 22:38:57 wget -P /tmp/ http://http.us.debian.org/debian/pool/main/r/rlottie/librlottie0-1_0.1+dfsg-4_amd64.deb
 5379 2022-10-22 22:39:04 sudo apt install /tmp/librlottie0-1_0.1+dfsg-4_amd64.deb

Probably this fix:
https://sources.debian.org/patches/rlottie/0.1+dfsg-4/
"fix crash in malformed lottie animations."

No issue anymore. I hope that that package version in Ubuntu repo should be updated accordingly..

Changed in rlottie (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.