Subject: | Test segfault under 5.8.9 |
The minimum version in meta for JSON::Tiny is specified as 5.8 but under 5.8.9 the t/20-mojo-json.t test segfaults, on line 255 (just as the comment says it will).
# Huge string
$bytes = encode_json ['a' x 32768];
is_deeply decode_json($bytes), ['a' x 32768], 'successful roundtrip (huge)'; # segfault under 5.8.x.
Changing that test to a smaller string fixes the issue and all other tests pass. The problem seems to be somewhere above 26000 characters but I can't say if that is the same for all machines.