doy / package-stash-xs

faster and more correct implementation of the Package::Stash API
4 stars 3 forks source link

segfault on mangled stashes #7

Open wchristian opened 9 years ago

wchristian commented 9 years ago

On Perl 5.18.4 i can reliably reproduce a segfault with this code:

perl -e "{ package E::P; use Moose::Role; } use Moose; *E:: = 1; with q|E::P|;"

The cause seems to directly be P::S::XS, since switching to PP implementation allows the program to run and exit without segfault.