[sane-devel] [GT68xx] Plustek Optic Slim 2400 Plus [ID 07b3:0454] segfault at scanimage batch

2008-07-07 Thread litlle girl
Hi Allan, I scan paper docs and convert to pdf, some times there are many pages, batch mode will be quicker than single page mode, there is enough time when head is going back to change page, but the most important reason is, i trying to avoid scaner calibration before every scan (about 20sec

[sane-devel] [GT68xx] Plustek Optic Slim 2400 Plus [ID 07b3:0454] segfault at scanimage batch

2008-07-06 Thread litlle girl
Hi again :) scanimage --mode Lineart --resolution 300 -x 21 -y 29 --format=tiff --batch --batch-count=5 gives me segfault at the end of first page scan, when head reaches start position. scanimage[19767]: segfault at b8 ip 7f175d766813 sp 7fff6e261c90 error 4 in

[sane-devel] [GT68xx] Plustek Optic Slim 2400 Plus [ID 07b3:0454] segfault at scanimage batch

2008-07-06 Thread m. allan noah
honestly, i dont think we have a resident expert on the gt68xx anymore, but looking at your log and the code, it appears that the backend was waiting for sane_cancel() to be called between pages to cleanup the reader process, but this does not happen in batch mode, so the backend chokes. i guess