develooper Front page | perl.perl5.porters | Postings from December 2013

[perl #43214] "warn" causes segmentation fault in Encode

Thread Previous
From:
James E Keenan via RT
Date:
December 16, 2013 02:58
Subject:
[perl #43214] "warn" causes segmentation fault in Encode
Message ID:
rt-4.0.18-18205-1387162708-1721.43214-15-0@perl.org
On Thu Oct 29 08:56:06 2009, vincent@vinc17.net wrote:
> With perl 5.10.0 and 5.10.1, I no longer get a segmentation fault,
> but the result of Test 4 is incorrect:
> 
> Encoding: ISO-8859-1
> [...]
> Test 4
>     warn: A grave = '\x{09ca}
> 
> without a newline, and under UTF-8 locales:
> 
> Encoding: UTF-8
> [...]
> Test 4
>     warn: A grave = '\xE0'
> 

There has been no correspondence in this RT in more than four years.

Tonight I built Perl blead with -Dusethreads and -Duselargefiles on the Dromedary server, then ran the OP's program.  This was the output:

#####
$ ./perl -Ilib ../p5p/43214-langinfo.pl 
Encoding: UTF-8
Test 1
   print: A grave = '?'
Test 2
    warn: A grave = '?'
Test 3
   print: A grave = 'à'
Test 4
    warn: A grave = 'à'
#####

Is there still a problem which needs addressing?

Thank you very much.
Jim Keenan


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=43214

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About