[sane-devel] SANE 1.0.8, Canoscan 300 on Adaptec AVA-1502p ISA SCSI -> scani

Henning Meier-Geinitz henning@meier-geinitz.de
Tue, 8 Oct 2002 12:32:07 +0200


Hi,

On Sun, Oct 06, 2002 at 02:37:36PM +0400, Connor MacLeod wrote:
> I don't know if it's what you asked me to do but here is what I made :

A log with SANE_DEBUG_CANON=255 could be helpful, too.

> (no debugging symbols found)...(no debugging symbols found)...(no debugging 
> symbols found)...(no debugging symbols found)...(no debugging symbols 
> found)...
> (no debugging symbols found)...(no debugging symbols found)...

Looks like they removed the debigging symbols. So we can't do much
debugging.

> Program received signal SIGSEGV, Segmentation fault.
> 0x401ab772 in sanei_scsi_req_enter2 () from /usr/lib/sane/libsane-canon.so.1
> (gdb) bt
> #0  0x401ab772 in sanei_scsi_req_enter2 () from   /usr/lib/sane/libsane-canon.so.1

Looks like the SCSI function gets an invalid buffer or similar.

> #1  0x401aca30 in sanei_scsi_cmd2 () from /usr/lib/sane/libsane-canon.so.1
> #2  0x401a3fc1 in sane_canon_get_select_fd () from   /usr/lib/sane/libsane-canon.so.1

However, the backtrace doesn't seem to be correct as get_select_fd
doesn't call sanei_scsi_cmd2.

Looks like work for the canon maintainer :-)

Bye,
  Henning