[Pkg-hpijs-devel] Bug#776986: libsane-hpaio: after update hpaio driver causes scanimage segmentation fault

Bernd Krumböck krumboeck at universalnet.at
Tue Feb 3 19:57:06 UTC 2015


Package: libsane-hpaio
Version: 3.14.6-1+b2
Severity: normal

After upgrade I believe libsane-hpaio causes scanimage segmentation fault.


Action:
export SANE_DEBUG_DLL=128
scanimage --help -d hpaio:/net/HP_LaserJet_M1522n_MFP?zc=NPI188989


Output:
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.24
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/libsane-extras
[dll] sane_init/read_config: reading dll.d/libsane-extras
[dll] add_backend: adding backend `ls5000'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/hplip
[dll] sane_init/read_config: reading dll.d/hplip
[dll] add_backend: adding backend `hpaio'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `abaton'
[dll] add_backend: adding backend `agfafocus'
[dll] add_backend: adding backend `apple'
[dll] add_backend: adding backend `avision'
[dll] add_backend: adding backend `artec'
[dll] add_backend: adding backend `artec_eplus48u'
[dll] add_backend: adding backend `as6e'
[dll] add_backend: adding backend `bh'
[dll] add_backend: adding backend `canon'
[dll] add_backend: adding backend `canon630u'
[dll] add_backend: adding backend `canon_dr'
[dll] add_backend: adding backend `cardscan'
[dll] add_backend: adding backend `coolscan'
[dll] add_backend: adding backend `coolscan3'
[dll] add_backend: adding backend `dell1600n_net'
[dll] add_backend: adding backend `dmc'
[dll] add_backend: adding backend `epjitsu'
[dll] add_backend: adding backend `epson2'
[dll] add_backend: adding backend `fujitsu'
[dll] add_backend: adding backend `genesys'
[dll] add_backend: adding backend `gt68xx'
[dll] add_backend: adding backend `hp'
[dll] add_backend: adding backend `hp3900'
[dll] add_backend: adding backend `hpsj5s'
[dll] add_backend: adding backend `hp3500'
[dll] add_backend: adding backend `hp4200'
[dll] add_backend: adding backend `hp5400'
[dll] add_backend: adding backend `hp5590'
[dll] add_backend: adding backend `hpljm1005'
[dll] add_backend: adding backend `hs2p'
[dll] add_backend: adding backend `ibm'
[dll] add_backend: adding backend `kodak'
[dll] add_backend: adding backend `kodakaio'
[dll] add_backend: adding backend `kvs1025'
[dll] add_backend: adding backend `kvs20xx'
[dll] add_backend: adding backend `leo'
[dll] add_backend: adding backend `lexmark'
[dll] add_backend: adding backend `ma1509'
[dll] add_backend: adding backend `magicolor'
[dll] add_backend: adding backend `matsushita'
[dll] add_backend: adding backend `microtek'
[dll] add_backend: adding backend `microtek2'
[dll] add_backend: adding backend `mustek'
[dll] add_backend: adding backend `mustek_usb'
[dll] add_backend: adding backend `mustek_usb2'
[dll] add_backend: adding backend `nec'
[dll] add_backend: adding backend `niash'
[dll] add_backend: adding backend `pie'
[dll] add_backend: adding backend `pixma'
[dll] add_backend: adding backend `plustek'
[dll] add_backend: adding backend `qcam'
[dll] add_backend: adding backend `ricoh'
[dll] add_backend: adding backend `rts8891'
[dll] add_backend: adding backend `s9036'
[dll] add_backend: adding backend `sceptre'
[dll] add_backend: adding backend `sharp'
[dll] add_backend: adding backend `sm3600'
[dll] add_backend: adding backend `sm3840'
[dll] add_backend: adding backend `snapscan'
[dll] add_backend: adding backend `sp15c'
[dll] add_backend: adding backend `tamarack'
[dll] add_backend: adding backend `teco1'
[dll] add_backend: adding backend `teco2'
[dll] add_backend: adding backend `teco3'
[dll] add_backend: adding backend `u12'
[dll] add_backend: adding backend `umax'
[dll] add_backend: adding backend `umax1220u'
[dll] add_backend: adding backend `v4l'
[dll] add_backend: adding backend `xerox_mfp'
Usage: scanimage [OPTION]...

Start image acquisition on a scanner device and write image data to
standard output.

Parameters are separated by a blank from single-character options (e.g.
-d epson) and by a "=" from multi-character options (e.g. --device-name=epson).
-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)
    --format=pnm|tiff      file format of output file
-i, --icc-profile=PROFILE  include this ICC profile into TIFF file
-L, --list-devices         show available scanner devices
-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
                           can be specified: %d (device name), %v (vendor),
                           %m (model), %t (type), %i (index number), and
                           %n (newline)
-b, --batch[=FORMAT]       working in batch mode, FORMAT is `out%d.pnm' or
                           `out%d.tif' by default depending on --format
    --batch-start=#        page number to start naming files with
    --batch-count=#        how many pages to scan in batch mode
    --batch-increment=#    increase page number in filename by #
    --batch-double         increment page number by two, same as
                           --batch-increment=2
    --batch-prompt         ask for pressing a key before scanning a page
    --accept-md5-only      only accept authorization requests using md5
-p, --progress             print progress messages
-n, --dont-scan            only set options, don't actually scan
-T, --test                 test backend thoroughly
-A, --all-options          list all available backend options
-h, --help                 display this help message and exit
-v, --verbose              give even more status messages
-B, --buffer-size=#        change input buffer size (in kB, default 32)
-V, --version              print version information
[dll] sane_open: trying to open
`hpaio:/net/HP_LaserJet_M1522n_MFP?zc=NPI188989'
[dll] load: searching backend `hpaio' in `/usr/lib/x86_64-linux-
gnu/sane:/usr/lib/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] load: couldn't open `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
(No such file or directory)
[dll] load: trying to load `/usr/lib/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hpaio.so.1'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.0
[dll] sane_open: open successful
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=0)
[dll]
sane_control_option(handle=0x7f0e7e807cf0,option=0,action=0,value=0x7fff0d2533bc,info=(nil))
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=0)
[dll]
sane_control_option(handle=0x7f0e7e807cf0,option=0,action=0,value=0x7fff0d2532f0,info=(nil))
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=1)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=2)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=3)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=4)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=5)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=6)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=7)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=8)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=9)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=10)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=11)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=12)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=13)
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=14)
[dll]
sane_control_option(handle=0x7f0e7e807cf0,option=13,action=0,value=0x7f0e7cea5384,info=(nil))
[dll]
sane_control_option(handle=0x7f0e7e807cf0,option=11,action=0,value=0x7fff0d2532f4,info=(nil))
[dll]
sane_control_option(handle=0x7f0e7e807cf0,option=11,action=0,value=0x7fff0d2533d0,info=(nil))
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=13)
[dll]
sane_control_option(handle=0x7f0e7e807cf0,option=13,action=1,value=0x7fff0d2533f0,info=0x7fff0d2532f4)

Options specific to device `hpaio:/net/HP_LaserJet_M1522n_MFP?zc=NPI188989':
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=1)
  Scan mode:
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=2)
[dll]
sane_control_option(handle=0x7f0e7e807cf0,option=2,action=0,value=0x7fff0d253250,info=(nil))
    --mode  [���|]
        Selects the scan mode (e.g., lineart, monochrome, or color).
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=3)
[dll]
sane_control_option(handle=0x7f0e7e807cf0,option=3,action=0,value=0x7fff0d253260,info=(nil))
    --resolution dpi [75]
        Sets the resolution of the scanned image.
[dll] sane_get_option_descriptor(handle=0x7f0e7e807cf0,option=4)
Segmentation fault (core dumped)



-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libsane-hpaio depends on:
ii  libc6        2.19-13
ii  libcups2     1.7.5-10
ii  libdbus-1-3  1.8.12-3
ii  libhpmud0    3.14.6-1+b2
ii  libssl1.0.0  1.0.1k-1

Versions of packages libsane-hpaio recommends:
ii  hplip       3.14.6-1+b2
ii  sane-utils  1.0.24-8

libsane-hpaio suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: core
Type: application/x-coredump
Size: 3403776 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-hpijs-devel/attachments/20150203/402b18d7/attachment-0001.bin>


More information about the Pkg-hpijs-devel mailing list