Your message dated Tue, 27 Jul 2021 18:33:38 +0000
with message-id <[email protected]>
and subject line Bug#988343: fixed in sane-backends 1.0.31-4.1
has caused the Debian Bug report #988343,
regarding libsane1: Segmentation fault in hp4200.c:1501
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
988343: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988343
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsane1
Version: 1.0.31-4
When I scan a document with simple-scan, which uses libsane1 in Debian
Bullseye the application crashes with a segmentation fault when I slick
the "scan" button.
I am using a HP, Inc ScanJet 4200c ( 03f0:0105 ) scanner.
I started simple-scan in gdb and got this backtrace:
-------------------
__memset_avx2_erms () at
../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:151
Download failed: Invalid argument. Continuing without source file
./string/../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S.
151 ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: No such
file or directory.
(gdb) bt
#0 __memset_avx2_erms () at
../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:151
#1 0x00007fffd9cb308f in memset (__len=1073217600, __ch=0,
__dest=<optimized out>) at
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:71
#2 do_fine_calibration (s=0x7fffd40e8850, coarse=0x7fffdb6009a0) at
hp4200.c:1501
#3 0x0000000000000000 in ()
(gdb) list *do_fine_calibration
0x7fffd9cb2cb0 is in do_fine_calibration (hp4200.c:1366).
Download failed: Invalid argument. Continuing without source file
./backend/hp4200.c.
1361 hp4200.c: No such file or directory.
(gdb) q
-------------------
I applied this patch to libsane1 and then the bug was gone and scanning
was working again:
https://gitlab.com/sane-project/backends/-/commit/acc5ca499f67ed1c8c42242fcf87358e7968e71d
Hauke
--- End Message ---
--- Begin Message ---
Source: sane-backends
Source-Version: 1.0.31-4.1
Done: Adrian Bunk <[email protected]>
We believe that the bug you reported is fixed in the latest version of
sane-backends, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adrian Bunk <[email protected]> (supplier of updated sane-backends package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 25 Jul 2021 20:15:13 +0300
Source: sane-backends
Architecture: source
Version: 1.0.31-4.1
Distribution: unstable
Urgency: medium
Maintainer: Jörg Frings-Fürst <[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Closes: 982243 988343
Changes:
sane-backends (1.0.31-4.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Backport fixes from 1.0.32:
- plustek-usbhw: Work around discovery problem for CanoScan N650U
with 1ms sleep, thanks to Kai von Krbek. (Closes: #982243)
- hp4200: Fix crashes caused by incorrectly sized memset,
thanks to Hauke Mehrtens. (Closes: #988343)
Checksums-Sha1:
a81b7b0ee6066b212c90c76c2c22f06c02a4aa33 2474 sane-backends_1.0.31-4.1.dsc
522a3cdba51172d7e172b23cf358d534aafd3dbc 79072
sane-backends_1.0.31-4.1.debian.tar.xz
Checksums-Sha256:
5009c4ae17857829133d7b65e1117d709f1dacbd3ab2b5103dd3701000d90f43 2474
sane-backends_1.0.31-4.1.dsc
13f6acf46b9ee560f4bd7c86fcf973e0bda5a1e69679c5b6e7f77ebfbfd0fc11 79072
sane-backends_1.0.31-4.1.debian.tar.xz
Files:
b09b9ba72bc470649982285d2c4a35e3 2474 graphics optional
sane-backends_1.0.31-4.1.dsc
44c991c7bade3f8bc00739b1774ede3c 79072 graphics optional
sane-backends_1.0.31-4.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmD9p50ACgkQiNJCh6LY
mLFfTw//bQVuhgpSuyoFUUlNtcWv2COiail58qABYX8YWwKNazt3ZXYrAexvtYiC
TOBitFkTnZ98qYQsr9HomJ08A8FIyXvLLd9p2rpVkhlJ+82Ztg4Yp2FT74JVLVqJ
gGFy5MCzEVZFRMn2PkyfYb+81BYkffD8u9uQDYwA8GOxRZrbp04vLMcQfRVhe/3B
99rRXeSUVaMXK6+6x5LIT5omFrq/9s48yC994cY9p0/R9i/FLhdgOgITPDpx7+zP
+k49GE0GnfRNdBJLAVF6is4gXUpl2K0DrBPEo85Mc3A9BVZ8eEIXxu6uMlse926t
rWjSASsicL8YDAWSSbi6N1Ff3vxBJmHwfg745x+y8fi++tf+/1juqrhV94PZQwKh
qTcbQ1aRztpCbMBG62J5aa2mpzFEWmVp0C7rMuaJxQToRAF1iIDrxLXDnnuKb1kO
MFTszlCMNt5XfllEqArfEDYBFcREhe/XsL+S9iQ/qSNwqmTPCoSEAG26PTJaUkBo
wCnZTWC4S/xo/9HhYGhdbV7xi0DXZV85/jTU9cqbFOzhiOW8aiPMvET8vaAFZ7Tc
KBhIvD9MO2cffz5Lo/q6YFTqqZZomxhRCfCA7MDObWLG+Csxi/EpXosvyGGWL+7C
3HJTX96ZFEGUJV55FdV4C+eX8OPqGxafvUqAPzJxBXqD2N24ObU=
=9Du1
-----END PGP SIGNATURE-----
--- End Message ---