Code: Select all
/usr/bin/perl perl/polymake --ignore-config --script generate_docs /home/fedora/rpmbuild/BUILDROOT/polymake-3.1-0.beta2.fc25.ppc64/usr/share/polymake/doc fulton polytope group graph ideal fan tropical matroid common topaz
Attempt to free unreferenced scalar: SV 0x10031bdeda0, Perl interpreter: 0x100319d0010.
Makefile:186: recipe for target 'release-docs' failed
make: *** [release-docs] Segmentation fault (core dumped)
Code: Select all
Attempt to free unreferenced scalar: SV 0x519f720, Perl interpreter: 0x4830040.
==15318== Invalid read of size 8
==15318== at 0x4294E54: PerlIO__close (perlio.c:1356)
==15318== by 0x4294F33: Perl_PerlIO_close (perlio.c:1372)
==15318== by 0x416FC1F: Perl_parser_free (toke.c:763)
==15318== by 0x423963B: Perl_leave_scope (scope.c:1303)
==15318== by 0x423A007: Perl_pop_scope (scope.c:122)
==15318== by 0x4162523: S_parse_body (perl.c:2355)
==15318== by 0x4162523: perl_parse (perl.c:1650)
==15318== by 0x10000CCF: main (perlmain.c:114)
==15318== Address 0x108011101 is not stack'd, malloc'd or (recently) free'd
A most likely unrelated issue: while looking for the cause of this bug, I noticed that CPlusPlus.xxs contains a copy of struct magic_state from perl's mg.c. However, the definition in CPlusPlus.xxs does not match the definition in perl 5.24.0's mg.c. In particular, the order of the fields mgs_flags and mgs_ss_ix is reversed.