[sane-devel] question about usblib errors crashing SANE

m. allan noah kitno455 at gmail.com
Thu Sep 23 17:16:48 UTC 2010


Dont assume the segfault is in sanei_usb- what does the pixma backend
do with bad interrupt endpoint data?

allan

On Thu, Sep 23, 2010 at 1:01 PM, Gernot Hassenpflug
<aikishugyo at gmail.com> wrote:
> 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)
>
> --
> 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
>



-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list