FAQ

[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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-porters @
categoriesperl
postedFeb 14, '09 at 2:49p
activeFeb 14, '09 at 2:49p
posts1
users1
websiteperl.org

1 user in discussion

Bram via RT: 1 post

People

Translate

site design / logo © 2022 Grokbase