develooper Front page | perl.perl5.porters | Postings from April 2003

Re: [perl #21347] segfault in UNIVERSAL::AUTOLOAD

Thread Previous | Thread Next
Enache Adrian
April 2, 2003 14:59
Re: [perl #21347] segfault in UNIVERSAL::AUTOLOAD
Message ID:
On Wed, Apr 02, 2003 at 09:21:43AM +0200, Rafael Garcia-Suarez wrote:
> > I added a new test file too (t/run/crash.t) to test for this
> > kind of final cleanup crashes, etc. The first test there is
> > for another bug, see
> >
> bug #21347, right ?

Oh no. That's the second. This one :) - see the subject line.

as of that url try also:

$ perl -e 'split /(?{"FOO"})/,"abcde";print @_'

$ perl -e 'split /(?{ split "" })/,"abc"'

under 5.6.1, 5.8.0 and bleadperl.

> OK, I don't like this idea of a new t/run/crash.t.
> I'd put them in t/op/ref.t; or, at least, if you want a new test
> file, "t/op/cleanup.t" ("test for global cleanups") feels better.

I have no naming policy objections. Notice however that's not just
final cleanup - there are many coredump cases, where putting the
test at the end of a bigger script will make it just work fine -
because that's how malloc(3) works in many cases - it will get
a bigger memory chunk than asked, etc.
( the recent [perl #21728], for instance )


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About