Your message dated Tue, 24 Sep 2024 20:35:54 +0000
with message-id <e1stcgi-000clx...@fasolo.debian.org>
and subject line Bug#1000652: fixed in glibc 2.40-3
has caused the Debian Bug report #1000652,
regarding /usr/bin/iconv: bus error  iconv -f CP1251 -t UTF-8 wmsal.h -o wmsal.h
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 ow...@bugs.debian.org
immediately.)


-- 
1000652: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000652
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libc-bin
Version: 2.31-13+deb11u2
Severity: normal
File: /usr/bin/iconv

Dear Maintainer,

Steps:

% wget 
https://raw.githubusercontent.com/4creators/jxrlib/master/common/include/wmsal.h
% iconv -f CP1251 -t UTF-8 wmsal.h -o wmsal.h
zsh: bus error  iconv -f CP1251 -t UTF-8 wmsal.h -o wmsal.h

I see this documented as well known error:

https://myotragusbalearicus.wordpress.com/2010/03/10/batch-convert-files-to-utf-8/

For reference:

Program received signal SIGBUS, Bus error.
0x00007ffff7fc0578 in from_gap (irreversible=0x7fffffff5990, 
outend=0x55555556dfc0 "", outptrp=<synthetic pointer>, inend=0x7ffff7fbe69e 
<error: Cannot access memory at address 0x7ffff7fbe69e>,
    inptrp=0x7fffffff5ad8, step_data=0x555555565fd0, step=0x555555565800) at 
../iconv/loop.c:336
336           BODY
(gdb) bt
#0  0x00007ffff7fc0578 in from_gap (irreversible=0x7fffffff5990, 
outend=0x55555556dfc0 "", outptrp=<synthetic pointer>, inend=0x7ffff7fbe69e 
<error: Cannot access memory at address 0x7ffff7fbe69e>,
    inptrp=0x7fffffff5ad8, step_data=0x555555565fd0, step=0x555555565800) at 
../iconv/loop.c:336
#1  gconv (step=0x555555565800, data=0x555555565fd0, inptrp=0x7fffffff5ad8, 
inend=0x7ffff7fbe69e <error: Cannot access memory at address 0x7ffff7fbe69e>, 
outbufstart=0x0, irreversible=0x7fffffff5a70,
    do_flush=0, consume_incomplete=0) at ../iconv/skeleton.c:620
#2  0x00007ffff7dd56bf in __gconv (cd=0x555555565fc0, 
inbuf=inbuf@entry=0x7fffffff5ad8, inbufend=0x7ffff7fbe69e <error: Cannot access 
memory at address 0x7ffff7fbe69e>, outbuf=outbuf@entry=0x7fffffff5ae0,
    outbufend=<optimized out>, irreversible=irreversible@entry=0x7fffffff5a70) 
at gconv.c:78
#3  0x00007ffff7dd50e7 in iconv (cd=<optimized out>, inbuf=0x7fffffff5ad8, 
inbytesleft=0x7fffffff5ad0, outbuf=0x7fffffff5ae0, outbytesleft=0x7fffffff5ae8) 
at iconv.c:52
#4  0x0000555555558274 in ?? ()
#5  0x000055555555780b in ?? ()
#6  0x00007ffff7dd4d0a in __libc_start_main (main=0x5555555575a0, argc=8, 
argv=0x7fffffffdd58, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>, stack_end=0x7fffffffdd48)
    at ../csu/libc-start.c:308
#7  0x0000555555557d1a in ?? ()
(gdb) list
331
332           /* Here comes the body the user provides.  It can stop with
333              RESULT set to GCONV_INCOMPLETE_INPUT (if the size of the
334              input characters vary in size), GCONV_ILLEGAL_INPUT, or
335              GCONV_FULL_OUTPUT (if the output characters vary in size).  */
336           BODY
337         }
338
339       /* Update the pointers pointed to by the parameters.  */
340       *inptrp = inptr;
(gdb)

Thanks

-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'proposed-updates-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0-0.bpo.2-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libc-bin depends on:
ii  libc6  2.31-13+deb11u2

Versions of packages libc-bin recommends:
ii  manpages  5.10-1

libc-bin suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.40-3
Done: Aurelien Jarno <aure...@debian.org>

We believe that the bug you reported is fixed in the latest version of
glibc, 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 1000...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aure...@debian.org> (supplier of updated glibc 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 24 Sep 2024 21:46:16 +0200
Source: glibc
Architecture: source
Version: 2.40-3
Distribution: unstable
Urgency: medium
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aure...@debian.org>
Closes: 328303 1000652
Changes:
 glibc (2.40-3) unstable; urgency=medium
 .
   [ Samuel Thibault ]
   * debian/testsuite-xfail-debian.mk: Avoid tests overflowing memory.
   * debian/testsuite-xfail-debian.mk: Update hurd xfails.
 .
   [ Aurelien Jarno ]
   * debian/rules: build with gcc-14.
   * debian/control.in/main: adjust g++-for-host version on arm64 to ensure
     PAC/BTI support.
   * debian/patches/git-updates.diff: update from upstream stable branch.
   * debian/patches/any/git-iconv-*: backport iconv fixes and improvement from
     upstream master.  Closes: #328303, #1000652.
Checksums-Sha1:
 d96378d7546e6f73183ba9a56cf20860f34a1e78 7550 glibc_2.40-3.dsc
 09a651e8f3e07c2eb71922b855248db1fdc079ff 417288 glibc_2.40-3.debian.tar.xz
 cf383b3d306bafbcc58caf2294dbe6b061acd159 11229 glibc_2.40-3_source.buildinfo
Checksums-Sha256:
 ad595e37545bf472d2ce8de51712121c88ca960d2e5617af6359d795d7d35f84 7550 
glibc_2.40-3.dsc
 1a30c14bc68422b6085c0a4d9f0db2be82dffd7da0bf3090307bbbe237c08f73 417288 
glibc_2.40-3.debian.tar.xz
 408085bbc892ad3df04ff48c1665d94d868f69f35cae96e5e008ce8b39539542 11229 
glibc_2.40-3_source.buildinfo
Files:
 3965b42ac0ddd5751115bfca56465804 7550 libs required glibc_2.40-3.dsc
 6eedbba101473dd163b516a6d9d5a013 417288 libs required 
glibc_2.40-3.debian.tar.xz
 4cbca4b6a5480e8295e32094693461f2 11229 libs required 
glibc_2.40-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmbzGPgACgkQE4jA+Jno
M2tOmw//UBasQYrGcw6S4XdO1wqAqu6T2DAORQXSJdlMjsHGT7O+2xcRydEIXJhx
dASmgTt66apsZKOCy/Ew+V8WrdQ6riaZyxF7rMxxPwu7Mg5tms1T+xf9tEqD/zJH
Qnn22/ZVT2U8pRNZ9Dgq/sIYVbIQSZLuQso56+Q3YYGAdnhi4KJlhZHX4NTMCHlu
pcCM411BMHgqvMm05GdE1iZnR9QW50eyM4c73v+lZxhMIubPcksOKMTMKEbJG9rL
6BYpegDSQ22j41+ffTjNu7fkyjdwG0zHQP2i81kWEyjIqBB+gv/CXnRgGSZCWFRO
oaWda0hk/kowcH8E35pDrPusA8jlbMsB3EBBVcOKat2TcWyrCD3A8MtEWeiCFa8r
3zEbvKaGg3RANcuGQk5upulchHssG8wn2jDvEswG2Kq5P7VBN9Lt7uM2iG3FoXGj
DDEj0E8JpLvSodzit4PRueZyGJmINN9sAmYqyBgXBXXHO3DBJakamNwV1s9uho/T
wjBkD9dP64p5rd/30k9eFNXIyTHz61rveKYYuFv8g1DoZOVhwOvmt00P2+lh2gXK
OPv55tdZjEtp4PTuZshZKfiSUXkLLuUSc57bB4wDC2Jr5Hrw/o6Z5TCOSDKQSI3j
iGUIW3CImucJuJOGlzqx55F3xdhNpFr/0/RwVu5UlQ81GyAyPHg=
=l0zl
-----END PGP SIGNATURE-----

Attachment: pgpOiBTI4Y8nT.pgp
Description: PGP signature


--- End Message ---

Reply via email to