Modify

Opened 6 years ago

Last modified 3 years ago

#11925 new defect

saned crashes

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

I try to connect a usb-scanner with saned. But saned crashes, if i try a scanimage -L from a remote-host. strace shows following:

...
tat64(0x777b8d54, 0x7fbe37d0) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 28) = 0
send(3, "\0\3\1\0\0\1\0\0\0\0\0\0\5sdgw2\0\0\1\0\1", 23, 0) = 23
poll([{fd=3, events=POLLIN}], 1, 5000) = 1 ([{fd=3, revents=POLLIN}])
recv(3, "\0\3\201\200\0\1\0\0\0\0\0\0\5sdgw2\0\0\1\0\1", 512, MSG_DONTWAIT) = 23
close(3) = 0
write(2, "[saned] ", 8[saned] ) = 8
write(2, "check_host: getaddrinfo for loca"..., 51check_host: getaddrinfo for local hostname failed: ) = 51
write(2, "Name or service not known", 25Name or service not known) = 25
write(2, "\n", 1
) = 1
open("/etc/hosts.equiv", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./saned.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/sane.d/saned.conf", O_RDONLY) = 3
ioctl(3, TIOCNXCL, 0x7fbe3600) = -1 ENOTTY (Inappropriate ioctl for device)
read(3, "# saned.conf\n# Configuration for"..., 4096) = 1084
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by pyscopath68@…

I am facing the same issue here,

the funny thing is that the local scan work. Has something to do w/ the networking. I'll try to find out some more (I'm on 12.09-beta currently)

comment:2 Changed 4 years ago by hogevonder.chris@…

I've got the same issue. Running "scanimage >test.jpg" local on the router produces a good scan, running "scanimage -L" on a remote client, gives a segmentation fault on the saned-daemon running on OpenWRT.

I run ATTITUDE ADJUSTMENT (12.09, r36088) on my router.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:4 Changed 3 years ago by hogevonder.chris@…

The problem is still present in Barrier Breaker 14.07, although I can get a partial scan when invoked from a remote client, it crashes when the scan is almost finished...

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.