Package: telegram-desktop
Version: 2.5.8+ds-1

Prerequisites:

1. Have no video camera or unplug it.
2. Our you may block access to the camera unmounting udev filesystem
inside a chroot environment.

Steps to reproduce:

1. Start the app.
2. Go to Settings > Advanced > Call settings.

What happens:

1. Telegram crashes with the following error message.

# Fatal error in: ./src/modules/audio_device/audio_device_buffer.cc, line 114
# last system error: 2
# Check failed: (&main_thread_checker_)->IsCurrent()
# Aborted (core dumped)


For work around this, do initialize WebRTC library in any way. For
example, make a non-zero duration call to someone or join a group call.
After that you can safely open the settings.

(process:41375): Telegram-WARNING **: 22:14:47.390: Unfortunately, GTK 
integration conflicts with qgtk2 platformtheme and style. Therefore, 
QT_QPA_PLATFORMTHEME and QT_STYLE_OVERRIDE will be unset.
Telegram-Message: 22:14:47.390: This can be ignored by setting 
TDESKTOP_I_KNOW_ABOUT_GTK_INCOMPATIBILITY environment variable to any value, 
however, if qgtk2 theme or style is used, this will lead to a crash.
Telegram-Message: 22:14:47.390: GTK integration can be disabled by setting 
TDESKTOP_DISABLE_GTK_INTEGRATION to any value. Keep in mind that this will lead 
to clipboard issues and tdesktop will be unable to get settings from GTK (such 
as decoration layout, dark mode & more).

(process:41375): Telegram-WARNING **: 22:14:47.391: Application has been built 
with foreign rlottie, animated emojis won't be colored to the selected pack.

(process:41375): Telegram-WARNING **: 22:14:47.391: Application was built 
without embedded fonts, this may lead to font issues.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-builder'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-builder'
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
error: : cannot open
error: : cannot open
error: : cannot open
(device_info_linux.cc:45): NumberOfDevices
(audio_device_buffer.cc:65): AudioDeviceBuffer::ctor
(audio_device_buffer.cc:181): SetRecordingSampleRate(48000)
(audio_device_buffer.cc:187): SetPlayoutSampleRate(48000)
(audio_device_buffer.cc:201): SetRecordingChannels(1)
(audio_device_buffer.cc:207): SetPlayoutChannels(2)
(audio_device_buffer.cc:76): AudioDeviceBuffer::~dtor
(audio_device_buffer.cc:65): AudioDeviceBuffer::ctor
(audio_device_buffer.cc:181): SetRecordingSampleRate(48000)
(audio_device_buffer.cc:187): SetPlayoutSampleRate(48000)
(audio_device_buffer.cc:201): SetRecordingChannels(1)
(audio_device_buffer.cc:207): SetPlayoutChannels(2)
(audio_device_buffer.cc:76): AudioDeviceBuffer::~dtor
(audio_device_buffer.cc:65): AudioDeviceBuffer::ctor
(audio_device_buffer.cc:181): SetRecordingSampleRate(48000)
(audio_device_buffer.cc:187): SetPlayoutSampleRate(48000)
(audio_device_buffer.cc:201): SetRecordingChannels(1)
(audio_device_buffer.cc:207): SetPlayoutChannels(2)
(audio_device_buffer.cc:82): RegisterAudioCallback
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_card_driver 
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_concat returned 
error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned 
error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or 
directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: (EE) ALCcaptureAlsa_open: Could not open capture device 'default': No 
such file or directory
(webrtc_openal_adm.cpp:486): OpenAL Capture Device open failed, deviceID: 'ALSA 
Default'
(audio_device_buffer.cc:181): SetRecordingSampleRate(48000)
(audio_device_buffer.cc:201): SetRecordingChannels(1)
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_card_driver 
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_concat returned 
error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned 
error: No such file or directory
ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or 
directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: (EE) ALCcaptureAlsa_open: Could not open capture device 'default': No 
such file or directory
(webrtc_openal_adm.cpp:486): OpenAL Capture Device open failed, deviceID: 'ALSA 
Default'


#
# Fatal error in: ./src/modules/audio_device/audio_device_buffer.cc, line 114
# last system error: 2
# Check failed: (&main_thread_checker_)->IsCurrent()
# 

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

Reply via email to