Bug#1008156: telegram-desktop: Crash when switch account

2022-04-05 Thread Stefano Callegari
Il Mon, Apr 04, 2022 at 10:03:03PM +0300, Nicholas Guriev scrisse:
> Control: tags -1 - upstream
> 
> On Пн, 2022-03-28 at 13:20 +0300, Nicholas Guriev wrote:
> > This will be fixed somehow in the upcoming upstream release, 3.6.2.
> 
> I was wrong and did incorrect test. In actual fact, the crash happens
> due to memory allocator from glibc that is in use by default.
> 
> Can you please check my workaround? Run the next commands in terminal:
> 
>sudo apt-get install libjemalloc2
>LD_PRELOAD=libjemalloc.so.2 telegram-desktop
> 

~  $ dpkg -l telegram-desktop
[...]
ii  telegram-desktop 3.6.0+ds-1 amd64 fast and secure messaging application

No crash...

~  $ dpkg -l telegram-desktop
[...]
ii  telegram-desktop 3.6.1+ds-2 amd64 fast and secure messaging application

Crash...

~ <-bash> # aptitude install libjemalloc2
libjemalloc2 è già installato e si trova alla versione richiesta (5.2.1-4)
[...]

Already installed.

I try...

~  $ LD_PRELOAD=libjemalloc.so.2 telegram-desktop

(telegram-desktop:33019): Telegram-WARNING **: 09:30:27.427: Application
has been built with foreign rlottie, animated emojis won't be colored to
the selected pack.

(telegram-desktop:33019): Telegram-WARNING **: 09:30:27.427: 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
[...]

No crash!!!

But it has required a lot of time to connect to the account on open, then
it has switched in real time.

Ciao
-- 
Stefano Callegari
GnuPG Public Key Server: pgp.mit.edu



Bug#1008156: telegram-desktop: Crash when switch account

2022-04-04 Thread Nicholas Guriev
Control: tags -1 - upstream

On Пн, 2022-03-28 at 13:20 +0300, Nicholas Guriev wrote:
> This will be fixed somehow in the upcoming upstream release, 3.6.2.

I was wrong and did incorrect test. In actual fact, the crash happens
due to memory allocator from glibc that is in use by default.

Can you please check my workaround? Run the next commands in terminal:

   sudo apt-get install libjemalloc2
   LD_PRELOAD=libjemalloc.so.2 telegram-desktop



signature.asc
Description: This is a digitally signed message part


Bug#1008156: telegram-desktop: Crash when switch account

2022-03-28 Thread Nicholas Guriev
Control: tag -1 upstream

On Ср, 2022-03-23 at 11:49 +0100, Stefano Callegari wrote:
> after last upgrade, when I try to switch to my second Telegram account (added
> before), the program crashes.

This will be fixed somehow in the upcoming upstream release, 3.6.2.



signature.asc
Description: This is a digitally signed message part


Bug#1008156: telegram-desktop: Crash when switch account

2022-03-27 Thread Mattia Monga
Package: telegram-desktop
Version: 3.6.1+ds-2
Followup-For: Bug #1008156
X-Debbugs-Cc: mo...@debian.org

I can confirm the same problem. Moreover, my instance crashes also when I 
choose the "Settings" ("Impostazioni" in Italian) menu. 


-- Package-specific info:

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

Kernel: Linux 5.16.0-5-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages telegram-desktop depends on:
ii  libabsl20210324 0~20210324.2-2
ii  libavcodec587:4.4.1-3+b2
ii  libavformat58   7:4.4.1-3+b2
ii  libavutil56 7:4.4.1-3+b2
ii  libc6   2.33-7
ii  libgcc-s1   12-20220319-1
ii  libglib2.0-02.72.0-1
ii  libglibmm-2.4-1v5   2.66.2-2+b1
ii  libhunspell-1.7-0   1.7.0-4
ii  libjpeg62-turbo 1:2.1.2-1
ii  libkf5waylandclient54:5.90.0-1
ii  liblz4-11.9.3-2
ii  libminizip1 1.1-8+b1
ii  libopenal1  1:1.19.1-2
ii  libopus01.3.1-0.1
ii  libqrcodegencpp11.7.0-2+b1
ii  libqt5core5a [qtbase-abi-5-15-2]5.15.2+dfsg-15
ii  libqt5gui5  5.15.2+dfsg-15
ii  libqt5network5  5.15.2+dfsg-15
ii  libqt5svg5  5.15.2-4
ii  libqt5waylandclient5 [qtwayland-client-abi-5-15-2]  5.15.2-4
ii  libqt5widgets5  5.15.2+dfsg-15
ii  librlottie0-1   0.1+dfsg-2
ii  libsigc++-2.0-0v5   2.10.4-2
ii  libssl1.1   1.1.1n-1
ii  libstdc++6  12-20220319-1
ii  libswresample3  7:4.4.1-3+b2
ii  libswscale5 7:4.4.1-3+b2
ii  libvpx7 1.11.0-2
ii  libx11-62:1.7.2-2+b1
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  libxext62:1.3.4-1
ii  libxfixes3  1:6.0.0-1
ii  libxrandr2  2:1.5.2-1
ii  libxtst62:1.2.3-1
ii  libxxhash0  0.8.1-1
ii  qt5-image-formats-plugins   5.15.2-2+b1
ii  zlib1g  1:1.2.11.dfsg-4

Versions of packages telegram-desktop recommends:
ii  fonts-open-sans  1.11-2

telegram-desktop suggests no packages.

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

-- no debconf information
[2022.03.27 09:17:34] Launched version: 3006001, install beta: [FALSE], alpha: 
0, debug mode: [FALSE]
[2022.03.27 09:17:34] Executable dir: /usr/bin/, name: telegram-desktop
[2022.03.27 09:17:34] Initial working dir: 
/opt/unburden/.unburden-monga/local/share/
[2022.03.27 09:17:34] Working dir: /home/monga/.local/share/TelegramDesktop/
[2022.03.27 09:17:34] Command line: telegram-desktop
[2022.03.27 09:17:34] Executable path before check: /usr/bin/telegram-desktop
[2022.03.27 09:17:34] Logs started
[2022.03.27 09:17:34] Launcher filename: telegramdesktop.desktop
[2022.03.27 09:17:34] We use allocator from /lib/x86_64-linux-gnu/libc.so.6
[2022.03.27 09:17:34] IBus portal is present! Using it.
[2022.03.27 09:17:34] Getting DE, XDG_CURRENT_DESKTOP: 'GNOME'
[2022.03.27 09:17:34] Getting DE, XDG_SESSION_DESKTOP: 'gnome-xorg'
[2022.03.27 09:17:34] Getting DE, 

Bug#1008156: telegram-desktop: Crash when switch account

2022-03-25 Thread Leandro Cunha
Hi,

This makes the application unusable across multiple accounts, which is
interesting to report as a higher severity in my opinion.
In addition, when we debug, it reports segmentation faults.
Not can be migrated to testing without being fixed.

-- 
Cheers,
Leandro Cunha
Software Engineer and Debian Contributor

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



Bug#1008156: telegram-desktop: Crash when switch account

2022-03-23 Thread Stefano Callegari
Package: telegram-desktop
Version: 3.6.1+ds-1
Severity: normal

Dear Maintainer,

after last upgrade, when I try to switch to my second Telegram account (added
before), the program crashes.

If I downgrade, works.

Thanks

Stefano


-- Package-specific info:

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

Kernel: Linux 5.16.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:it
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-2
ii  libavcodec587:4.4.1-3+b2
ii  libavformat58   7:4.4.1-3+b2
ii  libavutil56 7:4.4.1-3+b2
ii  libc6   2.33-7
ii  libgcc-s1   12-20220319-1
ii  libglib2.0-02.72.0-1
ii  libglibmm-2.4-1v5   2.66.2-2+b1
ii  libhunspell-1.7-0   1.7.0-4
ii  libjpeg62-turbo 1:2.1.2-1
ii  libkf5waylandclient54:5.90.0-1
ii  liblz4-11.9.3-2
ii  libminizip1 1.1-8+b1
ii  libopenal1  1:1.19.1-2
ii  libopus01.3.1-0.1
ii  libqrcodegencpp11.7.0-2+b1
ii  libqt5core5a [qtbase-abi-5-15-2]5.15.2+dfsg-15
ii  libqt5gui5  5.15.2+dfsg-15
ii  libqt5network5  5.15.2+dfsg-15
ii  libqt5svg5  5.15.2-4
ii  libqt5waylandclient5 [qtwayland-client-abi-5-15-2]  5.15.2-4
ii  libqt5widgets5  5.15.2+dfsg-15
ii  librlottie0-1   0.1+dfsg-2
ii  libsigc++-2.0-0v5   2.10.4-2
ii  libssl1.1   1.1.1n-1
ii  libstdc++6  12-20220319-1
ii  libswresample3  7:4.4.1-3+b2
ii  libswscale5 7:4.4.1-3+b2
ii  libvpx7 1.11.0-2
ii  libx11-62:1.7.2-2+b1
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  libxext62:1.3.4-1
ii  libxfixes3  1:6.0.0-1
ii  libxrandr2  2:1.5.2-1
ii  libxtst62:1.2.3-1
ii  libxxhash0  0.8.1-1
ii  qt5-image-formats-plugins   5.15.2-2+b1
ii  zlib1g  1:1.2.11.dfsg-3

Versions of packages telegram-desktop recommends:
ii  fonts-open-sans  1.11-2

telegram-desktop suggests no packages.

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

-- no debconf information
[2022.03.23 11:41:34] Launched version: 3006001, install beta: [FALSE], alpha: 
0, debug mode: [FALSE]
[2022.03.23 11:41:34] Executable dir: /usr/bin/, name: telegram-desktop
[2022.03.23 11:41:34] Initial working dir: /home/stefano/
[2022.03.23 11:41:34] Working dir: /home/stefano/.local/share/TelegramDesktop/
[2022.03.23 11:41:34] Command line: /usr/bin/telegram-desktop --
[2022.03.23 11:41:34] Executable path before check: /usr/bin/telegram-desktop
[2022.03.23 11:41:34] Logs started
[2022.03.23 11:41:34] Launcher filename: telegramdesktop.desktop
[2022.03.23 11:41:34] We use allocator from /lib/x86_64-linux-gnu/libc.so.6
[2022.03.23 11:41:34] IBus portal is present! Using it.
[2022.03.23 11:41:34] Getting DE, XDG_CURRENT_DESKTOP: 'KDE'
[2022.03.23 11:41:34] Getting DE, XDG_SESSION_DESKTOP: 'KDE'
[2022.03.23 11:41:34] Getting DE, DESKTOP_SESSION: 'plasma'
[2022.03.23 11:41:34] Getting DE via WM: 'KWin'
[2022.03.23 11:41:34] Getting DE, GNOME_DESKTOP_SESSION_ID: ''
[2022.03.23