#1007748 telegram-desktop: hangs on tasks related to audio and fail to read audio messages

Package:
telegram-desktop
Source:
telegram-desktop
Description:
fast and secure messaging application
Submitter:
Tomasz Kapias
Date:
2022-03-16 12:42:03 UTC
Severity:
important
Tags:
#1007748#5
Date:
2022-03-16 02:02:59 UTC
From:
To:
Dear Maintainer,

After an update last week I have issues related to audio in Telegram-desktop.
  - It hangs for 30sec a launch.
  - It hangs for 30sec when trying to read or record an audio message. And it
does not execute the task. Same for Audio calls.
  - It hangs for 30 sec when trying to open the call advanced settings panel in
Telegram.

I tried to read the logs and install other versions of the package.
  - v3.52 from the Testing repo.
  - v3.60 from the unstable repo.
  - v3.50 and v3.52 from the official github releases.

The definition of the errors changed a little in the logs but the issues
stayed.

I update APT with a mix of Bullseye, Testing and Unstable every week.
Before this update last week I could read and record audio messages, have audio
calls. And no hanging.

Logs at launch (it hangs 30sec before the "cannot open" errors) :

(telegram-desktop:158028): Telegram-WARNING **: 08:59:54.530: Application has
been built with foreign rlottie, animated emojis won't be colored to the
selected pack.
(telegram-desktop:158028): Telegram-WARNING **: 08:59:54.530: 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
AL lib: (EE) ALCpulsePlayback_connectStream: Stream did not get ready: Délai
dépassé
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


Logs when I try to read an audio message (it hangs after the "" erros):

[ogg @ 0x55901b6061c0] 727 bytes of comment header remain
Invalid return value 0 for stream protocol
Invalid return value 0 for stream protocol
Invalid return value 0 for stream protocol
Invalid return value 0 for stream protocol
AL lib: (EE) ALCpulsePlayback_connectStream: Stream did not get ready: Délai
dépassé

#1007748#10
Date:
2022-03-16 11:22:17 UTC
From:
To:
I found that this issue is related to wireplumber and is being treated currently
here :

https://salsa.debian.org/utopia-team/wireplumber/-/commit/a70f692eb5bacda64b54a93f5445f8ff8efaaa69

They will probably release to unstable this week.

Le mercredi 16 mars 2022 à 02:15 +0000, Debian Bug Tracking System a écrit :

#1007748#15
Date:
2022-03-16 12:37:40 UTC
From:
To:
I tried to apply the patch for Wireplumber, but it was not the issue for me.

But it gave me a lead. In fact wireplumber is conflicting with pipewire-session-
manager. Wireplumber is replacing it but pipewire-session-manager was still
installed by APT and the systemd service was not replaced by wireplumber.

I removed pipewire-session-manager, wireplumber and pipewire-pulse. Then
reinstalled them, and there is no more issue with Telegram.