Package: sane-utils
Version: 1.0.22-7.4
Severity: normal

Dear Maintainer,

I tried to use my scanner (CanoScan LIDE 25) connected to pc A using the net 
backend on pc B.
When I try to detect the scanner on B I ran into segfaults, memory corruptions 
and other strange messages.
On my research I found the bugs #586665 and #734103 which describe some similar 
behavior.

In fact as soon as I try using `scanimage -L` to detect the scanner I get a 
segfault as root.
As a normal user it seems to work as expected: The scanner gets found without 
problems.
It seems that the probelm arises before the pc A gets contacted, in the log of 
A there is no trace of B if root calls scanimage.

To allow root to scan (or possibly other users) one has to preload the 
libpthreads library.
For example if I call
> LDPRELOAD=/lib/x86_64-linux-gnu/libpthread.so.0 scanimage -L
then root can also find (and use) the scanner.

A quick ldd output shows that scanimage does not load libpthread in any form.
Thus it might be sufficient to add a compiler flag.

Hope this helps

CW

-- System Information:
Debian Release: 7.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sane-utils depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.49
ii  libavahi-client3       0.6.31-2
ii  libavahi-common3       0.6.31-2
ii  libc6                  2.13-38+deb7u6
ii  libieee1284-3          0.2.11-10
ii  libsane                1.0.22-7.4
ii  libusb-0.1-4           2:0.1.12-20+nmu1
ii  update-inetd           4.43

sane-utils recommends no packages.

Versions of packages sane-utils suggests:
ii  avahi-daemon  0.6.31-2
pn  unpaper       <none>

-- debconf information:
  sane-utils/saned_run: false
  sane-utils/saned_scanner_group: true


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to