Created
July 3, 2014 19:15
-
-
Save cognominal/f1cc48cab3ca8bed4257 to your computer and use it in GitHub Desktop.
rakudo on MoarVM crashes with : Segmentation fault: 11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# When writing code to test rakudo hanging on an unclosed =begin | |
# I run into : A segmentation fault. | |
# Also when supressing the last two lines and replacing the EVALed code by one that | |
# does not compile, this is CATCHed,the ok is printed but I still get a stacktrace even | |
# with the try in addition to the catch. | |
use Test; | |
my $thread = Thread.start({ | |
try { | |
CATCH { ok 1, 'non closed "=begin whatever" should fail instead of hanging' } | |
EVAL q:to<END>; | |
=begin pod | |
bleck | |
END | |
} | |
}); | |
sleep 1; | |
$thread.finish; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment