>Now I'm confused. How did you acquire the 300dpi image that you sent
>me this morning? With xscan? If so, I guess the status is this:
>
> - xscan works with all resolutions, but it runs slower than expected
>
> - scan's performance is fine, but it crashes at resolutions >18dpi
>
>Is this correct?
Absolutely. But I`m not sure about scan`s performance because after killing
xscan (Cancel button doesn't work) the current pass is finished with the
expected performance. Scan crashes before the first pass is done.
Here are some measurements with xscan and xscan form Arno A.(xscanaa):
after 1st pass after 2nd pass after 3rd pass
dpi mode Area xscan xscanaa xscan xscanaa xscan xscanaa
61 color whole 0:30 - 1:25 - 2:10 -
157 dto dto 1:30 - 3:20 - 5:30 -
300 gray dto - - - - 0:30 0:27
300 color dto 4:30 - 10:10 - 15:55 1:50
600 gray dto - - - - 1:00 0:51
600 color dto - - 42:00 - cancel. 3:00
I configured without "--enable-debug --disabled-shared".
The gdb output again:
GDB is free software and you are welcome to 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.
GDB 4.16 (i486-unknown-linux --target i486-linux),
Copyright 1996 Free Software Foundation, Inc...
(gdb) runn --mode color --verbose --resolution 300
Starting program: /usr/local/bin/scan --mode color --verbose --resolution 300
[sanei_init_debug]: Setting debug level of dll to 128.
[dll] adding backend pnm
[dll] ...already there
[dll] adding backend mustek
[dll] ...already there
[dll] adding backend qcam
[dll] ...already there
[dll] init: initializing backend `qcam'
[dll] init: initializing backend `mustek'
[sanei_init_debug]: Setting debug level of mustek to 128.
[mustek] attach: opening /dev/scanner
[mustek] attach: sending INQUIRY
[mustek] wait_ready: sending TEST_UNIT_READY
[mustek] attach: firmware revision 2.71
[mustek] attach: found Mustek scanner model MFS-06000CX (flatbed scanner), 3-pass
[dll] init: initializing backend `pnm'
[dll] init: initializing backend `net'
[dll] init: initializing backend `hp'
[dll] control_option(handle=0x805c410,option=0,action=0,value=0xbffff64c,info=(nil))
[dll] control_option(handle=0x805c410,option=0,action=0,value=0xbffff608,info=(nil))
[dll] get_option_descriptor(handle=0x805c410,option=0)
[dll] get_option_descriptor(handle=0x805c410,option=1)
[dll] get_option_descriptor(handle=0x805c410,option=2)
[dll] get_option_descriptor(handle=0x805c410,option=3)
[dll] get_option_descriptor(handle=0x805c410,option=4)
[dll] get_option_descriptor(handle=0x805c410,option=5)
[dll] get_option_descriptor(handle=0x805c410,option=6)
[dll] get_option_descriptor(handle=0x805c410,option=7)
[dll] get_option_descriptor(handle=0x805c410,option=8)
[dll] get_option_descriptor(handle=0x805c410,option=9)
[dll] get_option_descriptor(handle=0x805c410,option=10)
[dll] control_option(handle=0x805c410,option=10,action=0,value=0x805b068,info=(nil))
[dll] get_option_descriptor(handle=0x805c410,option=11)
[dll] control_option(handle=0x805c410,option=11,action=0,value=0x805b06c,info=(nil))
[dll] get_option_descriptor(handle=0x805c410,option=12)
[dll] get_option_descriptor(handle=0x805c410,option=13)
[dll] get_option_descriptor(handle=0x805c410,option=14)
[dll] get_option_descriptor(handle=0x805c410,option=15)
[dll] get_option_descriptor(handle=0x805c410,option=16)
[dll] get_option_descriptor(handle=0x805c410,option=17)
[dll] get_option_descriptor(handle=0x805c410,option=18)
[dll] get_option_descriptor(handle=0x805c410,option=19)
[dll] get_option_descriptor(handle=0x805c410,option=20)
[dll] get_option_descriptor(handle=0x805c410,option=21)
[dll] control_option(handle=0x805c410,option=8,action=0,value=0xbffff604,info=(nil))
[dll] control_option(handle=0x805c410,option=9,action=0,value=0xbffff604,info=(nil))
[dll] get_option_descriptor(handle=0x805c410,option=2)
[dll] get_option_descriptor(handle=0x805c410,option=2)
[dll] control_option(handle=0x805c410,option=2,action=1,value=0xbffff7ec,info=0xbffff5d4)
[dll] control_option(handle=0x805c410,option=0,action=0,value=0xbffff5b8,info=(nil))
[dll] get_option_descriptor(handle=0x805c410,option=0)
[dll] get_option_descriptor(handle=0x805c410,option=1)
[dll] get_option_descriptor(handle=0x805c410,option=2)
[dll] get_option_descriptor(handle=0x805c410,option=3)
[dll] get_option_descriptor(handle=0x805c410,option=4)
[dll] get_option_descriptor(handle=0x805c410,option=5)
[dll] get_option_descriptor(handle=0x805c410,option=6)
[dll] get_option_descriptor(handle=0x805c410,option=7)
[dll] get_option_descriptor(handle=0x805c410,option=8)
[dll] get_option_descriptor(handle=0x805c410,option=9)
[dll] get_option_descriptor(handle=0x805c410,option=10)
[dll] control_option(handle=0x805c410,option=10,action=0,value=0x805b068,info=(nil))
[dll] get_option_descriptor(handle=0x805c410,option=11)
[dll] control_option(handle=0x805c410,option=11,action=0,value=0x805b06c,info=(nil))
[dll] get_option_descriptor(handle=0x805c410,option=12)
[dll] get_option_descriptor(handle=0x805c410,option=13)
[dll] get_option_descriptor(handle=0x805c410,option=14)
[dll] get_option_descriptor(handle=0x805c410,option=15)
[dll] get_option_descriptor(handle=0x805c410,option=16)
[dll] get_option_descriptor(handle=0x805c410,option=17)
[dll] get_option_descriptor(handle=0x805c410,option=18)
[dll] get_option_descriptor(handle=0x805c410,option=19)
[dll] get_option_descriptor(handle=0x805c410,option=20)
[dll] get_option_descriptor(handle=0x805c410,option=21)
[dll] control_option(handle=0x805c410,option=8,action=0,value=0xbffff5b4,info=(nil))
[dll] control_option(handle=0x805c410,option=9,action=0,value=0xbffff5b4,info=(nil))
[dll] get_option_descriptor(handle=0x805c410,option=3)
[dll] get_option_descriptor(handle=0x805c410,option=3)
[dll] control_option(handle=0x805c410,option=3,action=1,value=0x805c670,info=0xbffff5d4)
[dll] control_option(handle=0x805c410,option=8,action=0,value=0xbffff648,info=(nil))
[dll] get_option_descriptor(handle=0x805c410,option=10)
[dll] control_option(handle=0x805c410,option=10,action=1,value=0xbffff644,info=0xbffff600)
[dll] control_option(handle=0x805c410,option=9,action=0,value=0xbffff648,info=(nil))
[dll] get_option_descriptor(handle=0x805c410,option=11)
[dll] control_option(handle=0x805c410,option=11,action=1,value=0xbffff644,info=0xbffff600)
[dll] start(handle=0x805c410)
[mustek] wait_ready: sending TEST_UNIT_READY
[mustek] get_image_status: bytes_per_line=2550, lines=4200
[dll] get_parameters(handle=0x805c410,params=0xbfff75f8)
scan: acquiring red frame
scan: scanning image of size 2550x4200 pixels at 8 bits/pixel
[dll] read(handle=0x805c410,data=0xbfff7610,maxlen=32768,lenp=0xbfff75dc)
[mustek] lines_per_buffer=12, bytes_per_line=2550
[mustek] reader_process: read 12 lines[mustek] read 4096 bytes
Program received signal SIGSEGV, Segmentation fault.
0x804a8ce in scan_it () at scan.c:840
840 image.data[offset + 3*i] = buffer[i];
(gdb) bt
#0 0x804a8ce in scan_it () at scan.c:840
#1 0x804b300 in main (argc=6, argv=0xbffff678) at scan.c:1185
#2 0x804949e in ___crt_dummy__ ()
(gdb) print i
$1 = 0
(gdb) print offset
$2 = 0
(gdb) print len
$3 = 4096
(gdb) print image
$4 = {data = 0x0, Bpp = 3, width = 2550, height = 3944, x = 0, y = 0}
(gdb) print parm
$5 = {format = SANE_FRAME_RED, last_frame = 0, bytes_per_line = 2550,
pixels_per_line = 2550, lines = 4200, depth = 8}
(gdb) quit
Mathias Weigt
p5iba@medchem2.pharmazie.uni-halle.de
-- Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/ To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com