[sane-devel] Error with Umax Astra 2200 under XSane 0.98

Alan Corey alancorey at yahoo.com
Wed Nov 30 22:44:09 UTC 2005

Yes, I've done some debug runs sending stderr to files but I don't have time to
upload and comment them right now.  Probably tomorrow.

I think it's this that's happening when I try to preview:

[umax] sane_start
[umax] initialize_values
[umax] Using 12 bits for gamma input
[umax] Using 8 bits for output
[umax] check_values
[umax] ERROR: scanwidth or scanlength not given
[umax] ERROR: invalid scan-values
[xsane] preview_scan_done
[umax] sane_cancel 

Although this also looks suspect to me:
[xsane] xsane_back_gtk_error: Failed to start scanner: Invalid argument. 

I've been having trouble with GTK crashes (gtk+2-2.6.9).  I've seen it in Gimp,
Mozilla with gtk2, and once in a while in XSane.  This is on an old laptop
(Dell CPIa) with 2560K of video memory.  It's barely enough for 24 bit color at
1024x768, and if something's trying to use backing store, well, there isn't
much.  The crashes will take me right out of X entirely, leaving me in text
mode.  Sometimes the application is still running, burning CPU trying to
connect to the display and I have to kill it, sometimes not.  Maybe
xsane_back_gtk_error doesn't have anything to do with that, I don't know.  More
likely the "back" is referring to backend, not backing store, probably.  The
GTK crashes mostly happen when dialog boxes are open, which is why I'm
suspecting a backing store problem.


--- Henning Meier-Geinitz <henning at meier-geinitz.de> wrote:

> Hi,
> On Mon, Nov 28, 2005 at 09:42:51AM -0800, Alan Corey wrote:
> > I don't get this with 0.97, and I've removed my .sane directory so the
> > configuration can be reset (although not before building).  Uninstalling
> 0.98
> > and reinstalling 0.97 works.  No problem with 0.98 on an HP scanner I've
> got,
> > also using libusb.
> > 
> > When the interface comes up after finding the scanner I get the error 
> "Failed
> > to start scanner: Invalid argument."  I don't have any idea what argument
> since
> > it doesn't tell me.  It's bad error reporting, unless the problem argument
> is
> > an empty string, but there isn't even a "" showing in the dialog that pops
> up.
> > 
> > Operating system is OpenBSD 3.8, which now comes with libusb-0.1.10a by the
> > way.  0.97 works great, and I spent many hours using it over the past few
> days.
> export SANE_DEBUG_UMAX=255 
> may show the reason for the error. There is also XSANE_DEBUG.
> I've also trouble (probably stack corruption) whith xsane 0.98 and the
> gt68xx backend which didn't happen with 0.97 and earlier versions.
> However I don't know yet if it's xsane's fault or if the new version
> just uncovered an otherwise hidden bug in gt68xx.
> Bye,
>   Henning
> -- 
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the sane-devel mailing list