[sane-devel] saned issues for remote scanner access
Henning Meier-Geinitz
henning at meier-geinitz.de
Sun Feb 22 18:28:36 GMT 2004
Hi,
On Sun, Feb 22, 2004 at 07:18:08PM -0000, Jim George wrote:
> Did you see my note to Henning about the debug output from the gt68xx
> backend? It showed 'local_only = true' just before failing, when accessed
> remotely. Is this relevant?
No, that's ok. It just means that the gt68xx backend shouldn't search
for scanners on remote computers. This doesn't make sense in the case
of that backend but image the client contacting the server's net
backend which tries to contact the client's net backend which tries...
It's just to avoid recursion.
> I put the following in as requested.
>
> > DBG (DBG_ERR, "decode_handle: w->status: %d, h: %d, num_handles: %d,
> > inuse: %d\n",
> > w->status, h, num_handles, handle[h].inuse);
> >
> [saned] process_request: got request 8
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x08049d3e in decode_handle (w=0x8053460, op=0x804f370 "cancel") at saned.c:460
> 460 DBG (DBG_ERR, "decode_handle: w->status: %d, h: %d, num_handles: %d, inuse: %d\n",
As handle[-1] is pointing somewhere starnge, that crashes.
Bye,
Henning
More information about the sane-devel
mailing list