-
-
Save kanatohodets/1866987aa59b59931873 to your computer and use it in GitHub Desktop.
perl6-debug-m segfaults on OSX when debugging a program that opens a file and reads lines from it.
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
use v6; | |
my $log = open 'moar_debug_segfault.p6'; | |
for $log.lines -> $line { | |
say $line; | |
} |
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
13:36:43 [~/prog/6perl/moar_debugger_test] btyler$ perl6 moar_debug_segfault.p6 | |
use v6; | |
my $log = open 'moar_debug_segfault.p6'; | |
for $log.lines -> $line { | |
say $line; | |
} | |
13:37:57 [~/prog/6perl/moar_debugger_test] btyler$ perl6-debug-m moar_debug_segfault.p6 | |
>>> LOADING moar_debug_segfault.p6 | |
Segmentation fault: 11 | |
13:38:03 [~/prog/6perl/moar_debugger_test] btyler$ perl6 -v | |
This is perl6 version 2014.01-94-g230a54b built on MoarVM version 2014.01-211-gda1ae55 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment