New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odd segfaults with a small grammar #6032
Comments
From @briandfoyThis program consistently segfaults for me: grammar Grammar::Foo { my $res = Grammar::Foo.parse( '\u2603' ); This one blows up and writes a bunch of long hex numbers to the terminal: grammar Grammar::Foo { my $res = Grammar::Foo.parse( 'u2603' ); I stripped this down from a much larger thing I was working on, and And, some details: $ perl6 -v |
From @AlexDanielFWIW, Bisectable points to rakudo/rakudo@d5c6b61 On 2017-01-24 22:58:44, comdog wrote:
|
The RT System itself - Status changed from 'new' to 'open' |
From @jnthnOn Tue, 24 Jan 2017 22:58:44 -0800, comdog wrote:
It golfs further still, it seems. This one also blows up: grammar Grammar::Foo { And is fixed by the removal of the :i, so that's likely playing a role. Will dig further. |
From @jnthnOn Tue, 31 Jan 2017 08:21:34 -0800, jnthn@jnthn.net wrote:
Fixed and covered by tests in S05-metasyntax/longest-alternative.t. The SEGV was due to a lack of validation during NFA construction; fixing that turned it into an error, which was in turn fixed by correcting a bug in the regex to NFA compiler that left a dangling edge. The additional validation caught a second bug, which is also fixed and now spectest covered in the same file. |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#130637 (status was 'resolved')
Searchable as RT130637$
The text was updated successfully, but these errors were encountered: