Package: sane Version: 1.0.14-17 Severity: normal Tags: upstream X-Debbugs-Cc: debbug.s...@sideload.33mail.com
When trying to list the devices (-L or --list-devices), there is some useful output followed by a segfault: ===8<---------------------------------------- $ scanadf -L device `escl:http://192.168.178.99:8080' is a HP Officejet Pro 8610 [6955C2] platen,adf scanner device `airscan:e0:HP Officejet Pro 8610 [6955C2]' is a eSCL HP Officejet Pro 8610 [6955C2] ip=192.168.178.99 device `hpaio:/net/hp_officejet_pro_8610?ip=192.168.178.99&queue=false' is a Hewlett-Packard hp_officejet_pro_8610 all-in-one Segmentation fault ===8<---------------------------------------- This segfault is inherited in other operations likely because those other ops internally list the devices. E.g.: ===8<---------------------------------------- $ scanadf -o mydoc.pbm scanadf: rounded value of br-x from 215.9 to 215.9 scanadf: rounded value of br-y from 297.011 to 297.011 Scanned 0 pages Segmentation fault ===8<---------------------------------------- If a device is explicitly supplied on the CLI, the segmentation fault is avoided. E.g.: ===8<---------------------------------------- $ scanadf -o mydoc.pbm -d 'hpaio:/net/hp_officejet_pro_8610?ip=192.168.178.99&queue=false' Scanned document mydoc.pbm scanadf: sane_start: Invalid argument Invalid argument Scanned 1 pages ===8<---------------------------------------- Despite the above “Invalid argument” errors, the scan works but it scans the platter instead of using the ADF (which is an entirely different problem for another bug report). This is just to show the segfault can be avoided. But of course it should be fixed nonetheless. -- System Information: Debian Release: 12.7 APT prefers stable-updates APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-28-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages sane depends on: ii libc6 2.36-9+deb12u8 ii libgimp2.0 2.10.34-1+deb12u2 ii libglib2.0-0 2.74.6-2+deb12u3 ii libgtk2.0-0 2.24.33-2+deb12u1 ii libsane1 1.2.1-2 sane recommends no packages. Versions of packages sane suggests: ii gimp 2.10.34-1+deb12u2 -- no debconf information