-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
excellent -- I see it's being discussed on p5p now. thanks for doing that. (fwiw, that one-liner doesn't crash on Ubuntu Hoary's perl 5.8.3.) - --j. John Narron writes: > > > > unfortunately, I'm not sure if there's a workable workaround for that. > > > > if you can come up with a pure-perl, non-spamassassin-based > > test case, it might be worth reporting it to the perl > > maintainers via "perlbug"... > > sounds like they've made some stack-size assumptions that are > > not valid on FreeBSD by default. > > > > - --j. > > Actually I do have some test-cases. > > http://noaa.cdsinet.net/~zeek/test-good.txt.gz > http://noaa.cdsinet.net/~zeek/test-bad.txt.gz > > These are the results from the 'x $evalstr'. The test-bad is the full > $evalstr that causes the bus errors, and test-good is one that doesn't. > Add just one if() block to test-good and it fails. > > Also: > > perl -e 'my $x = q[if ($h->{ALPHA}->{BETA}->{q{stuff}}) {] . "\n" . q[ > stuff($h, @_);] . "\n}\n\n"; $x x= 7238; $x =~ s/stuff/"stuff" . > ++$count/eg; eval $x' > > (that should be all on one line). Adjust the number after x= until it > errors out. 7239 crashes for me, 7238 doesn't. > > John Narron | "Sacrifice, they always say > Network Administration | Is a sign of nobility > CDS/CDSinet, LLC | But where does one draw the line > http://www.cdsinet.net | In the face of injury?" > (660) 886 4045 | - Queensryche -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Exmh CVS iD8DBQFC5+YSMJF5cimLx9ARAiJfAKCU7Kgl8rwiOjs/9wmqT7hTpsReBACgkf9I 3DO7v3TRGXv+yGD/BsNJwjk= =AnBQ -----END PGP SIGNATURE-----