Package: telegram-desktop
Version: 1.8.8-1
Severity: normal

Dear Maintainer,

About a month ago, my laptop filesystem went ro, while running
telegram-desktop. After recovering, I could not get the desktop app
started again. Not errors, no icon in the tray, but the process was
running.

Having some time tonight, I decided to investigate further, and
eventually used strace to attach to the process to see if I could get
a clue as to what was happening. Sample output:

readlink("/home/user/.pulse/d4324f75c325ebe42dde7c3f508b808e-runtime", 
"/tmp/pulse-2L9K88eMlGn7", 99) = 23
lstat("/tmp/pulse-2L9K88eMlGn7", 0x7fff6765a770) = -1 ENOENT (No such file or 
directory)
umask(077)                              = 022
mkdir("/tmp/pulse-YUOLtz4cshqy", 0700)  = 0
umask(022)                              = 077
symlink("/tmp/pulse-YUOLtz4cshqy", 
"/home/user/.pulse/d4324f75c325ebe42dde7c3f508b808e-runtime.tmp") = -1 EEXIST 
(File exists)
rmdir("/tmp/pulse-YUOLtz4cshqy")        = 0
nanosleep({tv_sec=0, tv_nsec=10000000}, NULL) = 0
readlink("/home/user/.pulse/d4324f75c325ebe42dde7c3f508b808e-runtime", 
"/tmp/pulse-2L9K88eMlGn7", 99) = 23
lstat("/tmp/pulse-2L9K88eMlGn7", 0x7fff6765a770) = -1 ENOENT (No such file or 
directory)
umask(077)                              = 022
mkdir("/tmp/pulse-ChzttSCUoUtd", 0700)  = 0
umask(022)                              = 077
symlink("/tmp/pulse-ChzttSCUoUtd", 
"/home/user/.pulse/d4324f75c325ebe42dde7c3f508b808e-runtime.tmp") = -1 EEXIST 
(File exists)
rmdir("/tmp/pulse-ChzttSCUoUtd")        = 0
nanosleep({tv_sec=0, tv_nsec=10000000}, NULL) = 0

ls(1) showed the link existed and pointed to an invalid destination in
/tmp. After removing the bad link, telegram-desktop immediately
started up.

Perhaps on EEXIST, an attempt to rm the link, and not just
the target, could be made? This was an entirely non-obvious failure,
with literally no indication what the problem was until attaching to
the process.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 4.18.16-x86_64-linode118 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages telegram-desktop depends on:
ii  libavcodec58                      7:4.1.4-1+b2
ii  libavformat58                     7:4.1.4-1+b2
ii  libavutil56                       7:4.1.4-1+b2
ii  libc6                             2.29-2
ii  libgcc1                           1:9.2.1-8
ii  libglib2.0-0                      2.62.0-3
ii  liblz4-1                          1.8.3-1+b1
ii  liblzma5                          5.2.4-1+b1
pn  libminizip1                       <none>
ii  libopenal1                        1:1.19.1-1+b1
ii  libopus0                          1.3-1+b1
ii  libqt5core5a [qtbase-abi-5-11-3]  5.11.3+dfsg1-4
ii  libqt5dbus5                       5.11.3+dfsg1-4
ii  libqt5gui5                        5.11.3+dfsg1-4
ii  libqt5network5                    5.11.3+dfsg1-4
ii  libqt5widgets5                    5.11.3+dfsg1-4
pn  librlottie0-1                     <none>
ii  libssl1.1                         1.1.1d-1
ii  libstdc++6                        9.2.1-8
ii  libswresample3                    7:4.1.4-1+b2
ii  libswscale5                       7:4.1.4-1+b2
ii  libx11-6                          2:1.6.8-1
pn  libxxhash0                        <none>
pn  qt5-image-formats-plugins         <none>
ii  zlib1g                            1:1.2.11.dfsg-1+b1

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

telegram-desktop suggests no packages.

-- no debconf information

Reply via email to