On Fri, Apr 01, 2005 at 10:02:59AM +0200, demerphq wrote: > > I can reproduce this with 5.8.6 and 5.9.2 (as of change #24046): > > > > $ perl5.8.6 -e 'eval { /(?{die})/ }; print' > > zsh: segmentation fault perl5.8.6 -e 'eval { /(?{die})/ }; print' > > $ perl5.9.2 -e 'eval { /(?{die})/ }; print' > > zsh: segmentation fault perl5.9.2 -e 'eval { /(?{die})/ }; print' > > $ > > If you omit the print it doesn't segfault with blead as of 20487 and > the segfault is in pp_gvsv() at the line where it says > > PUSHs(GvSV(cGVOP_gv)); > > so it looks like the die breaks something outside of the regex.
die within (?{...}) is just plain broken at the moment due to the way the block is invoked. Whether it coredumps with specific releases is coincidental. Its on my list of things to fix. -- "But Sidley Park is already a picture, and a most amiable picture too. The slopes are green and gentle. The trees are companionably grouped at intervals that show them to advantage. The rill is a serpentine ribbon unwound from the lake peaceably contained by meadows on which the right amount of sheep are tastefully arranged." -- Lady Croom - Arcadia