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
Segfault when -Ilib
while running a file that does use lib <lib>
and loads some modules
#6326
Comments
From @zoffixznetTo get code that segfaults: cd $(mktemp -d); git clone https://github.com/zoffixznet/perl6-Temp-Path . ; git checkout ca5ab2816705cf36911b91e4029224b4d4644a2d; Now run this several times and it'll segfault ~50% of the time: The test file already does `use lib <lib>` and if you remove `-Ilib` switch, the segfault seems to disappear: perl6 t/03-DESTROY.t I tried making a small test case that just had a dummy module and was doing `use lib <lib>` but that didn't segfault. Perhaps it's got to do with loading some installed modules? |
From @zoffixznetAlso noticed another failure mode in a more recent version[^1] of the test file: fails (likely due to segv): prove -e 'perl6 -Ilib' -r t/03-DESTROY.t And removing the `-Ilib` from prove line didn't help it, but removing the `use lib` from the |
From @zoffixznetFWIW, it segfaults like below, not during module loading: cpan@toaster:/tmp/tmp.KcLTWw3PYk$ perl6 -Ilib t/03-DESTROY.t And I tried running with RAKUDO_MODULE_DEBUG enabled but then it doesn't segfault. |
From @zoffixznetSome discussion: https://irclog.perlgeek.de/perl6-dev/2017-06-11#i_14715962 02:00 ugexe well, i have a good idea what it is then |
From @ugexeThis appears to be resolved - possibly in rakudo/rakudo@37250ed |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#131510 (status was 'open')
Searchable as RT131510$
The text was updated successfully, but these errors were encountered: