[sane-devel] Segmentation fault with BusLogic scsi + ScanMaker E6

David Koski david@kosmosisland.com
Tue, 10 Dec 2002 13:09:56 -0800


Hello,

I've read all the FAQs, FM's and all that I could find.

Stats:

* aha2940UW with 2 hard disks, cd-rw, zip, tape (see /proc/scsi/scsi
below)

* BusLogic with ScanMaker E6.

* Athalon 1800, 256M ram, gigs of hd space.

* SuSE 8.1 online install, 2.4.19-4G kernel.

xsane and scanimage will *almost* without fail, terminates with "Segmentation fault".  On rare occasion it works fine, after a combination of powering down the scanner, rebooting the computer, tweaking this and that.  I have tried tweaking the scsi card settings and /etc/sane.d/microtek.conf both.  The last few lines of "strace scanimage are below.

I don't know where to go from here.  Any help appreciated.

Best Regards,
David Koski
david@KosmosIsland.com

*****

rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [RTMIN], 8) = 0
write(3, "S\0\0\0\375\377\377\377\6@\0\0\240\357\0\0H\1773@\240\220"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
rt_sigprocmask(SIG_BLOCK, ~[], [RTMIN], 8) = 0
read(3, "S\0\0\0\375\377\377\377\6@\0\0\240\357\0\0H\1773@\240\220"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [RTMIN], 8) = 0
write(3, "S\0\0\0\377\377\377\377\6@\0\0\0\0\0\0\0\0\0\0\240\220"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
rt_sigprocmask(SIG_BLOCK, ~[], [RTMIN], 8) = 0
read(3, "S\0\0\0\377\377\377\377\6@\0\0\0\0\0\0\0\0\0\0\240\220"..., 64) = 64
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++


******

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: IBM      Model: DDYS-T18350N     Rev: SA2A
  Type:   Direct-Access                    ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: UNISYS   Model: 006405ST19101W   Rev: 8B03
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: IOMEGA   Model: ZIP 100          Rev: J.03
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: YAMAHA   Model: CRW4260          Rev: 1.0h
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 05 Lun: 00
  Vendor: SONY     Model: SDT-9000         Rev: 0601
  Type:   Sequential-Access                ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 02 Lun: 00
  Vendor:          Model: Scanner 600      Rev: 1.90
  Type:   Scanner                          ANSI SCSI revision: 03