Bug 39755 - Аварийное завершение работы при загрузке программы после выбора сканера
Summary: Аварийное завершение работы при загрузке программы после выбора сканера
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: xsane (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-03 17:21 MSK by Константин Палачев
Modified: 2021-03-04 17:04 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Константин Палачев 2021-03-03 17:21:24 MSK
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 те же сканеры работают, в том числе с проприетарными плагинами.
Comment 1 Anton Farygin 2021-03-03 18:20:00 MSK
Надеюсь не идёт речь о проприетарном драйвере ?
Comment 2 Николай Костригин 2021-03-03 18:23:14 MSK
(Ответ для Константин Палачев на комментарий #0)
> xsane
[...]
> 
> Сканер Epson M3170.
> При этом утилита сканирования от производителя работает прекрасно.
> 
> В xsane на p9 вероятно есть регрессия, и, судя по проверенным моделям  и
> сообщениям на форуме, большое число бэкэкндов приводят теперь к ошибке
> сегментации. 

[...]

Если несложно, хотя бы пару-тройку бэкендов приведите, чтобы было с чего начать.
Comment 3 Константин Палачев 2021-03-03 18:34:53 MSK
В приведенном примере драйвер сканирования от производителя.

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

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

При подключении Ноутбука с Альт 8 СП (по USB) xsane работает.
При подключении Альт рабочая станция 9 не работает.
Альт 8 СП (9 платформа) не работает.
Comment 4 Николай Костригин 2021-03-03 18:40:48 MSK
(Ответ для Константин Палачев на комментарий #3)

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

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

лучше, если с обеих платформ.
Comment 5 Константин Палачев 2021-03-04 14:04:04 MSK
NAME="ALT SPWorkstation"
VERSION="8.0 (cliff)"
ID=altlinux
VERSION_ID=8.0
PRETTY_NAME="ALT 8 SP Workstation (cliff)"
ANSI_COLOR="1;33"
CPE_NAME="cpe:/o:alt:spworkstation:8.0"
HOME_URL="http://altsp.su"
BUG_REPORT_URL="https://bugs.altlinux.org/"

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 "modprobe sg".

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's manpage.

  # Not checking for parallel port scanners.

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

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

Все работает. В следующем сообщении приведу вывод с Альт рабочая станция 9.
Comment 6 Константин Палачев 2021-03-04 14:18:35 MSK
NAME="ALT Workstation"
VERSION="9.0"
ID=altlinux
VERSION_ID=9.0
PRETTY_NAME="ALT Workstation 9.0 (Laertes)"
ANSI_COLOR="1;33"
CPE_NAME="cpe:/o:alt:workstation:9.0"
HOME_URL="https://basealt.ru/"
BUG_REPORT_URL="https://bugs.altlinux.org/"

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 "modprobe sg".

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's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can'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' is a Hewlett-Packard HP_LaserJet_MFP_M426fdn all-in-one
device `hpaio:/net/HP_LaserJet_MFP_M426fdn?ip=10.4.129.139' is a Hewlett-Packard HP_LaserJet_MFP_M426fdn all-in-one
Comment 7 Константин Палачев 2021-03-04 17:04:38 MSK
С офисным МФУ HP M426fdn проблему решили. Спасибо Андрею Черепанову.
Помогло обновление hp-lib.

Но хочу обратить внимание, что на Альт 8СП это не требовалось. Все работало "из коробки".
(пользователя необходимо было добавить в группу lp)