[sane-devel] segmentation faults of saned
Paul Neuwirth
mail at paul-neuwirth.nl
Thu Feb 4 16:14:47 UTC 2016
Hello List,
I have a strange problems. I shared a scanner on one machine. I do not
get access from another machine, but locally over net backend.
connecting from remote makes saned (running as root) segfault:
2016-02-04T16:50:05.387835+01:00 psi xinetd[913]: START: sane-port
from=172.17.0.50
2016-02-04T16:50:05.392098+01:00 psi saned[3733]: saned (AF-indep+IPv6)
from sane-backends 1.0.25 starting up
2016-02-04T16:50:05.393021+01:00 psi saned[3733]: check_host: access by
remote host: 172.17.0.50
2016-02-04T16:50:05.510231+01:00 psi saned[3733]: check_host:
getaddrinfo for local hostname failed: Name or service not known
2016-02-04T16:50:05.511764+01:00 psi xinetd[913]: EXIT: sane-port
signal=11 duration=0(sec)
2016-02-04T16:50:05.513524+01:00 psi kernel: [ 1349.770843] traps:
saned[3733] general protection ip:7f74c4991b44 sp:7fff2a112178 error:0
in libc-2.22.so[7f74c4916000+198000]
locally no problem:
2016-02-04T17:08:05.022309+01:00 psi xinetd[3851]: START: sane-port
from=127.0.0.1
2016-02-04T17:08:05.026451+01:00 psi saned[3859]: saned (AF-indep+IPv6)
from sane-backends 1.0.25 starting up
2016-02-04T17:08:05.027376+01:00 psi saned[3859]: check_host: access by
remote host: 127.0.0.1
2016-02-04T17:08:05.028023+01:00 psi saned[3859]: init: access granted
to root at 127.0.0.1
2016-02-04T17:08:05.237165+01:00 psi saned[3859]: saned exiting
2016-02-04T17:08:05.238792+01:00 psi xinetd[3851]: EXIT: sane-port
status=0 duration=0(sec)
info about psi (the computer sharing):
psi:~ # cat /proc/version
Linux version 3.16.7-29-default (geeko at buildhost) (gcc version 4.8.3
20140627 [gcc-4_8-branch revision 212064] (SUSE Linux) ) #1 SMP Fri Oct
23 00:46:04 UTC 2015 (6be6a97)
psi:~ # rpm -qa | grep sane
sane-backends-1.0.25-116.1.x86_64
sane-backends-autoconfig-1.0.25-116.1.x86_64
psi:~ # grep -v "#" /etc/sane.d/saned.conf
172.17.0.0/24
psi:~ # grep -v "#" /etc/xinetd.d/sane-port
service sane-port
{
socket_type = stream
protocol = tcp
wait = no
user = root
group = root
server = /usr/sbin/saned
port = 6566
}
psi:~ # scanimage -L
device `xerox_mfp:libusb:001:002' is a Samsung Samsung SCX-4623 Series
multi-function peripheral
device `net:172.17.0.1:hp:/dev/sg18' is a Hewlett-Packard C7670A flatbed
scanner
device `net:localhost:xerox_mfp:libusb:001:002' is a Samsung Samsung
SCX-4623 Series multi-function peripheral
one of the client machines:
omega:/home/pane # scanimage -L
device `coolscan:/dev/sg1' is a Nikon LS-2000 slide scanner
device `net:172.17.0.1:hp:/dev/sg18' is a Hewlett-Packard C7670A flatbed
scanner
omega:/home/pane # cat /proc/version
Linux version 3.16.7-7-desktop (geeko at buildhost) (gcc version 4.8.3
20140627 [gcc-4_8-branch revision 212064] (SUSE Linux) ) #1 SMP PREEMPT
Wed Dec 17 18:00:44 UTC 2014 (762f27a)
omega:/home/pane # rpm -qa | grep sane
sane-backends-32bit-1.0.25-116.1.x86_64
xsane-0.998-22.1.5.x86_64
sane-backends-1.0.25-116.1.x86_64
sane-backends-autoconfig-1.0.25-116.1.x86_64
libksane0-14.12.1-8.1.x86_64
omega:/home/pane # grep -v "#" /etc/sane.d/net.conf
172.17.0.54
172.17.0.1
omega:/home/pane # scanimage -L
device `coolscan:/dev/sg1' is a Nikon LS-2000 slide scanner
device `net:172.17.0.1:hp:/dev/sg18' is a Hewlett-Packard C7670A flatbed
scanner
I previously tried an older sane release on both machines, also an older
c-library, with the same result as above.
Thanks for any help or hint.
Regards,
Paul
More information about the sane-devel
mailing list