[snapscan] Segmentation fault with xscanimage

From: Klaus-Peter Schrage (kpschrage@gmx.de)
Date: Thu Mar 22 2001 - 10:17:52 PST

  • Next message: Oliver Rauch: "Re: Getting my scanner to work"

    Hello,
    I have just installed the latest snapscan version 20010319 with sane-1.04. My
    scanner is an AGFA Snapscan 1212U_2.
    Scanimage works fine, as with the older snapscan version, and scanning is
    also great with StarOffice 5.2.
    But xscanimage just gives me:
    Segmantation fault (see debug log below).
    With the older snapscan version, xscanimage had problems in color mode (as
    many on the list have been reporting), but it worked.
    Did I miss something when installing the new version?

    Any help would be appreciated!
    Klaus-Peter Schrage
    kpschrage@gmx.de

    [sanei_debug] Setting debug level of snapscan to 255.
    [snapscan] sane_snapscan_init
    [snapscan] add_device(/dev/usbscanner)
    [snapscan] add_device: Detected (kind of) an USB device
    [snapscan] usb_open(/dev/usbscanner)
    [snapscan] mini_inquiry
    [snapscan] snapscan_cmd
    [snapscan] sanei_usb_cmd(10,0x7fffd9a4,6,0x7fffd980,0x7fffd97c (36))
    [snapscan] atomic_usb_cmd(10,0x7fffd9a4,6,0x7fffd980,0x7fffd97c (36))
    [snapscan] usb_cmd(10,0x7fffd9a4,6,0x7fffd980,0x7fffd97c (36))
    [snapscan] usb_cmd: cmdlen=6, datalen=0
    [snapscan] usb_write: writing: 0x12 0x00 0x00 0x00 0x24 0x00
    [snapscan] usb_read: reading: 0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    [snapscan] usb_read: reading: 0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 0x41
    0x47 ...
    [snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    [snapscan] add_device: Is vendor "AGFA" model "SNAPSCAN 1212U_2" a supported
    scanner?
    [snapscan] usb_close(10)
    [snapscan] sane_snapscan_get_devices (0x7fffeac4, 0)
    [snapscan] sane_snapscan_open (/dev/usbscanner, 0x7ffff9cc)
    [snapscan] find_device
    [snapscan] sane_snapscan_open: allocated scanner structure at 0x80a1a30
    [snapscan] open_scanner
    [snapscan] usb_open(/dev/usbscanner)
    [snapscan] sane_snapscan_open: waiting for scanner to warm up.
    [snapscan] wait_scanner_ready
    [snapscan] test_unit_ready
    [snapscan] snapscan_cmd
    [snapscan] sanei_usb_cmd(33,0x7ffff80c,6,0x0,0x0 (0))
    [snapscan] atomic_usb_cmd(33,0x7ffff80c,6,0x0,0x0 (0))
    [snapscan] usb_cmd(33,0x7ffff80c,6,0x0,0x0 (0))
    [snapscan] usb_cmd: cmdlen=6, datalen=0
    [snapscan] usb_write: writing: 0x00 0x00 0x00 0x00 0x00 0x00
    [snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    [snapscan] request_sense
    [snapscan] snapscan_cmd
    [snapscan] sanei_usb_cmd(33,0x7ffff80c,6,0x7ffff7f8,0x7ffff7f4 (20))
    [snapscan] atomic_usb_cmd(33,0x7ffff80c,6,0x7ffff7f8,0x7ffff7f4 (20))
    [snapscan] usb_cmd(33,0x7ffff80c,6,0x7ffff7f8,0x7ffff7f4 (20))
    [snapscan] usb_cmd: cmdlen=6, datalen=0
    [snapscan] usb_write: writing: 0x03 0x00 0x00 0x00 0x14 0x00
    [snapscan] usb_read: reading: 0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    [snapscan] usb_read: reading: 0xf0 0x00 0x00 0x00 0x00 0x00 0x00 0x0b 0x00
    0x00 ...
    [snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    [snapscan] sense_handler(33, 0x7ffff7f8, 0x80a1a30)
    [snapscan] sane_snapscan_open: performing scanner self test.
    [snapscan] send_diagnostic
    [snapscan] snapscan_cmd
    [snapscan] sanei_usb_cmd(33,0x7ffff828,6,0x0,0x0 (0))
    [snapscan] atomic_usb_cmd(33,0x7ffff828,6,0x0,0x0 (0))
    [snapscan] usb_cmd(33,0x7ffff828,6,0x0,0x0 (0))
    [snapscan] sane_snapscan_open: self test passed.
    [snapscan] inquiry
    [snapscan] snapscan_cmd
    [snapscan] sanei_usb_cmd(33,0x80a1a68,6,0x80a1b68,0x80a9770 (120))
    [snapscan] atomic_usb_cmd(33,0x80a1a68,6,0x80a1b68,0x80a9770 (120))
    [snapscan] usb_cmd(33,0x80a1a68,6,0x80a1b68,0x80a9770 (120))
    [snapscan] usb_cmd: cmdlen=6, datalen=0
    [snapscan] usb_write: writing: 0x12 0x00 0x00 0x00 0x78 0x00
    [snapscan] usb_read: reading: 0xf9 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    [snapscan] usb_read: reading: 0x06 0x00 0x02 0x02 0x49 0x00 0x00 0x00 0x41
    0x47 ...
    [snapscan] usb_read: reading: 0xfb 0x00 0x00 0x00 0x00 0x00 0x00 0x00
    [snapscan] inquiry: Chroma offsets Red:0, Green:0 Blue:0
    [snapscan] inquiry: pixels per scan line = 5288
    [snapscan] inquiry: bytes per scan line = 5288
    [snapscan] inquiry: number of scan lines = 3429
    [snapscan] inquiry: effective buffer size = 31728 bytes, 9 lines
    [snapscan] inquiry: expected total scan data: 18132552 bytes
    [snapscan] close_scanner
    [snapscan] usb_close(33)
    [snapscan] sane_snapscan_control_option (0x80a1a30, 0, 0, 0x7ffffa10, (nil))
    [snapscan] open_scanner
    [snapscan] usb_open(/dev/usbscanner)
    [snapscan] close_scanner
    [snapscan] usb_close(33)
    [snapscan] sane_snapscan_get_option_descriptor (0x80a1a30, 1)

     

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Thu Mar 22 2001 - 10:10:50 PST