# New Ticket Created by  Aaron Sherman 
# Please include the string:  [perl #128705]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128705 >


On rakudo version 2016-04 and also the current m: bot version on IRC, this
code segfaults:

$ perl6 -e 'for 0..0xffff -> $i { say $i if $i %% 100; my $c = try {
:16(uniprop($i.chr, "Bidi_Mirroring_Glyph")).chr }; say "{$i.fmt("%04x")}:
{$i.chr} ~ $c" if $c.defined}'
0
100
200
300
400
500
600
700
800
900
1000
1100
Segmentation fault (core dumped)

I think that it's defaulting to uniprop-int, but the odd thing is that
uniprop seems to be returning consecutive integers that aren't related to
the value being tested.

If I call uniprop-str, this works as expected.


--
Aaron Sherman, M.:
P: 617-440-4332 Google Talk, Email and Google Plus: a...@ajs.com
Toolsmith, developer, gamer and life-long student.

Reply via email to