Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1016406: telegram-desktop: Segfault in librlottie.so.0.1.0-1

116 views
Skip to first unread message

piorunz

unread,
Jul 31, 2022, 2:40:04 AM7/31/22
to
Package: telegram-desktop
Version: 4.0.2+ds-2
Severity: important
X-Debbugs-Cc: pio...@gmx.com

Steps to reproduce:
1. Open telegram-desktop
2. Type 👀 character (select from emoticons menu)
3. Last used/favourite stickers will show up
4. Crash 1sec later

Expected behaviour
4. No crash

dmesg:
[379966.535052] Thread (pooled)[14395]: segfault at 4 ip 00007f7f148305fe sp
00007f7e3bffd8b0 error 4 in librlottie.so.0.1.0-1[7f7f14807000+49000]
[379966.535060] Code: 48 89 c7 48 89 d8 48 8d 73 01 48 f7 e2 48 d1 ea 48 83 c2
02 e8 23 65 fe 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

telegram-desktop full terminal log from start to end:
$ telegram-desktop

(telegram-desktop:14435): Telegram-WARNING **: 07:23:24.412: Application has
been built with foreign rlottie, animated emojis won't be colored to the
selected pack.

(telegram-desktop:14435): Telegram-WARNING **: 07:23:24.412: Application was
built without embedded fonts, this may lead to font issues. On Debian-based
systems, make sure you have the fonts-open-sans package installed
error: : cannot open
error: : cannot open
error: : cannot open
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
QTextCursor::setPosition: Position '-1' out of range
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
Corrupt JPEG data: premature end of data segment
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
qt.svg: Error while inflating gzip file: SVG format check failed
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Segmentation fault


-- Package-specific info:

-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages telegram-desktop depends on:
ii libabsl20210324 0~20210324.2-4
ii libavcodec59 7:5.0.1-3+b1
ii libavformat59 7:5.0.1-3+b1
ii libavutil57 7:5.0.1-3+b1
ii libc6 2.33-8
ii libgcc-s1 12.1.0-7
ii libglib2.0-0 2.72.3-1
ii libglibmm-2.4-1v5 2.66.4-1
ii libhunspell-1.7-0 1.7.0-4
ii libjpeg62-turbo 1:2.1.2-1
ii liblz4-1 1.9.3-2
ii libminizip1 1.1-8+b1
ii libopenal1 1:1.19.1-2
ii libopus0 1.3.1-2
ii libqrcodegencpp1 1.8.0-1.1
ii libqt5core5a [qtbase-abi-5-15-4] 5.15.4+dfsg-4
ii libqt5gui5 5.15.4+dfsg-4
ii libqt5network5 5.15.4+dfsg-4
ii libqt5svg5 5.15.4-2
ii libqt5waylandclient5 [qtwayland-client-abi-5-15-4] 5.15.4-2
ii libqt5widgets5 5.15.4+dfsg-4
ii librlottie0-1 0.1+dfsg-2
ii libsigc++-2.0-0v5 2.10.8-1
ii libssl3 3.0.4-2
ii libstdc++6 12.1.0-7
ii libswresample4 7:5.0.1-3+b1
ii libswscale6 7:5.0.1-3+b1
ii libvpx7 1.12.0-1
ii libwayland-client0 1.21.0-1
ii libx11-6 2:1.7.5-1
ii libxcb-keysyms1 0.4.0-1+b2
ii libxcb-record0 1.14-3
ii libxcb-screensaver0 1.14-3
ii libxcb1 1.14-3
ii libxcomposite1 1:0.4.5-1
ii libxdamage1 1:1.1.5-2
ii libxext6 2:1.3.4-1
ii libxfixes3 1:6.0.0-1
ii libxrandr2 2:1.5.2-2+b1
ii libxtst6 2:1.2.3-1.1
ii libxxhash0 0.8.1-1
ii qt5-image-formats-plugins 5.15.4-2
ii zlib1g 1:1.2.11.dfsg-4

Versions of packages telegram-desktop recommends:
ii fonts-open-sans 1.11-2
ii libwebkit2gtk-4.0-37 2.36.4-1
ii libwebkit2gtk-4.1-0 2.36.4-1

telegram-desktop suggests no packages.

Versions of packages telegram-desktop is related to:
ii xdg-desktop-portal 1.14.5-1
ii xdg-desktop-portal-gtk [xdg-desktop-portal-backend] 1.14.0-1

-- no debconf information

log.txt

Nicholas Guriev

unread,
Aug 6, 2022, 7:40:03 AM8/6/22
to
Control: reassign -1 librlottie0-1 0.1+dfsg-2
Control: affects -1 telegram-desktop

Hello!

The segfault definitely occurred because of an animated sticker. But I do not
know how to catch the buggy sticker. The issue is undoubtedly relates to the
librlottie.so library. So reassigning the bug.

I am working on an update of the rlottie package with many crash fixes. It
could help in your case. Can you please check my interim version? There is
pre-built binary package on the Salsa CI.

https://salsa.debian.org/debian/rlottie/-/jobs/2826625/artifacts/file/debian/output/librlottie0-1_0.1+dfsg-2+salsaci_amd64.deb
signature.asc

piorunz

unread,
Aug 7, 2022, 4:00:03 AM8/7/22
to
Hello Nicholas,

Thanks for prompt reply. Yes this happens as stickers gets populated and
start animating, suddenly it crashes, most likely on same sticker.

Anyway, your fix works. Thank you. After installing your version of the
library telegram does not crash anymore. Well done!
--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀⠀⠀
0 new messages