<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>47776</bug_id>
          
          <creation_ts>2023-09-28 14:45:31 +0300</creation_ts>
          <short_desc>telegram-4.10.1-alt1 падает на старте</short_desc>
          <delta_ts>2023-10-04 10:08:43 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>telegram-desktop</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>47702</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgeny Sinelnikov">sin</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>aris</cc>
    
    <cc>lav</cc>
    
    <cc>nekapitan2009</cc>
    
    <cc>week</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>234024</commentid>
    <comment_count>0</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2023-09-28 14:45:31 +0300</bug_when>
    <thetext>C первого запуска свежий, установленный из сизифа telegram падает на старте:

$ telegram

** (telegram-desktop:6737): WARNING **: 14:35:18.659: Unable to load patched fonts with Qt workarounds, expect font issues.
[W][00954.171398] pw.conf      | [          conf.c: 1015 try_load_conf()] can&apos;t load config client-rt.conf: Нет такого файла или каталога
[E][00954.171469] pw.conf      | [          conf.c: 1044 pw_conf_load_conf_for_context()] can&apos;t load config client-rt.conf: Нет такого файла или каталога
[ALSOFT] (EE) Failed to create PipeWire event context (errno: 2)
[ALSOFT] (WW) Failed to initialize backend &quot;pipewire&quot;
[ALSOFT] (WW) pthread_setschedparam failed: Операция не позволена (1)
[ALSOFT] (EE) Could not query RTKit: Нет такого файла или каталога (2)
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
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
Ошибка сегментирования

$ rpm -q telegram-desktop
telegram-desktop-4.10.1-alt1.x86_64

Без debuginfo, с ходу не видно где:

[...]
#74827 0x00005555567467ae in ?? ()
#74828 0x00005555567468cb in ?? ()
#74829 0x00007ffff3353248 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt6Core.so.6
#74830 0x00007ffff3353587 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt6Core.so.6
#74831 0x00007ffff356e693 in ?? () from /usr/lib64/libQt6Core.so.6
#74832 0x00007ffff4e74fd4 in ?? () from /lib64/libglib-2.0.so.0
#74833 0x00007ffff4ecf79f in ?? () from /lib64/libglib-2.0.so.0
#74834 0x00007ffff4e7323c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#74835 0x00007ffff356b9dc in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQt6Core.so.6
#74836 0x00007ffff335e0fa in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQt6Core.so.6
#74837 0x00007ffff3356ad6 in QCoreApplication::exec() () from /usr/lib64/libQt6Core.so.6
#74838 0x00005555567581f7 in ?? ()
#74839 0x00005555567594a2 in ?? ()
#74840 0x0000555555e90378 in ?? ()
#74841 0x00007ffff2a40c8c in ?? () from /lib64/libc.so.6
#74842 0x00007ffff2a40d45 in __libc_start_main () from /lib64/libc.so.6
#74843 0x0000555555ee3961 in ?? ()
(gdb)

Если ему не хватает кусков от pipewire, то давайте добавим необходимые зависимости.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>234239</commentid>
    <comment_count>1</comment_count>
    <who name="Grigory Milev">week</who>
    <bug_when>2023-10-03 13:45:14 +0300</bug_when>
    <thetext>Аналогично с telegram-desktop-4.10.3-alt1.x86_64.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>234307</commentid>
    <comment_count>2</comment_count>
    <who name="Горев Андрей">nekapitan2009</who>
    <bug_when>2023-10-04 09:58:28 +0300</bug_when>
    <thetext>  Что вы умудрились сделать с Telegram, что он грохается ещё на старте с сообщением:
[Юзверь ~/src/Java &gt;] telegram-desktop

** (telegram-desktop:257497): WARNING **: 10:51:04.544: Unable to load patched fonts with Qt workarounds, expect font issues.
[W][67442.774872] pw.conf      | [          conf.c: 1015 try_load_conf()] can&apos;t load config client-rt.conf: Нет такого файла или каталога
[E][67442.774987] pw.conf      | [          conf.c: 1044 pw_conf_load_conf_for_context()] can&apos;t load config client-rt.conf: Нет такого файла или каталога
[ALSOFT] (EE) Failed to create PipeWire event context (errno: 2)
[ALSOFT] (WW) Failed to initialize backend &quot;pipewire&quot;
[ALSOFT] (WW) pthread_setschedparam failed: Операция не позволена (1)
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
Segmentation fault

   При этом почему идёт сообщение о pipewire (для прикола: медийный сервер, ну, абсолютно ненужный на юзверевской машине!) и файле client-rt.conf (из разряда, как я понял, управления Realtime режимом!!!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>234308</commentid>
    <comment_count>3</comment_count>
    <who name="Горев Андрей">nekapitan2009</who>
    <bug_when>2023-10-04 10:00:59 +0300</bug_when>
    <thetext>  При этом установка RTkit проблему с Realtime НЕ РЕШАЕТ!
  А ставить на домашний комп ещё и PipeWire... Ну, извините, это ВООБЩЕ БОРЗОСТЬ! Зачем он мне если мне НЕЧЕМ делиться через этот сервер? Да, и нет смысла!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>234310</commentid>
    <comment_count>4</comment_count>
    <who name="Горев Андрей">nekapitan2009</who>
    <bug_when>2023-10-04 10:02:26 +0300</bug_when>
    <thetext>  Пакет, к которому относится всё вышесказанное мной, telegram-desktop-4.10.3-alt1.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>234311</commentid>
    <comment_count>5</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2023-10-04 10:08:43 +0300</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 47702 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>