xscanimage problems

Petri Lehtonen (onaias@iki.fi)
Thu, 19 Mar 1998 21:32:21 +0000

Hello,

I have sane 0.71 installed from the binary RPM (for Intel) on RedHat
5.0. scanimage works fine, but xscanimage doesn't do anything just
dies away.

I have included here the last 30 or so lines of strace output on
xscanimage, in case some of can work something out of it.

Oh and is there a way to control the dpi from scanimage. It seems pretty
low on default. Couldn't find any info on it's man page.

petri

------------strace output---------

open("/usr/X11R6/lib/libnss_files.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/libnss_files.so.1", O_RDONLY) = 4
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4030f000
brk(0x807b000) = 0x807b000
munmap(0x4030f000, 4096) = 0
mmap(0, 31964, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4030f000
mprotect(0x40316000, 3292, PROT_NONE) = 0
mmap(0x40316000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0x6000) = 0x40316000
close(4) = 0
mprotect(0x4030f000, 28672, PROT_READ|PROT_WRITE) = 0
mprotect(0x4030f000, 28672, PROT_READ|PROT_EXEC) = 0
open("/etc/passwd", O_RDONLY) = 4
fcntl(4, F_GETFD) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
fstat(4, {st_mode=0, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40317000
read(4, "root:JHtzoWUiYiKcE:0:0:root:/roo"..., 4096) = 748
close(4) = 0
munmap(0x40317000, 4096) = 0
--- SIGSEGV (Segmentation fault) ---
write(3, "f\0\3\0\200\0\0\0\1\0\0\0<a\2\0\0"..., 32) = 32
read(3, 0xbfffee0c, 32) = -1 EAGAIN (Resource
temporarily unavailable)
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\1\1$\0\0\0\0\0\v\0\200\2\0\0\0\0"..., 32) = 32
shutdown(3, 2 /* send and receive */) = 0
close(3) = 0
_exit(1) = ?

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com