[sane-devel] scanbd with canon

Franz Fuder franz.fuder at ifaz.de
Sun Nov 30 14:09:18 UTC 2014


All,
just updated my system to suse 13.2 wiht 13.1 all was fine.

Compiled the scanbd 1.4.1 all fine with usb_enabled. In the foreground.
The scan is working fine. After the scanadf is finished I got a
segemtation fault from scanbd. It looks like that the usb system has a
problem and the device can not opened again. When I start scanbd after
the segemntatio fault it scans fine but the fault comes again.

I compiled and using the latest sane-backend from today. All programms
that I tested are working fine.

Any help for me in this group? Here is the output of scanbd

Cheers

Franz

scanbd  -f -c /etc/scanbd/scanbd.conf

/usr/sbin/scanbd: polling device canon_dr:libusb:003:004
/usr/sbin/scanbd: get_sane_option_value
/usr/sbin/scanbd: checking option start number 32 (0) for device
canon_dr:libusb:003:004: value: 0
/usr/sbin/scanbd: value trigger: numerical
/usr/sbin/scanbd: trigger action for start for device
canon_dr:libusb:003:004 with script scanadf.script
/usr/sbin/scanbd: get_sane_option_value
/usr/sbin/scanbd: Value of mode as string (len 4, hash 2089152600): Gray
/usr/sbin/scanbd: setting env: SCANBD_FUNCTION_MODE=Gray
/usr/sbin/scanbd: setting env:
PATH=/home/lxuser/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/games:/home/lxuser/software/gwt-linux-1.5.3
/usr/sbin/scanbd: setting env: PWD=/etc/scanbd
/usr/sbin/scanbd: setting env: USER=lxuser
/usr/sbin/scanbd: setting env: HOME=/root
/usr/sbin/scanbd: setting env: canon_dr=canon_dr:libusb:003:004
/usr/sbin/scanbd: setting env: scan=scan
/usr/sbin/scanbd: append string canon_dr:libusb:003:004 to signal scan_begin
/usr/sbin/scanbd: now sending signal scan_begin
/usr/sbin/scanbd: append string SCANBD_FUNCTION_MODE=Gray to signal trigger
/usr/sbin/scanbd: append string
PATH=/home/lxuser/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/games:/home/lxuser/software/gwt-linux-1.5.3
to signal trigger
/usr/sbin/scanbd: append string PWD=/etc/scanbd to signal trigger
/usr/sbin/scanbd: append string USER=lxuser to signal trigger
/usr/sbin/scanbd: append string HOME=/root to signal trigger
/usr/sbin/scanbd: append string canon_dr=canon_dr:libusb:003:004 to
signal trigger
/usr/sbin/scanbd: append string scan=scan to signal trigger
/usr/sbin/scanbd: now sending signal trigger
/usr/sbin/scanbd: now flushing the dbus
/usr/sbin/scanbd: unref the signal
/usr/sbin/scanbd: using relative script path: scanadf.script, expanded
to: /etc/scanbd/scanadf.script
/usr/sbin/scanbd: waiting for child: /etc/scanbd/scanadf.script
/usr/sbin/scanbd: exec for /etc/scanbd/scanadf.script
/usr/sbin/scanbd: Iteration on dbus call
scanadf: rounded value of page-height from 297 to 296.994
scanadf: rounded value of br-x from 215.872 to 215.872
scanadf: rounded value of br-y from 297 to 296.994
scanadf: scanning image of size 5100x7016 pixels at 24 bits/pixel
scanadf: acquiring RGB frame
/usr/sbin/scanbd: Iteration on dbus call
/usr/sbin/scanbd: Iteration on dbus call
/usr/sbin/scanbd: Iteration on dbus call
/usr/sbin/scanbd: Iteration on dbus call
scanadf: min/max graylevel value = 48/254
Scanned document /tmp/scanadf/image-0001.pgm
scanadf: scanning image of size 5100x7016 pixels at 24 bits/pixel
scanadf: acquiring RGB frame
/usr/sbin/scanbd: Iteration on dbus call
scanadf: min/max graylevel value = 5/254
Scanned document /tmp/scanadf/image-0002.pgm
scanadf: scanning image of size 5100x7016 pixels at 24 bits/pixel
scanadf: acquiring RGB frame
scanadf: min/max graylevel value = 255/0
scanadf: sane_read: Document feeder out of documents
Scanned 2 pages
pnmtotiff: computing colormap...
pnmtotiff: Too many colors - proceeding to write a 24-bit RGB file.
pnmtotiff: If you want an 8-bit palette file, try doing a 'pnmquant 256'.
pnmtotiff: computing colormap...
pnmtotiff: Too many colors - proceeding to write a 24-bit RGB file.
pnmtotiff: If you want an 8-bit palette file, try doing a 'pnmquant 256'.
pnmtotiff: computing colormap...
pnmtotiff: End of file encountered when trying to read a row from input
file.
/usr/sbin/scanbd: child /etc/scanbd/scanadf.script exited with status: 0
/usr/sbin/scanbd: Iteration on dbus call
/usr/sbin/scanbd: append string canon_dr:libusb:003:004 to signal scan_end
/usr/sbin/scanbd: now sending signal scan_end
/usr/sbin/scanbd: reopen device canon_dr:libusb:003:004
/usr/sbin/scanbd: Can't open device canon_dr:libusb:003:004, Error
during device I/O
/usr/sbin/scanbd: Iteration on dbus call
/usr/sbin/scanbd: polling thread for canon_dr:libusb:003:004
cancellation point
/usr/sbin/scanbd: polling device canon_dr:libusb:003:004
Speicherzugriffsfehler (segementation fault)




More information about the sane-devel mailing list