scanimage terminates with segmentation fault
Package Information
- Package name: sane-saned
- Package version: 1.2.1-r0
- Alpine version: 3.20.1
- Alpine architecture: armv7
Summary
scanimage
doesn't list "HP Deskjet F4100 series" despite sane-find-scanner
listing it, works fine as printer through hplip
and cups
. Here's what sane-find-scanner
lists: found possible USB scanner (vendor=0x03f0 [HP], product=0x7e04 [Deskjet F4100 series]) at libusb:004:010
.
With sane-backend-hpaio
and sane-backends
installed:
# scanimage -L
Segmentation fault
With sane-backend-hpaio
installed only:
# scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
But when I try to debug:
# SANE_DEBUG_DLL=3 scanimage -L
Segmentation fault
Steps to reproduce
Install related packages:
apk add cups cups-filters hplip sane-backend-hpaio sane-backends
Run scanimage
:
# scanimage -L
Segmentation fault
The scanner does not need to be on, with it off I also get Segmentation fault
. The same machine with the same scanner but using ArchLinux as the OS scans without any problem
/label ~type:bug
/label ~triage:pending
Edited by Alejandro Ojeda Gutiérrez