[sane-devel] Sane-1.0.6 Testsuite (Failure)
Stephen Torri
storri at ameritech.net
Fri Nov 30 05:12:55 GMT 2001
I compiled Sane-1.0.6 with the debug information turned on:
CFLAGS="-g -O -Wall" .configure --disabled-shared --prefix=/usr
It compiled successfully but it fails during the testsuite.
It reports the following executing "make test":
if ../frontend/scanimage -d pnm:0 --filename=testfile.pnm -T && \
../frontend/scanimage -d pnm:0 --filename=testfile.pnm --three-pass=yes -T && \
../frontend/scanimage -d pnm:0 --filename=testfile.pnm --hand-scanner=yes -T ; \
then : ; else echo ; echo; echo "Something failed"; fi
scanimage: open of device pnm:0 failed: Invalid argument
Something failed
I looked over the script and decided to run the first one:
../frontend/scaniamge -d pnm:0 --filename=testfile.pnm -T
The result I get back is:
scanimage: open of device pnm:0 failed: Invalid argument
I decided to just run ../frontend/scanimage but I got a Segmentation
fault. Closer investigation via gdb reports that its failing during a
memcpy while inside the function sanei_scsi_req_wait at line 2118 of
sanei_scsi.c.
OS: RedHat 7.2
Kernel: 2.4.7-10smp
Sane: 1.0.6
GCC: 2.96-98
Scanner: HP 4400C (USB)
Stephen
More information about the sane-devel
mailing list