Bug#586665: sane-utils: scanimage -L segmentation fault

2014-12-18 Thread Michal Idziorek
Package: sane-utils
Version: 1.0.22-7.4
Followup-For: Bug #586665

Hi, 

I experience the same or a similar bug on Debian Wheezy: 

Most of the time scanimage -L results in one of the following:

1) a segfault
2) ** glibc detected *** scanimage: double free or corruption (out): 
0x7fb01c000f60 ***

Here is the output for the second option:

*** glibc detected *** scanimage: double free or corruption (out): 
0x7eff1720 ***
=== Backtrace: =
/lib/x86_64-linux-gnu/libc.so.6(+0x76a16)[0x7eff11d68a16]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7eff11d6d7bc]
/lib/x86_64-linux-gnu/libc.so.6(fclose+0x14d)[0x7eff11d5996d]
/lib/x86_64-linux-gnu/libnss_files.so.2(_nss_files_getservbyname_r+0x133)[0x7eff05fca7d3]
/lib/x86_64-linux-gnu/libc.so.6(getservbyname_r+0xea)[0x7eff11de792a]
/lib/x86_64-linux-gnu/libc.so.6(+0xb70ba)[0x7eff11da90ba]
/lib/x86_64-linux-gnu/libc.so.6(+0xb76cf)[0x7eff11da96cf]
/lib/x86_64-linux-gnu/libc.so.6(getaddrinfo+0x162)[0x7eff11dace92]
/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1(+0x79e9)[0x7eff0703e9e9]
/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1(sane_net_init+0x3e0)[0x7eff0703f110]
/usr/lib/x86_64-linux-gnu/libsane.so.1(+0x3d50)[0x7eff12285d50]
/usr/lib/x86_64-linux-gnu/libsane.so.1(sane_dll_get_devices+0x8d)[0x7eff122866fd]
scanimage[0x401c9b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7eff11d10ead]
scanimage[0x4038ad]
=== Memory map: 
0040-0040a000 r-xp  fd:00 5918979
/usr/bin/scanimage
0060a000-0060b000 rw-p a000 fd:00 5918979
/usr/bin/scanimage
01692000-016e3000 rw-p  00:00 0  [heap]
7eff-7eff00021000 rw-p  00:00 0 
7eff00021000-7eff0400 ---p  00:00 0 
7eff05db-7eff05dc5000 r-xp  fd:00 2359300
/lib/x86_64-linux-gnu/libgcc_s.so.1
7eff05dc5000-7eff05fc5000 ---p 00015000 fd:00 2359300
/lib/x86_64-linux-gnu/libgcc_s.so.1
7eff05fc5000-7eff05fc6000 rw-p 00015000 fd:00 2359300
/lib/x86_64-linux-gnu/libgcc_s.so.1
7eff05fc6000-7eff05fd1000 r-xp  fd:00 2360060
/lib/x86_64-linux-gnu/libnss_files-2.13.so
7eff05fd1000-7eff061d ---p b000 fd:00 2360060
/lib/x86_64-linux-gnu/libnss_files-2.13.so
7eff061d-7eff061d1000 r--p a000 fd:00 2360060
/lib/x86_64-linux-gnu/libnss_files-2.13.so
7eff061d1000-7eff061d2000 rw-p b000 fd:00 2360060
/lib/x86_64-linux-gnu/libnss_files-2.13.so
7eff061d2000-7eff061d3000 ---p  00:00 0 
7eff061d3000-7eff069d3000 rw-p  00:00 0 
7eff069d3000-7eff06a18000 r-xp  fd:00 2360041
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.2
7eff06a18000-7eff06c17000 ---p 00045000 fd:00 2360041
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.2
7eff06c17000-7eff06c18000 r--p 00044000 fd:00 2360041
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.2
7eff06c18000-7eff06c19000 rw-p 00045000 fd:00 2360041
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.2
7eff06c19000-7eff06c29000 r-xp  fd:00 5912823
/usr/lib/x86_64-linux-gnu/libavahi-client.so.3.2.9
7eff06c29000-7eff06e28000 ---p 0001 fd:00 5912823
/usr/lib/x86_64-linux-gnu/libavahi-client.so.3.2.9
7eff06e28000-7eff06e29000 r--p f000 fd:00 5912823
/usr/lib/x86_64-linux-gnu/libavahi-client.so.3.2.9
7eff06e29000-7eff06e2a000 rw-p 0001 fd:00 5912823
/usr/lib/x86_64-linux-gnu/libavahi-client.so.3.2.9
7eff06e2a000-7eff06e36000 r-xp  fd:00 5912820
/usr/lib/x86_64-linux-gnu/libavahi-common.so.3.5.3
7eff06e36000-7eff07035000 ---p c000 fd:00 5912820
/usr/lib/x86_64-linux-gnu/libavahi-common.so.3.5.3
7eff07035000-7eff07036000 r--p b000 fd:00 5912820
/usr/lib/x86_64-linux-gnu/libavahi-common.so.3.5.3
7eff07036000-7eff07037000 rw-p c000 fd:00 5912820
/usr/lib/x86_64-linux-gnu/libavahi-common.so.3.5.3
7eff07037000-7eff07046000 r-xp  fd:00 1053954
/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1.0.22
7eff07046000-7eff07245000 ---p f000 fd:00 1053954
/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1.0.22
7eff07245000-7eff07246000 rw-p e000 fd:00 1053954
/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1.0.22
7eff07246000-7eff07253000 r-xp  fd:00 1054395
/usr/lib/x86_64-linux-gnu/sane/libsane-abaton.so.1.0.22
7eff07253000-7eff07452000 ---p d000 fd:00 1054395
/usr/lib/x86_64-linux-gnu/sane/libsane-abaton.so.1.0.22
7eff07452000-7eff07453000 rw-p c000 fd:00 1054395
/usr/lib/x86_64-linux-gnu/sane/libsane-abaton.so.1.0.22
7eff07453000-7eff07462000 r-xp  fd:00 1054394

Bug#586665: sane-utils: scanimage -L segmentation fault

2014-11-26 Thread Jörg Frings-Fürst

Hello,

no answer since 1 month.

So I close this bug from 2010.


Thank you for spending your time.

If this bug still occurs please feel free to file a new bug.


CU
Jörg
-- 
pgp Fingerprint: 7D13 3C60 0A10 DBE1 51F8  EBCB 422B 44B0 BE58 1B6E
pgp Key: BE581B6E
CAcert Key S/N: 0E:D4:56

Jörg Frings-Fürst
D-54526 Niederkail

Threema: SYR8SJXB

IRC: j_...@freenode.net
 j_...@oftc.net


signature.asc
Description: This is a digitally signed message part


Bug#586665: sane-utils: scanimage -L segmentation fault

2014-10-26 Thread Jörg Frings-Fürst
tags 586665 + moreinfo
thanks



Hello,

sane-backends release 1.0.24-3 is now in testing.

Please can you check whether the same bug still exists?


CU
Jörg
-- 
pgp Fingerprint: 7D13 3C60 0A10 DBE1 51F8  EBCB 422B 44B0 BE58 1B6E
pgp Key: BE581B6E
CAcert Key S/N: 0E:D4:56

Jörg Frings-Fürst
D-54526 Niederkail

Threema-ID: SYR8SJXB

IRC: j_...@freenode.net, j_...@oftc.net

signature.asc
Description: This is a digitally signed message part.


Bug#586665: sane-utils: scanimage -L segmentation fault

2012-09-03 Thread Adrien
Hi,

I think this bug is still present on my Debian testing :

I am trying to use a HP C3180 scanner, by the network. This scanner is using 
hpaio.

The scanner is connected in usb on my server (Debian stable). It is working 
locally, with scanimage  test.pnm for instance.

On my PC, scanimage -L find the network scanner.
But scanimage segfault on my PC. I joined a backtrace and a ltrace. If you need 
more, please let me know. I don't know if it's related, but xsane find the 
network scanner, but freeze when acquiring an image.

I have to say that scanimage -L does not segfault, but scanimage test.pnm does, 
everytime.

My net.conf contain just the IP address of the server.

Regard

Adrien Grellier
adrien ~/ $ scanimage lol.pnm 
*** glibc detected *** scanimage: double free or corruption (!prev): 
0x012f82c0 ***
=== Backtrace: =
/lib/x86_64-linux-gnu/libc.so.6(+0x75b76)[0x7f32374dfb76]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f32374e48ac]
/lib/x86_64-linux-gnu/libc.so.6(fclose+0x14d)[0x7f32374d0acd]
/lib/x86_64-linux-gnu/libnss_files.so.2(_nss_files_getservbyname_r+0x133)[0x7f32236ed7d3]
/lib/x86_64-linux-gnu/libc.so.6(getservbyname_r+0xea)[0x7f323755b87a]
/lib/x86_64-linux-gnu/libc.so.6(+0xb3caa)[0x7f323751dcaa]
/lib/x86_64-linux-gnu/libc.so.6(+0xb404f)[0x7f323751e04f]
/lib/x86_64-linux-gnu/libc.so.6(getaddrinfo+0x162)[0x7f3237520dd2]
/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1(+0x79e9)[0x7f322c78c9e9]
/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1(sane_net_init+0x3e0)[0x7f322c78d110]
/usr/lib/x86_64-linux-gnu/libsane.so.1(+0x3d50)[0x7f32379f8d50]
/usr/lib/x86_64-linux-gnu/libsane.so.1(sane_dll_get_devices+0x8d)[0x7f32379f96fd]
scanimage[0x402742]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f3237488ead]
scanimage[0x4038ad]
=== Memory map: 
0040-0040a000 r-xp  08:07 930898 
/usr/bin/scanimage
0060a000-0060b000 rw-p a000 08:07 930898 
/usr/bin/scanimage
012a3000-01313000 rw-p  00:00 0  [heap]
7f32236e9000-7f32236f4000 r-xp  08:07 49691  
/lib/x86_64-linux-gnu/libnss_files-2.13.so
7f32236f4000-7f32238f3000 ---p b000 08:07 49691  
/lib/x86_64-linux-gnu/libnss_files-2.13.so
7f32238f3000-7f32238f4000 r--p a000 08:07 49691  
/lib/x86_64-linux-gnu/libnss_files-2.13.so
7f32238f4000-7f32238f5000 rw-p b000 08:07 49691  
/lib/x86_64-linux-gnu/libnss_files-2.13.so
7f322400-7f3224021000 rw-p  00:00 0 
7f3224021000-7f322800 ---p  00:00 0 
7f322b6df000-7f322b6f4000 r-xp  08:07 49001  
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f322b6f4000-7f322b8f4000 ---p 00015000 08:07 49001  
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f322b8f4000-7f322b8f5000 rw-p 00015000 08:07 49001  
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f322b8f5000-7f322b8f6000 ---p  00:00 0 
7f322b8f6000-7f322c0f6000 rw-p  00:00 0  
[stack:27926]
7f322c0f6000-7f322c13a000 r-xp  08:07 106183 
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.1
7f322c13a000-7f322c33a000 ---p 00044000 08:07 106183 
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.1
7f322c33a000-7f322c33b000 r--p 00044000 08:07 106183 
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.1
7f322c33b000-7f322c33c000 rw-p 00045000 08:07 106183 
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.1
7f322c33c000-7f322c34c000 r-xp  08:07 938695 
/usr/lib/x86_64-linux-gnu/libavahi-client.so.3.2.9
7f322c34c000-7f322c54c000 ---p 0001 08:07 938695 
/usr/lib/x86_64-linux-gnu/libavahi-client.so.3.2.9
7f322c54c000-7f322c54d000 r--p 0001 08:07 938695 
/usr/lib/x86_64-linux-gnu/libavahi-client.so.3.2.9
7f322c54d000-7f322c54e000 rw-p 00011000 08:07 938695 
/usr/lib/x86_64-linux-gnu/libavahi-client.so.3.2.9
7f322c54e000-7f322c55a000 r-xp  08:07 938535 
/usr/lib/x86_64-linux-gnu/libavahi-common.so.3.5.3
7f322c55a000-7f322c759000 ---p c000 08:07 938535 
/usr/lib/x86_64-linux-gnu/libavahi-common.so.3.5.3
7f322c759000-7f322c75a000 r--p b000 08:07 938535 
/usr/lib/x86_64-linux-gnu/libavahi-common.so.3.5.3
7f322c75a000-7f322c75b000 rw-p c000 08:07 938535 
/usr/lib/x86_64-linux-gnu/libavahi-common.so.3.5.3
7f322c785000-7f322c794000 r-xp  08:07 942087 
/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1.0.22
7f322c794000-7f322c993000 ---p f000 08:07 942087 
/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1.0.22
7f322c993000-7f322c994000 rw-p e000 08:07 942087 
/usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1.0.22
7f322c994000-7f322c9a1000 

Bug#586665: sane-utils: scanimage -L segmentation fault

2010-06-29 Thread Julien BLACHE
Sam Morris s...@robots.org.uk wrote:

Hi Sam,

 What does the net backend config file (/etc/sane.d/net.conf) look like?

 The only uncommented line is 'localhost'. Commenting that out does fix
 the crash.

Could you keep the current net.conf (with localhost enabled), disable
all backends in dll.conf and dll.d/* except the net backend, then see if
it still segfaults and send me that backtrace?

If it doesn't segfault, you're in for some fun hunting down the faulty
backend; re-enable each backend one by one (keeping the net backend
enabled) until it segfaults again. I truly hope it won't come down to
that :/

Thanks,

JB.

-- 
 Julien BLACHE - Debian  GNU/Linux Developer - jbla...@debian.org 
 
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



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



Bug#586665: sane-utils: scanimage -L segmentation fault

2010-06-29 Thread Sam Morris
On Tue, 2010-06-29 at 18:33 +0200, Julien BLACHE wrote:
 Sam Morris s...@robots.org.uk wrote:
 
 Hi Sam,
 
  What does the net backend config file (/etc/sane.d/net.conf) look like?
 
  The only uncommented line is 'localhost'. Commenting that out does fix
  the crash.
 
 Could you keep the current net.conf (with localhost enabled), disable
 all backends in dll.conf and dll.d/* except the net backend, then see if
 it still segfaults and send me that backtrace?

Here you go:

$ gdb --args scanimage -L
/home/sam/.gdbinit:10: Error in sourced command file:
Undefined command: python.  Try help.

(gdb) r
Starting program: /usr/bin/scanimage -L
[sanei_debug] Setting debug level of dll to 5.
[dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 
1.0.21
[dll] sane_init/read_dlld: processing /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] sane_init/read_dlld: considering /etc/sane.d/dll.d/hplip
[dll] sane_init/read_config: reading dll.d/hplip
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] sane_get_devices
[dll] load: searching backend `net' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-net.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-net.so.1'
[Thread debugging using libthread_db enabled]
Error while reading shared library symbols:
Cannot find new threads: generic error
Cannot find new threads: generic error

(gdb) info threads
Cannot find new threads: generic error

(gdb) bt full
#0  dl_open_worker (a=value optimized out) at dl-open.c:330
args = (struct dl_open_args *) 0x7fff5f219140
file = value optimized out
mode = -2147483647
call_map = value optimized out
__PRETTY_FUNCTION__ =   dl_open_worker
new = (struct link_map *) 0x1c92320
r = value optimized out
reloc_mode = value optimized out
l = value optimized out
any_tls = value optimized out
#1  0x7fd0fb8b95b6 in _dl_catch_error (objname=value optimized 
out, errstring=value optimized out, mallocedp=value optimized out, 
operate=value optimized out, args=value optimized out) at dl-error.c:178
errcode = value optimized out
old = (struct catch * volatile) 0x7fff5f219240
c = {
  objname = 0x300018 Address 0x300018 out of bounds, 
  errstring = 0x0, 
  malloced = 208, 
  env = {{
  __jmpbuf = {2147483649,
7587589709248741286,
-2,
140535547989114,
2,
140734789424032,
7587589709271809958,
7571608668391096230}, 
  __mask_was_saved = 0, 
  __saved_mask = {
__val =   {0,
  140535550135754,
  0,
  140734789423408,
  0,
  140734789423408,
  140535552243072,
  5,
  4177789447,
  140535550137584,
  0,
  7,
  65277960,
  140535545860904,
  140734789423760,
  140535545860936}
  }
}}
}
#2  0x7fd0fb8bd5da in _dl_open (file=0x7fff5f2193a0 
/usr/lib/sane/libsane-net.so.1, mode=-2147483647, 
caller_dlopen=0x7fd0fb6a8c7a, nsid=-2, argc=2, argv=0x101010101010101, 
env=0x7fff5f21c6a0) at dl-open.c:583
args = {
  file = 0x7fff5f2193a0 /usr/lib/sane/libsane-net.so.1, 
  mode = -2147483647, 
  caller_dlopen = 0x7fd0fb6a8c7a, 
  caller_dl_open = 0x7fd0fb4a1f66, 
  map = 0x1c92320, 
  nsid = 0, 
  argc = 2, 
  argv = 0x7fff5f21c688, 
  env = 0x7fff5f21c6a0
}
objname = value optimized out
errstring = value optimized out
malloced = value optimized out
errcode = value optimized out
__PRETTY_FUNCTION__ =   _dl_open
#3  0x7fd0fb4a1f66 in dlopen_doit (a=value optimized out) at 
dlopen.c:67
args = (struct dlopen_args *) 0x7fff5f219360
#4  0x7fd0fb8b95b6 in _dl_catch_error (objname=value optimized 
out, errstring=value optimized out, mallocedp=value optimized out, 
operate=value optimized out, args=value optimized out) at dl-error.c:178
errcode = value optimized out
old = 

Bug#586665: sane-utils: scanimage -L segmentation fault

2010-06-22 Thread Julien BLACHE
Sam Morris s...@robots.org.uk wrote:

Hi,

 [dll] init: initializing backend `net'
 *** glibc detected *** scanimage: double free or corruption (top): 
 0x02157510 ***
 === Backtrace: =
 /lib/libc.so.6(+0x71b16)[0x7f44ba600b16]
 /lib/libc.so.6(cfree+0x6c)[0x7f44ba60588c]
 /lib/libc.so.6(fclose+0x14d)[0x7f44ba5f1a5d]
 /lib/libnss_files.so.2(+0x4dd5)[0x7f44aef1edd5]
 /lib/libnss_files.so.2(_nss_files_gethostbyname4_r+0x2c9)[0x7f44aef1f769]
 /lib/libc.so.6(+0xab4ac)[0x7f44ba63a4ac]
 /lib/libc.so.6(getaddrinfo+0x162)[0x7f44ba63c7a2]
 /usr/lib/sane/libsane-net.so.1(+0x82d7)[0x7f44aff8a2d7]

What does the net backend config file (/etc/sane.d/net.conf) look like?

JB.

-- 
 Julien BLACHE - Debian  GNU/Linux Developer - jbla...@debian.org 
 
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



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



Bug#586665: sane-utils: scanimage -L segmentation fault

2010-06-22 Thread Sam Morris
 What does the net backend config file (/etc/sane.d/net.conf) look like?
 
 JB.

The only uncommented line is 'localhost'. Commenting that out does fix
the crash.

I found that if I downgrade gdb to version 6.8 then I'm able to get the
following backtrace, which seems to point the finger at the v4l module:

Starting program: /usr/bin/scanimage -L
[sanei_debug] Setting debug level of dll to 5.
[dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 
1.0.21
[dll] sane_init/read_dlld: processing /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 `kvs1025'
[dll] add_backend: adding backend `leo'
[dll] add_backend: adding backend `lexmark'
[dll] add_backend: adding backend `ma1509'
[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'
[dll] sane_get_devices
[dll] load: searching backend `xerox_mfp' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-xerox_mfp.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-xerox_mfp.so.1'
[dll] init: initializing backend `xerox_mfp'
[dll] init: backend `xerox_mfp' is version 1.0.11
[dll] load: searching backend `v4l' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-v4l.so.1'
[dll] load: dlopen()ing 

Bug#586665: sane-utils: scanimage -L segmentation fault

2010-06-21 Thread Sam Morris
Package: sane-utils
Version: 1.0.21-2
Severity: normal

$ SANE_DEBUG_DLL=3 scanimage -L
[sanei_debug] Setting debug level of dll to 3.
[dll] sane_init: SANE dll backend version 1.0.12 from sane-backends 1.0.21
[dll] add_backend: adding backend `ls5000'
[dll] add_backend: adding backend `hpaio'
[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 `kvs1025'
[dll] add_backend: adding backend `leo'
[dll] add_backend: adding backend `lexmark'
[dll] add_backend: adding backend `ma1509'
[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'
[dll] sane_get_devices
[dll] load: searching backend `xerox_mfp' in `/usr/lib/sane'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-xerox_mfp.so.1'
[dll] init: initializing backend `xerox_mfp'
[dll] load: searching backend `v4l' in `/usr/lib/sane'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-v4l.so.1'
[dll] init: initializing backend `v4l'
[dll] load: searching backend `umax1220u' in `/usr/lib/sane'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-umax1220u.so.1'
[dll] init: initializing backend `umax1220u'
[dll] load: searching backend `umax' in `/usr/lib/sane'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-umax.so.1'
[dll] init: initializing backend `umax'
[dll] load: searching backend `u12' in `/usr/lib/sane'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-u12.so.1'
[dll] init: initializing backend `u12'
[dll] load: searching backend `teco3' in `/usr/lib/sane'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-teco3.so.1'
[dll] init: initializing backend `teco3'
[dll] load: searching backend `teco2' in `/usr/lib/sane'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-teco2.so.1'
[dll] init: initializing backend `teco2'
[dll] load: searching backend `teco1' in `/usr/lib/sane'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-teco1.so.1'
[dll] init: initializing backend `teco1'
[dll] load: searching backend `tamarack' in `/usr/lib/sane'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-tamarack.so.1'
[dll] init: initializing backend `tamarack'
[dll] load: searching backend `sp15c' in `/usr/lib/sane'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-sp15c.so.1'
[dll] init: initializing backend `sp15c'
[dll] load: searching backend `snapscan' in `/usr/lib/sane'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-snapscan.so.1'
[dll] init: initializing backend `snapscan'
[dll] load: searching