[sane-devel] question about usblib errors crashing SANE

Gernot Hassenpflug aikishugyo at gmail.com
Thu Sep 23 17:01:24 UTC 2010


Hi,

I have a Canon MP950 which I added the necessary ID lines for in the
pixma backend. However, it results in a segmentation fault with
sane_usb, something I fail to understand, since erroneous commands
usually just prevent the backend from communicating/opening the
scanner:

...
sanei_usb] sanei_usb_read_bulk: trying to read 20 bytes
[sanei_usb] 000 06 06 00 00 00 00 00 00 05 00 00 00 03 00 02 01 ................
[sanei_usb] 010 00 21 00 D4                                     .!..
[sanei_usb] sanei_usb_read_bulk: wanted 20 bytes, got 20 bytes
[pixma] IN   T=1.611 len=20
[pixma]  00000000:06 06 00 00 00 00 00 00  05 00 00 00 03 00 02 01
[pixma]  00000010:00 21 00 d4
[pixma]
[pixma] Current status: paper=0 cal=0 lamp=1 busy=33
[sanei_usb] sanei_usb_read_int: trying to read 16 bytes
[sanei_usb] sanei_usb_read_int: read failed: Resource temporarily unavailable
Segmentation fault

Does this kind of error ring any bells for anyone?

Best regards,
Gernot Hassenpflug
-- 
ISP Asahi-Net: http://asahi-net.jp/en/
No.1 in Japan by customer satisfaction
(Nikkei News, 7 July 2010)



More information about the sane-devel mailing list