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


I get a segmentation fault with moar when I run the following command (tested 
on Debian 7 and FreeBSD 10.0):

$ PERL6LIB=$(pwd)/lib:. ./perl6-m t/spec/S05-transliteration/trans.rakudo.moar
1..60
ok 1 - Each side can be individual characters
ok 2 - The two sides of the any pair can be strings interpreted as tr/// would 
multichar
ok 3 - The two sides of the any pair can be strings interpreted as tr/// would 
range
ok 4 - If the first character is a dash it isn't part of a range
Segmentation fault

Other values for PERL6LIB ('lib:.' or '/path/to/rakudo/lib:/path/to/rakudo) 
seem to work: http://pastebin.com/cAzk213S

Also setting MVM_SPESH_INLINE_DISABLE=1 avoids the segfault as FROGGS pointed 
out (link below):
$ PERL6LIB=$(pwd)/lib:. MVM_SPESH_INLINE_DISABLE=1 ./perl6-m 
t/spec/S05-transliteration/trans.rakudo.moar
[... runs as expected, no segfault]

For further discussion see http://irclog.perlgeek.de/perl6/2014-09-24#i_9403093

Reply via email to