Package: telegram-desktop Version: 3.7.3+ds-2+b1 Severity: important Hi,
telegram-desktop crashes for me if I make its window smaller than some specific window width or start it and it gets resized to such a width by i3 (tiling window manager) and then open e.g. a group chat. It basically happens once the speech bubbles don't become less wide than the available space anymore. If I first make the window too small and then enter the group chat, I only see the very last speech bubble before it crashes (probably during trying to display the remaining speech bubbles). A window size of 381x572 was fine, and a window size of 378x572 or less wide triggered the crash. The crash output ends as follows: DSvgRenderer::load: XML parse error: Input file is too short /usr/include/c++/11/bits/stl_algo.h:3658: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = int]: Assertion '!(__hi < __lo)' failed. [4] + 8736 IOT instruction (core dumped) This is reproducible for me: ~crash/1000 → ls -ltr *telegram* -rw------- 1 abe abe 2875678720 Jun 19 23:53 12097-1000-1000-6-1655675593-c6--usr-bin-telegram-desktop--deleted-.core -rw------- 1 abe abe 628158464 Jun 19 23:53 1764-1000-1000-6-1655675638-c6--usr-bin-telegram-desktop.core -rw------- 1 abe abe 538529792 Jun 19 23:54 2201-1000-1000-6-1655675651-c6--usr-bin-telegram-desktop.core -rw------- 1 abe abe 538755072 Jun 19 23:54 2932-1000-1000-6-1655675678-c6--usr-bin-telegram-desktop.core -rw------- 1 abe abe 538767360 Jun 19 23:56 4579-1000-1000-6-1655675773-c6--usr-bin-telegram-desktop.core -rw------- 1 abe abe 537563136 Jun 20 00:08 8736-1000-1000-6-1655676533-c6--usr-bin-telegram-desktop.core -rw------- 1 abe abe 535805952 Jun 20 00:19 10857-1000-1000-6-1655677151-c6--usr-bin-telegram-desktop.core -rw------- 1 abe abe 545185792 Jun 20 00:19 12650-1000-1000-6-1655677178-c6--usr-bin-telegram-desktop.core -rw------- 1 abe abe 523145216 Jun 20 00:34 15104-1000-1000-6-1655678091-c6--usr-bin-telegram-desktop.core -rw------- 1 abe abe 537464832 Jun 20 00:35 19830-1000-1000-6-1655678103-c6--usr-bin-telegram-desktop.core Backtraces available in private upon request. The one core dump containing the word "deleted" was from before the BinNMU for the Qt transistion. So I suspect that it is _NOT_ related to it. I just tried this for the first time (in a long time) after that transition by chance. -- Package-specific info:
-- BEGIN ATTACHMENTS -- /home/abe/.local/share/TelegramDesktop/log.txt -- END ATTACHMENTS --
-- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.16.0-6-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages telegram-desktop depends on: ii libabsl20210324 0~20210324.2-4 ii libavcodec-extra58 [libavcodec58] 7:4.4.2-1+b3 ii libavformat-extra58 [libavformat58] 7:4.4.2-1+b3 ii libavutil56 7:4.4.2-1+b3 ii libc6 2.33-7 ii libgcc-s1 12.1.0-4 ii libglib2.0-0 2.72.2-2 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 libkf5waylandclient5 4:5.94.0-2 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-1 ii libqrcodegencpp1 1.8.0-1.1 ii libqt5core5a [qtbase-abi-5-15-4] 5.15.4+dfsg-3 ii libqt5gui5 5.15.4+dfsg-3 ii libqt5network5 5.15.4+dfsg-3 ii libqt5svg5 5.15.4-2 ii libqt5waylandclient5 [qtwayland-client-abi-5-15-4] 5.15.4-2 ii libqt5widgets5 5.15.4+dfsg-3 ii librlottie0-1 0.1+dfsg-2 ii libsigc++-2.0-0v5 2.10.8-1 ii libssl3 3.0.3-8 ii libstdc++6 12.1.0-4 ii libswresample3 7:4.4.2-1+b3 ii libswscale5 7:4.4.2-1+b3 ii libvpx7 1.11.0-2 ii libwayland-client0 1.20.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.3-1 ii libwebkit2gtk-4.1-0 2.36.3-1 telegram-desktop suggests no packages. Versions of packages telegram-desktop is related to: ii container-package-formats-considered-harmful [xdg-desktop-portal-ba 20 pn xdg-desktop-portal <none> -- no debconf information