develooper Front page | perl.perl5.porters | Postings from February 2009

[perl #61202] Bad overloading might cause segfault

From:
Bram via RT
Date:
February 15, 2009 09:25
Subject:
[perl #61202] Bad overloading might cause segfault
Message ID:
rt-3.6.HEAD-12283-1234622942-830.61202-15-0@perl.org
> [Please describe your issue here]
> Bad overloading might cause segfault.
> Try "perl main.pl" and you might see "panic: restartop" and then
> segmentation fault.
> 
> Attached: main.pl, BadOverload.pm, UseBadOverload.pm
> 

Binary search:

----Program----
#!perl -w
use lib qw#/tmp/rt-61202#;
use UseBadOverload;

----Output of ...l/pB8YGAR/perl-5.7.0@8130/bin/perl----
Can't resolve method `invalid_handler_name' overloading `""' in package 
`BadOverload' at /tmp/rt-61202/BadOverload.pm line 7.
BEGIN failed--compilation aborted at /tmp/rt-61202/UseBadOverload.pm 
line 6.
Compilation failed in require at /tmp/rt-61202/main.pl line 3.
BEGIN failed--compilation aborted at /tmp/rt-61202/main.pl line 3.

----EOF ($?='65280')----
----Output of ...l/p1CVwyV/perl-5.7.0@8131/bin/perl----
panic: restartop
Use of uninitialized value in null operation at /tmp/rt-61202/main.pl 
line 3.

----EOF ($?='11')----


http://public.activestate.com/cgi-bin/perlbrowse/p/8131
Change 8131 by jhi@alpha on 2000/12/15 15:38:30

	Subject: [PATCH 5.7.0] speeding up object creation/destruction 
4x times
	From: Ilya Zakharevich <ilya@math.ohio-state.edu>
	Date: Fri, 15 Dec 2000 05:26:57 -0500
	Message-ID: <20001215052657.A8319@math.mps.ohio-state.edu>


I guess the speed up had side effects...


Kind regards,

Bram






nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About