It builds beautifully.
scanimage -d apple -T
passed the test.
but when I enabled the saned (SANE net) I got segfaults...
Is this normal?... Looks like some integer turned around (signed,
unsigned).
[14:26:45~(1016)]$>gdb scanimage
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -L
Starting program: /usr/local/bin/scanimage -L
Program received signal SIGSEGV, Segmentation fault.
0x40099d43 in memcpy (dstpp=0x804e650, srcpp=0x804e654, len=4294967292)
at ../sysdeps/generic/memcpy.c:57
../sysdeps/generic/memcpy.c:57: No such file or directory.
(gdb) up
#1 0x401029d2 in sanei_w_space (w=0x804e60c, howmuch=4) at
sanei_wire.c:84
84 memcpy (w->buffer.start, w->buffer.curr, left_over);
(gdb) print left_over
$1 = 4294967292
(gdb)
I can test it more if you like but I am not really familiar with the net
functionality of SANE.
MF
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com