# testing sane-pre1.01-3

Milon Firikis (milonf@ariadne-t.gr)
Mon, 15 Mar 1999 14:38:30 +0200

- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Paulo Afonso Graner Fessel: "[Fwd: HP ScanJet 5p + Linux 2.2.3 w/ sym53c416 driver]"
- Previous message: Juha Sahakangas: "Re: Sane drivers"

In Redhat-5.1

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

- Next message: Paulo Afonso Graner Fessel: "[Fwd: HP ScanJet 5p + Linux 2.2.3 w/ sym53c416 driver]"
- Previous message: Juha Sahakangas: "Re: Sane drivers"