[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-porters
Subject:    Re: [perl #69414] Case-insensitive utf8 matching problem
From:       Tom Christiansen <tchrist () perl ! com>
Date:       2009-09-30 4:33:30
Message-ID: 20502.1254285210 () chthon
[Download RAW message or body]

Whoops, pasted a dup panic for one of those.

Here's 5.10.0's:

    $ env PERL_encoding_test=latin1 perl5.10.0 rddat *[5-8]
    ... NOW RUNNING PROGRAM ...
    found BOM of flavor #2 => 0xfe.0xff at rddat line 81.
    tschuess.dat-5's big endian at rddat line 96.
    tschuess.dat-5 contains => "\x{1f2b3ba4}" does not map to iso-8859-1 at rddat \
line 105, <$imp> line 1.  panic: memory wrap at rddat line 105, <$imp> line 1.
[ Exit 9 ]

And here's 5.10.1's:

    $ env PERL_encoding_test=latin1 perl5.10.1 rddat *[5-8]
    ... NOW RUNNING PROGRAM ...
    found BOM of flavor #2 => 0xfe.0xff at rddat line 81.
    tschuess.dat-5's big endian at rddat line 96.
    tschuess.dat-5 contains => "\x{1f2b3ba4}" does not map to iso-8859-1 at rddat \
line 105, <$imp> line 1.  panic: sv_setpvn called with negative strlen at rddat line \
105, <$imp> line 1. [ Exit 9 ]

And line 105 is:

   102      } 
   103  
   104      print "$infile contains => "; 
   105      print scalar <$imp>;
   106  }

You can see why I split the print into two statements: I was
trying to make sure I knew just what bit was panicking perl.

--tom


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic