[sane-devel] SIGSEGV 1.0.7 OS/2 Epson GT7000 --source

Henning Meier-Geinitz henning at meier-geinitz.de
Mon Feb 25 22:02:13 GMT 2002


Hi,

On Sun, Feb 24, 2002 at 10:38:42PM +0100, Franz Bakan wrote:
> a user has reported, that the 1.0.7 OS/2 binary crashes with
> SIGSEV when the
>  --source
> option is used (transparency unit or Flatbed).
> The scanner is an Epson GT7000 with TPU

I'm really no expert concerning the epson backend so just a guess:

> [dll] sane_control_option(handle=0x357c8,option=41,action=1,value=0x20afff0,info=0x20af91c)

This is "set option `source'".

> [epson] send buf, size = 2
> [epson] buf[0] 1b .
> [epson] buf[1] 40 @

This is from send(), called by reset(), called by handle_source.

> [sanei_scsi] sanei_scsi_cmd: Writing srb.u.cmd.data_len= 2
> 
> Process terminated by SIGSEGV

This looks like the crash occurs in sanei_scsi, but I'm not sure.
Maybe the user can put some more DBG-Statements e.g. at the end of the
OS/2 sanei_scsi_cmd2 to be sure. By the way, this code has the
following intro:
/* XXX untested code! */ 

:-)

I don't see an obovious problem here, but maybe Karl Heinz Kremer does.

Bye,
  Henning



More information about the sane-devel mailing list