-
Notifications
You must be signed in to change notification settings - Fork 1
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
(and other crashes) when using .hyper #4507
Comments
From perl6@6dof.xyz* How to reproduce (where ip is the attached file): perl6 -e "say 'ip'.IO.lines.hyper.map(* ~~ /:constant @l = (1 ... 255).list; @l ** 4 % '.'/).all.so" * Expected output: True that is, as without .hyper: perl6 -e "say 'ip'.IO.lines.map(* ~~ /:constant @l = (1 ... 255).list; @l ** 4 % '.'/).all.so" * Current output (any of the 5 following ones): False Segmentation fault (core dumped) Internal error: invalid thread ID 471 in GC work pass Can only resume an exception object *** Error in `/home/user/.rakudobrew/glr-nom/install/bin/moar': double free or corruption (!prev): 0x00007ff45c1c70b0 *** |
From perl6@6dof.xyz10.129.92.1 |
From perl6@6dof.xyzAnother way to produce such this issue: perl6 -e "say 'ip'.IO.lines.hyper.map(* ~~ /<{ (1...255).list }> '.'/).all.so" Incompatible MROs in P6opaque rebless Incompatible MROs in P6opaque rebless Method 'NFA' not found for invocant of class 'Any' Cannot invoke this object (REPR: Null, cs = 0) Segmentation fault (core dumped) Incompatible MROs in P6opaque rebless Incompatible MROs in P6opaque rebless Incompatible MROs in P6opaque rebless *** Error in `/home/user/.rakudobrew/glr-nom/install/bin/moar': double free or corruption (fasttop): 0x00007f44484c8360 *** |
From perl6@6dof.xyzAnother way to produce such this issue: perl6 -e "say 'ip'.IO.lines.hyper.map(* ~~ /<{ (1...255).list }> '.'/).all.so" Incompatible MROs in P6opaque rebless Incompatible MROs in P6opaque rebless Method 'NFA' not found for invocant of class 'Any' Cannot invoke this object (REPR: Null, cs = 0) Segmentation fault (core dumped) Incompatible MROs in P6opaque rebless Incompatible MROs in P6opaque rebless Incompatible MROs in P6opaque rebless *** Error in `/home/user/.rakudobrew/glr-nom/install/bin/moar': double free or corruption (fasttop): 0x00007f44484c8360 |
From perl6@6dof.xyzhttp://irclog.perlgeek.de/perl6/2015-09-14#i_11216866
I did some tests, and sadly it still segfaults: $ perl6 -e "say 'ip'.IO.lines.hyper.map(* ~~ /<{ (1...255).list }> '.'/).list" and: $ perl6 -e "say 'ip'.IO.lines.hyper.map(* ~~ /<{ (1...255).list }> '.'/).list" where: $ perl6 --version |
From @jnthnOn Mon Sep 14 13:07:32 2015, perl6@6dof.xyz wrote:
It seems that we do an EVAL when interpolating the regex, and that some issues with thread safety in the Perl 6 compiler (or perhaps in the way it gets code-gen'd) is at least somewhat to blame. This crashes in similar ways: perl6-m -e "await (^1000).map({ start { EVAL '/0|1|2/' } }); say 'ok'" Turning on MVM_CROSS_THREAD_WRITE_LOG shows various suspect things. |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#125978 (status was 'open')
Searchable as RT125978$
The text was updated successfully, but these errors were encountered: