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

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

    <bug>
          <bug_id>39755</bug_id>
          
          <creation_ts>2021-03-03 17:21:24 +0300</creation_ts>
          <short_desc>Аварийное завершение работы при загрузке программы после выбора сканера</short_desc>
          <delta_ts>2021-03-04 17:04:38 +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>xsane</component>
          <version>unstable</version>
          <rep_platform>x86_64</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="Константин Палачев">pku</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>lav</cc>
    
    <cc>nickel</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>196669</commentid>
    <comment_count>0</comment_count>
    <who name="Константин Палачев">pku</who>
    <bug_when>2021-03-03 17:21:24 +0300</bug_when>
    <thetext>xsane

(xsane:1243187): Gtk-WARNING **: 16:50:01.307: Загружаемый модуль тем не найден в module_path: «adwaita»,
MIB search path: /usr/share/snmp/mibs:/usr/share/mibs/net-snmp:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/tubs:/usr/share/mibs/cisco:/usr/share/pibs/ietf:/usr/share/pibs/tubs:
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
Cannot find module (EtherLike-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (IPV6-ICMP-MIB): At line 0 in (none)
Cannot find module (IPV6-MIB): At line 0 in (none)
Cannot find module (IPV6-TCP-MIB): At line 0 in (none)
Cannot find module (IPV6-UDP-MIB): At line 0 in (none)
Cannot find module (UCD-IPFWACC-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (TUNNEL-MIB): At line 0 in (none)
Cannot find module (IPV6-FLOW-LABEL-MIB): At line 0 in (none)
Cannot find module (UCD-DISKIO-MIB): At line 0 in (none)
Cannot find module (LM-SENSORS-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (IP-FORWARD-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)

(xsane:1243187): Pango-WARNING **: 16:50:09.580: Invalid UTF-8 string passed to pango_layout_set_text()

(xsane:1243187): Pango-WARNING **: 16:50:09.628: Invalid UTF-8 string passed to pango_layout_set_text()

Сканер Epson M3170.
При этом утилита сканирования от производителя работает прекрасно.

В xsane на p9 вероятно есть регрессия, и, судя по проверенным моделям  и сообщениям на форуме, большое число бэкэкндов приводят теперь к ошибке сегментации. Также ненормально, что теперь нужно комментировать плагин net в /etc/sane.d/dll.conf, чтобы работать с USB-сканерами, раньше такого не было. На регрессию указывает и то, что в p8 те же сканеры работают, в том числе с проприетарными плагинами.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196674</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2021-03-03 18:20:00 +0300</bug_when>
    <thetext>Надеюсь не идёт речь о проприетарном драйвере ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196675</commentid>
    <comment_count>2</comment_count>
    <who name="Николай Костригин">nickel</who>
    <bug_when>2021-03-03 18:23:14 +0300</bug_when>
    <thetext>(Ответ для Константин Палачев на комментарий #0)
&gt; xsane
[...]
&gt; 
&gt; Сканер Epson M3170.
&gt; При этом утилита сканирования от производителя работает прекрасно.
&gt; 
&gt; В xsane на p9 вероятно есть регрессия, и, судя по проверенным моделям  и
&gt; сообщениям на форуме, большое число бэкэкндов приводят теперь к ошибке
&gt; сегментации. 

[...]

Если несложно, хотя бы пару-тройку бэкендов приведите, чтобы было с чего начать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196676</commentid>
    <comment_count>3</comment_count>
    <who name="Константин Палачев">pku</who>
    <bug_when>2021-03-03 18:34:53 +0300</bug_when>
    <thetext>В приведенном примере драйвер сканирования от производителя.

Но суть проблемы в том, что при прочих равных условиях на 8 платформе xsane работает, а на 9 не работает.

Регрессию можно увидеть например на офисном МФУ HP M426fdn

При подключении Ноутбука с Альт 8 СП (по USB) xsane работает.
При подключении Альт рабочая станция 9 не работает.
Альт 8 СП (9 платформа) не работает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196677</commentid>
    <comment_count>4</comment_count>
    <who name="Николай Костригин">nickel</who>
    <bug_when>2021-03-03 18:40:48 +0300</bug_when>
    <thetext>(Ответ для Константин Палачев на комментарий #3)

&gt; 
&gt; Регрессию можно увидеть например на офисном МФУ HP M426fdn
&gt; 
&gt; При подключении Ноутбука с Альт 8 СП (по USB) xsane работает.
&gt; При подключении Альт рабочая станция 9 не работает.
&gt; Альт 8 СП (9 платформа) не работает.

Покажите вывод 
sane-find-scanner
и
scanimage -L

лучше, если с обеих платформ.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196689</commentid>
    <comment_count>5</comment_count>
    <who name="Константин Палачев">pku</who>
    <bug_when>2021-03-04 14:04:04 +0300</bug_when>
    <thetext>NAME=&quot;ALT SPWorkstation&quot;
VERSION=&quot;8.0 (cliff)&quot;
ID=altlinux
VERSION_ID=8.0
PRETTY_NAME=&quot;ALT 8 SP Workstation (cliff)&quot;
ANSI_COLOR=&quot;1;33&quot;
CPE_NAME=&quot;cpe:/o:alt:spworkstation:8.0&quot;
HOME_URL=&quot;http://altsp.su&quot;
BUG_REPORT_URL=&quot;https://bugs.altlinux.org/&quot;

sane-find-scanner 

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try &quot;modprobe sg&quot;.

found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x5a2a [HP LaserJet MFP M426fdn]) at libusb:001:002
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend&apos;s manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can&apos;t be detected by this program.

scanimage -L
device `hpaio:/usb/HP_LaserJet_MFP_M426fdn?serial=PHBLK7J3T1&apos; is a Hewlett-Packard HP_LaserJet_MFP_M426fdn all-in-one
device `hpaio:/net/HP_LaserJet_MFP_M426fdn?ip=10.4.129.139&apos; is a Hewlett-Packard HP_LaserJet_MFP_M426fdn all-in-one

Все работает. В следующем сообщении приведу вывод с Альт рабочая станция 9.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196693</commentid>
    <comment_count>6</comment_count>
    <who name="Константин Палачев">pku</who>
    <bug_when>2021-03-04 14:18:35 +0300</bug_when>
    <thetext>NAME=&quot;ALT Workstation&quot;
VERSION=&quot;9.0&quot;
ID=altlinux
VERSION_ID=9.0
PRETTY_NAME=&quot;ALT Workstation 9.0 (Laertes)&quot;
ANSI_COLOR=&quot;1;33&quot;
CPE_NAME=&quot;cpe:/o:alt:workstation:9.0&quot;
HOME_URL=&quot;https://basealt.ru/&quot;
BUG_REPORT_URL=&quot;https://bugs.altlinux.org/&quot;

sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try &quot;modprobe sg&quot;.

found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x5a2a [HP LaserJet MFP M426fdn]) at libusb:001:004
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend&apos;s manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can&apos;t be detected by this program.

scanimage -L
MIB search path: /usr/share/snmp/mibs:/usr/share/mibs/net-snmp:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/tubs:/usr/share/mibs/cisco:/usr/share/pibs/ietf:/usr/share/pibs/tubs:
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
Cannot find module (EtherLike-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (IPV6-ICMP-MIB): At line 0 in (none)
Cannot find module (IPV6-MIB): At line 0 in (none)
Cannot find module (IPV6-TCP-MIB): At line 0 in (none)
Cannot find module (IPV6-UDP-MIB): At line 0 in (none)
Cannot find module (UCD-IPFWACC-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (TUNNEL-MIB): At line 0 in (none)
Cannot find module (IPV6-FLOW-LABEL-MIB): At line 0 in (none)
Cannot find module (UCD-DISKIO-MIB): At line 0 in (none)
Cannot find module (LM-SENSORS-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (IP-FORWARD-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
device `hpaio:/usb/HP_LaserJet_MFP_M426fdn?serial=PHBLK7J3T1&apos; is a Hewlett-Packard HP_LaserJet_MFP_M426fdn all-in-one
device `hpaio:/net/HP_LaserJet_MFP_M426fdn?ip=10.4.129.139&apos; is a Hewlett-Packard HP_LaserJet_MFP_M426fdn all-in-one</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196698</commentid>
    <comment_count>7</comment_count>
    <who name="Константин Палачев">pku</who>
    <bug_when>2021-03-04 17:04:38 +0300</bug_when>
    <thetext>С офисным МФУ HP M426fdn проблему решили. Спасибо Андрею Черепанову.
Помогло обновление hp-lib.

Но хочу обратить внимание, что на Альт 8СП это не требовалось. Все работало &quot;из коробки&quot;.
(пользователя необходимо было добавить в группу lp)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>