On Sat Nov 28 06:22:27 2015, elizabeth wrote: > [15:04:37] <lizmat> m: Buf.new(0xFE).decode("utf8-c8") # jnthn > might find this interesting > [15:04:38] <+camelia> rakudo-moar 6a45fe: OUTPUT«(signal SEGV)» > [15:08:24] <jnthn> lizmat: Uh, yes...wtf... > [15:08:30] <jnthn> lizmat: Please RT it > > I think it’s related to the fact that it starts with a synthetic, > because: > > $ 6 'say Buf.new(0xFE,ord(“A”)).decode("utf8-c8")' > Segmentation fault: 11 > > whereas if it starts with a non-synthetic: > > $ 6 'say Buf.new(ord("A"),0xFE).decode("utf8-c8")' > AxF > Fixed; test in S32-str/utf8-c8.t.
/jnthn