:: [devuan-dev] devuan 6 (Excalibur) x…
Top Page
Delete this message
Reply to this message
Author: Arcady Ivanov
Date:  
To: devuan-dev
Subject: [devuan-dev] devuan 6 (Excalibur) xinetd+saned provides segfaults.
Hello, dear developers.



Met bug in Devuan 6 Excalubur (sane + xinetd)



server side (IP:192.168.100.220):     

    saned starts via xinetd

    /etc/xinetd.d/sane contains:

service sane
{
   disable     = no
   port        = 6566
   socket_type = stream
   wait        = no
   user        = saned
   group       = lp
   server      = /usr/sbin/saned

}





client side:     

   /sane.d/net.conf contains:

   192.168.100.55

   client programs: xsane or simple-scan



   client programs crush every time (segfault).





On server side after connection attempt:



saned[..]: saned (AF-indep+IPv6) from sane-backends 1.2.1-debian starting up
saned[..]: check_host: access by remote host: 192.168.100.55
saned[..]: init: access granted to saned-user@192.168.100.55
kernel: saned[..]: segfault at 0 ip 00007f6c55ced119 sp 00007ffcefe09e78 error 4 in libc.so.6[167119,7f6c55bae000+165000] likely on CPU 6 (core 0, soc
ket 0)



Error memory address always same.





I've found strange bypass:



If xinetd is started on server in debug mode:




xinetd -d 



than everything works.





I've tried on 4 computers with 

Devuan6 -> Devuan6

Devuan5 -> Devuan6



tcp4 only

tcp4 + tcp6.



Bug exists.





IKIR IT Chief. Arcady Ivanov.

phone: +7(914)024-4191

mailto: arc@???