"Giuseppe Sacco" <[EMAIL PROTECTED]> wrote:

Hi,

> this is a log on the same machine without any scanner connected:

> [sanei_wire] sanei_w_array: DECODE: maximum amount of allocated memory
> exceeded (limit: 1048576, new allocation: 3145728, total: 4194304 bytes)
> [net] sane_get_devices: ignoring rpc-returned status Unknown SANE status
> code 1230184705
> Segmentation fault

The reply to SANE_NET_INIT contains pure crap as the network capture
shows. I honestly have no idea how such values can end up in there.

Anyway the problem is on the server side and not on the client side.

Can you run

 $ SANE_DEBUG_DLL=255 saned -d255 

And do a scanimage -L on that?

As it is, the server sends back an invalid status code, followed by
what pretends to be a 12-element array.

So the net backend rightfully ignores the reply, then goes to free it,
and given the bogus data in the reply, it ends up with a nice
firework.

I'd take a backtrace of the scanimage segfault too, though I'm not
sure I can avoid it.

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <[EMAIL PROTECTED]> 
 
 Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to