[sane-devel] saned issues for remote scanner access
Julien BLACHE
jb at jblache.org
Sun Feb 22 18:41:06 GMT 2004
Henning Meier-Geinitz <henning at meier-geinitz.de> wrote:
>> [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.
Nah, here we're _inside_ decode_handle(), where h = 0 according to the
previous backtrace sent on the list.
So, hrm, there's something fishy in there.
Jim, could you try with just
DBG (DBG_ERR, "decode_handle: w->status: %d, h: %d, num_handles: %d\n",
w->status, h, num_handles);
This way we should get an idea of what's going on...
JB.
--
Julien BLACHE <http://www.jblache.org>
<jb at jblache.org> GPG KeyID 0xF5D65169
More information about the sane-devel
mailing list