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

Franz Bakan Franz Bakan" <fbakan@gmx.net
Wed, 27 Feb 2002 00:00:35 +0100 (CET)


On Mon, 25 Feb 2002 16:51:11 -0500, Karl Heinz Kremer wrote:

>I am not familiar at all with Sane on OS/2. All I can say is that
>the backend tries to send a reset command to the scanner before
>it segfaults. 
>
>Is the 1.0.7 version also statically linked (as 1.0.5) ?
>

No, the 1.0.7 is dynamically linked, (small scanimage.exe and
big libsane.dll containing the backends-code)

The 1.0.5 which works is just one big scanimage.exe

Franz


>> 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
>> 
>> Without --source (this defaults to flatbed) there is no problem.
>> 
>> A statical linked version of 1.0.5 works without this problem.
>> 
>> These are the last lines of stderr:
>> (SANE_DEBUG_DLL=255, SANE_DEBUG_SANEI_SCSI=255, SANE_DEBUG_EPSON=255)
>> 
>> ...
>> [dll] sane_get_option_descriptor(handle=0x357c8,option=46)
>> [dll] 
sane_control_option(handle=0x357c8,option=35,action=0,value=0x20af94c,info=0)
>> [dll] 
sane_control_option(handle=0x357c8,option=36,action=0,value=0x20af94c,info=0)
>> [dll] sane_get_option_descriptor(handle=0x357c8,option=41)
>> [dll] sane_get_option_descriptor(handle=0x357c8,option=41)
>> [dll] 
sane_control_option(handle=0x357c8,option=41,action=1,value=0x20afff0,info=0x20af
91c)
>> [epson] send buf, size = 2
>> [epson] buf[0] 1b .
>> [epson] buf[1] 40 @
>> [sanei_scsi] sanei_scsi_cmd: Writing srb.u.cmd.data_len= 2
>> 
>> Process terminated by SIGSEGV