Open kappa opened 9 years ago
Two files it fails on are https://github.com/shawnlaffan/biodiverse/blob/master/etc/benchmark_scripts/add_existing_matrices_to_basedata.pl https://github.com/shawnlaffan/biodiverse/blob/master/example_scripts/add_matrix_to_basedata.pl
If I ignore those directories then it works.
--ignore=benchmark,example_scripts
I was using Strawberry perl 5.16.3 for these checks.
Regards, Shawn.
Hm. segmentation fault is caused by Compiler::Lexer. Could you try to upgrade it to latest?
It's already at latest (0.22).
It is interesting that for me on Linux other files pose problems. I have Compiler::Lexer 0.22.
scan-prereqs-cpanfile --ignore=etc
works ok.
Cc: @goccy
If @goccy don't want to continue maintenance the module, we can back to Perl::PrereqScanner(based on PPI)
Perhaps this problem is caused by Perl::PrereqScanner::Lite (also Compiler::Lexer). I'll look that.
I try to parse add_existing_matrices_to_basedata.pl and add_matrix_to_basedata.pl by Compiler::Lexer. But error has not been occurred. Perhaps this problem is Compiler::Lexer's memory management. I'll try to resolve.
Biodiverse is a big and rather complex app: https://github.com/shawnlaffan/biodiverse
It would be great to sum up all different dependencies in the cpanfile.
$ scan-prereqs-cpanfile * Error in `/usr/bin/perl': double free or corruption (!prev): 0x0000000002c97fd0 * Aborted (core dumped) $
Linux shovelnose 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi