Bug#834961: Processed: tagging 834961

Niko Tyni ntyni at debian.org
Sun Aug 21 14:13:51 UTC 2016


On Sun, Aug 21, 2016 at 03:13:23PM +0200, gregor herrmann wrote:
> On Sun, 21 Aug 2016 15:27:34 +0300, Niko Tyni wrote:

> "\x{00c2}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
> "\x{00a1}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
> "\x{00c3}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
> "\x{00a9}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
> "\x{00c2}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
> "\x{00a1}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
> "\x{fffd}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
> "\x{fffd}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
> "\x{00a9}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.

Interesting. The '\x{fffd}' part is clearly wrong even though the process
survives.  I can reproduce it. It's sensitive to the (seemingly unrelated)
command line arguments.

Running with valgrind:

  % LC_ALL=C valgrind perl -I. Makefile.PL INSTALLDIRS=vendor create_packlist=0
                             
  ==30386== Memcheck, a memory error detector
  ==30386== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
  ==30386== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info
  ==30386== Command: perl -I. Makefile.PL INSTALLDIRS=vendor create_packlist=0
  ==30386== 
  'CREATE_PACKLIST' is not a known MakeMaker parameter name.
  Generating a Unix-style Makefile
  Writing Makefile for Vitacilina
  "\x{00c2}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
  "\x{00a1}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
  "\x{00c3}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
  "\x{00a9}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
  "\x{00c2}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
  "\x{00a1}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
  ==30386== Conditional jump or move depends on uninitialised value(s)
  ==30386==    at 0x52E2D2: Perl_utf8n_to_uvchr (utf8.c:588)
  ==30386==    by 0x7552F4A: encode_method (Encode.xs:193)
  ==30386==    by 0x7553234: XS_Encode__XS_encode (Encode.xs:677)
  ==30386==    by 0x4BDAF9: Perl_pp_entersub (pp_hot.c:3272)
  ==30386==    by 0x4B69A5: Perl_runops_standard (run.c:41)
  ==30386==    by 0x43C212: Perl_call_sv (perl.c:2764)
  ==30386==    by 0x8F92E36: PerlIOEncode_flush (encoding.xs:425)
  ==30386==    by 0x53B74E: Perl_PerlIO_flush (perlio.c:1630)
  ==30386==    by 0x53C31B: PerlIOBuf_write (perlio.c:4165)
  ==30386==    by 0x518364: Perl_do_print (doio.c:1386)
  ==30386==    by 0x4B8815: Perl_pp_print (pp_hot.c:856)
  ==30386==    by 0x4B69A5: Perl_runops_standard (run.c:41)
  ==30386== 
  "\x{fffd}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
  "\x{fffd}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
  "\x{00a9}" does not map to ascii at /usr/share/perl/5.22/ExtUtils/MakeMaker.pm line 1187.
 
So this seems like a bug in either Encode or Perl itself. Will investigate
more later.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list