Re: segfault with sane-umax

Oliver.Rauch@Wolfsburg.DE
Wed, 8 Oct 1997 19:02:40 +0200 (MET DST)

Hello Iain,

> I've gotten a Umax "SuperVista S-12" scanner that I'm trying to use with
> the SCSI port on a Pro Audio Spectrum card. The system sees the scanner,
> but scanimage dumps core when I run it even with just the "-h" option.
> Could I be missing something when I compile SANE? Has anyone else used a
> PAS with SANE?

I tried it one time but I hat a lot of problems with it. I used
the command-line-version of the umx-driver umax-0.5.x.tar.gz.

May be it has to do with the PAS-SCSI-Interface, but I think the
problem is somewhere else:

> [sanei_init_debug]: Setting debug level of umax to 128.
> [umax] sane_init
> [umax] attach_scanner: /dev/scanner
> [umax] attach_scanner: opening /dev/scanner
> [umax] init
> [umax] initialize_values
> [umax] identify_scanner
> [umax] do_inquiry
> [umax] Found UMAX scanner SuperVista S-12 version V1.8 on device /dev/scanner
> [umax] get_inquiry_values
> [umax] sane_get_devices
> device `umax:/dev/scanner' is a UMAX SuperVista S-12 flatbed scanner
> device `pnm:0' is a Noname PNM file reader virtual device
> device `pnm:1' is a Noname PNM file reader virtual device
> [umax] sane_exit
> Segmentation fault (core dumped)

Try the following:

edit backend/umax.c, search sane_exit and comment out
free(dev->us.devicename);
then recompile sane and try it again.

Bye
Oliver

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com