Your message dated Tue, 27 Dec 2016 01:34:08 +0000
with message-id <e1clgew-000b4y...@fasolo.debian.org>
and subject line Bug#848156: fixed in libtext-unaccent-perl 1.08-1.3
has caused the Debian Bug report #848156,
regarding libtext-unaccent-perl: Segmentation fault on unac_string
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.)


-- 
848156: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848156
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libtext-unaccent-perl
Version: 1.08-1.2+b1
Severity: grave

The most useful method of Text::Unaccent seems to cause a segmentation
fault (which was not the case a few weeks ago):

$ locale
LANG=C
LANGUAGE=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
$ perl -MText::Unaccent -e 'print unac_string("utf-8","a")'
Segmentation fault
$


I tried various locales, to no avail.  I also tried changing "utf-8" to
uppercase and/or removing the dash.  I also tried rebuilding against
current perl, thinking maybe there was an ABI change.

After installing the debug packages, here's the backtrace I get in gdb:

$ gdb perl
GNU gdb (Debian 7.12-1) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from perl...Reading symbols from 
/usr/lib/debug//usr/bin/perl...done.
done.
(gdb) run -MText::Unaccent -e 'print unac_string("utf-8","a")'
Starting program: /usr/bin/perl -MText::Unaccent -e 'print 
unac_string("utf-8","a")'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
__GI___libc_free (mem=0x555500000000) at malloc.c:2963
2963    malloc.c: No such file or directory.
(gdb) bt
#0  __GI___libc_free (mem=0x555500000000) at malloc.c:2963
#1  0x00007ffff6ed5ea4 in unac_string () from 
/usr/lib/x86_64-linux-gnu/perl5/5.24/auto/Text/Unaccent/Unaccent.so
#2  0x00007ffff6ed51dd in XS_Text__Unaccent_unac_string () from 
/usr/lib/x86_64-linux-gnu/perl5/5.24/auto/Text/Unaccent/Unaccent.so
#3  0x00005555556280b0 in Perl_pp_entersub (my_perl=0x555555941010) at 
pp_hot.c:3987
#4  0x00005555556205d6 in Perl_runops_standard (my_perl=0x555555941010) at 
run.c:41
#5  0x00005555555a66e9 in S_run_body (oldscope=1, my_perl=0x555555941010) at 
perl.c:2488
#6  perl_run (my_perl=0x555555941010) at perl.c:2411
#7  0x000055555557f85d in main (argc=<optimized out>, argv=<optimized out>, 
env=<optimized out>) at perlmain.c:116
(gdb) quit
A debugging session is active.

        Inferior 1 [process 21916] will be killed.

Quit anyway? (y or n) y
$ 

I don't know whether the bug lies in libtext-unaccent-perl, in perl
itself, or in libc6.  Feel free to reassign accordingly :-)

Roland.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages libtext-unaccent-perl depends on:
ii  libc6                       2.24-8
ii  perl                        5.24.1~rc4-1
ii  perl-base [perlapi-5.24.1]  5.24.1~rc4-1

libtext-unaccent-perl recommends no packages.

libtext-unaccent-perl suggests no packages.

-- no debconf information

-- 
Roland Mas

Indépendant en informatique libre -- Free software freelance
http://www.gnurandal.com/

--- End Message ---
--- Begin Message ---
Source: libtext-unaccent-perl
Source-Version: 1.08-1.3

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

Debian distribution maintenance software
pp.
Hilko Bengen <ben...@debian.org> (supplier of updated libtext-unaccent-perl 
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: SHA256

Format: 1.8
Date: Thu, 22 Dec 2016 01:46:01 +0100
Source: libtext-unaccent-perl
Binary: libtext-unaccent-perl
Architecture: source
Version: 1.08-1.3
Distribution: unstable
Urgency: medium
Maintainer: Loic Dachary (OuoU) <l...@debian.org>
Changed-By: Hilko Bengen <ben...@debian.org>
Description:
 libtext-unaccent-perl - provides functions to remove accents using UTF16 as a 
pivot
Closes: 848156
Changes:
 libtext-unaccent-perl (1.08-1.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix a few "passing argument ... from incompatible pointer type"
     warnings -- and a segfault. (Closes: #848156)
Checksums-Sha1:
 344483a4b2f84b927c71ea3875bea0b1c3dfb6fc 1781 
libtext-unaccent-perl_1.08-1.3.dsc
 ed5c6c80d96fae6cd17ba5457a8d64c2a7fb34a7 3017 
libtext-unaccent-perl_1.08-1.3.diff.gz
Checksums-Sha256:
 6697b385ff1f409066d4bf79602b462124d26303aa444574a55c8ce260d4e293 1781 
libtext-unaccent-perl_1.08-1.3.dsc
 e9b1ad1889c60c53f23f972e43e80e6ab16b7e621d1201d06893ee5472d1ba47 3017 
libtext-unaccent-perl_1.08-1.3.diff.gz
Files:
 2f9933b5f7a17db39f4af314b7cad90a 1781 interpreters optional 
libtext-unaccent-perl_1.08-1.3.dsc
 e7f56f728608a3f858ef76bae7bcf1a4 3017 interpreters optional 
libtext-unaccent-perl_1.08-1.3.diff.gz

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

iQIzBAEBCAAdFiEErnMQVUQqHZbPTUx4dbcQY1whOn4FAlhbJDwACgkQdbcQY1wh
On6oKBAAnH3Djszd8uTUgIjXyzv3KXUKbHFI1VnT0md4FmJFvOBJoXvgh1adWHxd
jrTpl6MjKZ4gBgSINBEKOwAh6bQIGLMZyhm0r0AFqUZ6B3bOkOmq3S0pLkc797jK
BT/7hbEuM2hl0zM4zY/RAU/32yXHF9FVKQKTXSo4HbNcPq4rHKBnm6/2F3loESV6
1Q3rxLfJ1UXYsMLnfsSr4Mj9LIDc956ClbmOsFNXuSE6G3XeZGfF/4J1XzGzq11O
yPGNS76456nQLjzKmw2+/bZvUAbSjrLKXiAUd/00vLfiNxe8o0W4w6/JI1niQ/B8
+oHomcxoZVpW5B3BsmqFn+4wHAKb4cJeFgDselKFf4yZ3ZQRyegvwx0XQ6TrMopl
j4edTXK0IjHte3jyQ6/dtET7A5q7O1Cyarhn39Rbd5ZmUIs5zAM6TpKi9o6/jOCx
5dmWJ10JgQsvAiU466/BaLytwVjzpWYin2kgm/YeBAx4ElgjP0BOsv1AOgyNFbkC
FamJxY3Rr75EbjVutsW8cMozphY/GFY6mPG62qn7nWOTii7Pi252hnvEBfmfGaIr
rD3hHxwwPACmtp8wtnNx/kkBuSrrCLmCoQtbYwnREFpbzu2BzSnxMphN1LINyP1Y
U5emBbNxm4vuGzkeCpEbDOEbwctAQpGM8mQYlbH/lB6ThLJbyqA=
=r03F
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to