Bug 47884 - Падение в KDE
Summary: Падение в KDE
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: telegram-desktop (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-09 06:38 MSK by ruslandh
Modified: 2023-10-27 07:11 MSK (History)
4 users (show)

See Also:


Attachments
ldd моего telegram-desktop (14.73 KB, text/plain)
2023-10-09 07:05 MSK, ruslandh
no flags Details
Логи strace от нового пользователя в момент авторизации с новой симкой (9.18 KB, text/x-log)
2023-10-09 08:00 MSK, ruslandh
no flags Details
Файл два (12.85 KB, text/x-log)
2023-10-09 08:00 MSK, ruslandh
no flags Details
Файл 3 (9.72 KB, text/x-log)
2023-10-09 08:01 MSK, ruslandh
no flags Details
Я дохожу до ввода облачного пароля (89.56 KB, image/jpeg)
2023-10-09 08:02 MSK, ruslandh
no flags Details
ldd от /opt/Telegram/Telegram (2.05 KB, text/plain)
2023-10-09 08:07 MSK, ruslandh
no flags Details
Архив с хорошими и плохими входами в telegram (67.58 KB, application/x-bzip)
2023-10-09 09:30 MSK, ruslandh
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ruslandh 2023-10-09 06:38:19 MSK
./telegram-desktop

** (telegram-desktop:427352): WARNING **: 06:23:45.819: Unable to load patched fonts with Qt workarounds, expect font issues.
[ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
[ALSOFT] (WW) Failed to initialize backend "pipewire"
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
Ошибка сегментирования

$ rpm -qi telegram-desktop
Name        : telegram-desktop
Version     : 4.10.3
Release     : alt1
DistTag     : sisyphus+330827.100.2.1
Architecture: x86_64
Install Date: Пн 09 окт 2023 06:22:42

$ strace -e file 
openat(AT_FDCWD, "/home/writer/.local/share/TelegramDesktop/tdata/A7FDF864FBC10B77/00000000000000001", O_RDONLY|O_CLOEXEC) = -1 ENOENT (Нет такого файла или каталога)
unlink("/home/writer/.local/share/TelegramDesktop/tdata/A7FDF864FBC10B77/00000000000000000") = -1 ENOENT (Нет такого файла или каталога)
unlink("/home/writer/.local/share/TelegramDesktop/tdata/A7FDF864FBC10B77/00000000000000001") = -1 ENOENT (Нет такого файла или каталога)
unlink("/home/writer/.local/share/TelegramDesktop/tdata/A7FDF864FBC10B77/0000000000000000s") = -1 ENOENT (Нет такого файла или каталога)
newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=908, ...}, 0) = 0
newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=908, ...}, 0) = 0
newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=908, ...}, 0) = 0
newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=908, ...}, 0) = 0
newfstatat(AT_FDCWD, "/etc/localtime", {st_mode=S_IFREG|0644, st_size=908, ...}, 0) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fff9a883ff8} ---
+++ killed by SIGSEGV +++
Ошибка сегментирования

Просто strace:
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{iov_base="&\0\2\0\242\2\0\0", iov_len=8}], 1) = 8
futex(0x55e9e5ff7008, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55e9e5ff7008, FUTEX_WAKE_PRIVATE, 1) = 0
brk(0x55e9e810e000)                     = 0x55e9e810e000
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8
poll([{fd=6, events=POLLIN}, {fd=13, events=POLLIN}], 2, 0) = 1 ([{fd=6, revents=POLLIN}])
read(6, "?\0\0\0\0\0\0\0", 8)           = 8
read(6, 0x7fffe65a5f40, 8)              = -1 EAGAIN (Ресурс временно недоступен)
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{iov_base="\220\1\2\0\242\2\0\0", iov_len=8}], 1) = 8
futex(0x55e9e5ff7008, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55e9e5ff7008, FUTEX_WAKE_PRIVATE, 1) = 0
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8
write(6, "\1\0\0\0\0\0\0\0", 8)         = 8
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fffe5da7fe0} ---
+++ killed by SIGSEGV +++
Ошибка сегментирования

PS Я вижу, что куча похожих багов, если надо, сделай дубликатом какого-то.
Но похоже, тут надо уже с отладчиком смотреть почему падает. 
Явно что-то не нашёл и на ветке обработки этого ненахождения, похоже падает.

Внешне успевает нарисовать окно, Если сеть отключить, то падения нет.
Comment 1 ruslandh 2023-10-09 07:05:16 MSK
Created attachment 14688 [details]
ldd моего telegram-desktop

Возможно хватает какую-то лишнию библиотеку ?

Он же сам в себе несёт часть библиотек.
Comment 2 AEN 2023-10-09 07:34:15 MSK
(Ответ для ruslandh на комментарий #1)
> Создано вложение 14688 [details] [подробности]
> ldd моего telegram-desktop
> 
> Возможно хватает какую-то лишнию библиотеку ?
> 
> Он же сам в себе несёт часть библиотек.

Возможно. 
А можете сделать  ldd telegram от вендора?
Comment 3 ruslandh 2023-10-09 08:00:25 MSK
Created attachment 14689 [details]
Логи strace от нового пользователя в момент авторизации с новой симкой

Я три файла приложу, там в самих файлах есть небольшие комментарии и 
==== 
отмечены этапы работы телеграмма.
Comment 4 ruslandh 2023-10-09 08:00:52 MSK
Created attachment 14690 [details]
Файл два
Comment 5 ruslandh 2023-10-09 08:01:22 MSK
Created attachment 14691 [details]
Файл 3
Comment 6 ruslandh 2023-10-09 08:02:52 MSK
Created attachment 14692 [details]
Я дохожу до ввода облачного пароля

Если ещё растянуть процесс авторизации, то падение происходит при вводе верного облачного пароля пользователя, при неверном пароле, падения нет.
И это не зависит от того, с какой симкой связан аккаунт.
Comment 7 ruslandh 2023-10-09 08:05:14 MSK
(Ответ для AEN на комментарий #2)
> (Ответ для ruslandh на комментарий #1)
> > Создано вложение 14688 [details] [подробности]
> > ldd моего telegram-desktop
> > 
> > Возможно хватает какую-то лишнию библиотеку ?
> > 
> > Он же сам в себе несёт часть библиотек.
> 
> Возможно. 
> А можете сделать  ldd telegram от вендора?

Да, сейчас приложу файл
Comment 8 ruslandh 2023-10-09 08:07:14 MSK
Created attachment 14693 [details]
ldd от /opt/Telegram/Telegram

ldd от /opt/Telegram/Telegram
Comment 9 ruslandh 2023-10-09 09:30:59 MSK
Created attachment 14694 [details]
Архив с хорошими и плохими входами в telegram

Архив с хорошими и плохими входами в telegram, может сравнение поможет
Comment 10 ruslandh 2023-10-25 07:26:49 MSK
Спасибо, всё работает
telegram-desktop-4.10.5-alt1.x86_64
Comment 11 AEN 2023-10-25 22:09:22 MSK
См. #47959
Comment 12 ruslandh 2023-10-27 07:06:09 MSK
Всё нормально ;-)
Comment 13 ruslandh 2023-10-27 07:11:00 MSK
telegram-desktop-4.10.5-alt2.x86_64