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

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

    <bug>
          <bug_id>46068</bug_id>
          
          <creation_ts>2023-05-05 09:21:26 +0300</creation_ts>
          <short_desc>Приложение падает при подключении к CUPS-серверу</short_desc>
          <delta_ts>2023-06-13 17:03:36 +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>system-config-printer</component>
          <version>unstable</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="Vladimir Mokrozub">mogaba2009</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>antohami</cc>
    
    <cc>boyarsh</cc>
    
    <cc>osmolovskayaaa</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>225475</commentid>
    <comment_count>0</comment_count>
    <who name="Vladimir Mokrozub">mogaba2009</who>
    <bug_when>2023-05-05 09:21:26 +0300</bug_when>
    <thetext>Дистрибутив: Simply Linux 10.1
Ядро: 5.10.179-std-def-alt1
Версия: 1.5.17-alt1

При указании доступного CUPS-сервера через пункт меню &quot;Сервер -&gt; Подключиться&quot; после нажатия кнопки &quot;Подключиться&quot; приложение падает, а в журнале systemd появляется ошибка:

мая 05 08:57:33 mva kernel: system-config-p[3891]: segfault at 10 ip 0000562c50f49a59 sp 00007fdd97ffee00 error 4 in python3.9[562c50e4e000+221000]

мая 05 08:57:33 mva kernel: Code: 2f 01 0f 84 d9 00 00 00 48 8b 7b 18 48 85 ff 0f 84 64 c7 f1 ff 48 83 2f 01 0f 84 da 00 00 00 48 8b 3d 43 76 25 00 48 8d 73 f0 &lt;4c&gt; 8b 47 10 45 8b 88 94 02 00 00 45 85 c9 0f 8e f5 00 00 00 4c 8b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>227508</commentid>
    <comment_count>1</comment_count>
    <who name="Osmolovskaya Anastasia">osmolovskayaaa</who>
    <bug_when>2023-06-13 17:02:02 +0300</bug_when>
    <thetext>Проверялось в p10 и Sisyphus - ошибка воспроизводится

Версия пакета:
system-config-printer-1.5.18-alt1.x86_64

Тестовые стенды:
Alt Workstation K 10.1 x86-64
Alt Workstation 10.1 x86-64
Alt Education/Education-kde 10.1 x86-64
Alt Server 10.1 x86-64

Шаги для воспроизведения:
1. Установить пакет cups и настроить сервер: 
# apt-get install cups
# cupsctl --remote-admin --remote-any --share-printers

2. На втором стенде установить пакет system-config-printer и запустить его от пользователя:
# apt-get install system-config-printer
$ system-config-printer

3. В открывшемся окне нажать &quot;Сервер&quot; -&gt; &quot;Подключиться...&quot; -&gt; В поле &quot;Сервер CUPS&quot; ввести ip-server -&gt; Подключиться 

Ожидаемый результат: успешное подключение к серверу 
Реальный результат: программа падает с ошибкой сегментирования

localdomain kernel: system-config-p[4273]: segfault at 10 ip 00005618df5cebb1 sp 00007fd39cbfee00 error 4 in python3.11[5618df49e000+24c000]

Дополнительно: 
* если указывать адрес сервера в формате: http://&lt;ip-server&gt;:631, приложение не падает, но появляется ошибка: &quot;Ошибка во время работы CUPS: failed to connect to server&quot; 

* если указывать один из предложенных дефолтных адресов (/var/run/cups/cups.sock или localhost), приложение падает с ошибкой сегментирования</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>