Your message dated Fri, 30 Mar 2007 11:08:46 +0300
with message-id <[EMAIL PROTECTED]>
and subject line Bug#278013: segfault in Perl_hv_free_ent at hv.c:1397
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: perl
Version: 5.8.4-2.3
Severity: important

[I'm setting the severity to important because this bug is a
segfault. It probably could be downgraded to normal, since I doubt it
affects many people.]

[EMAIL PROTECTED]:~/projects/class_modular/trunk$ debugperl -Iblib/lib 
t/01_module.t
1..9
ok 1
ok 2 - load() works
ok 3 - AUTOLOAD works
not ok 4 - override() works
#     Failed test (t/01_module.t at line 68)
ok 5 - can() works
Can't store CODE items at blib/lib/Class/Modular.pm line 288.
# Looks like you planned 9 tests but only ran 5.
# Looks like your test died just after 5.
Segmentation fault (core dumped)


(gdb) bt full
#0  0x080d91da in Perl_hv_free_ent (my_perl=0x81aa008, hv=0x82e228c, 
entry=0x82e5354) at hv.c:1397
        val = (SV *) 0x2
#1  0x080d9792 in S_hfreeentries (my_perl=0x81aa008, hv=0x82e228c) at hv.c:1575
        array = (HE **) 0x82f9ec8
        entry = (HE *) 0x0
        oentry = (HE *) 0x82e5354
        riter = 415
        max = 4095
#2  0x080d9805 in Perl_hv_undef (my_perl=0x81aa008, hv=0x82e228c) at hv.c:1602
        xhv = (XPVHV *) 0x82e16c0
#3  0x080f628e in Perl_sv_clear (my_perl=0x81aa008, sv=0x82e228c) at sv.c:5180
        stash = (HV *) 0x0
#4  0x080f6871 in Perl_sv_free (my_perl=0x81aa008, sv=0x82e228c) at sv.c:5363
        refcount_is_zero = 1
#5  0x080eb8a8 in do_clean_all (my_perl=0x81aa008, sv=0x82e228c) at sv.c:440
No locals.
#6  0x080eb51c in S_visit (my_perl=0x81aa008, f=0x80eb848 <do_clean_all>) at 
sv.c:331
        sva = (SV *) 0x82e2250
        sv = (SV *) 0x82e228c
        svend = (SV *) 0x82e2640
        visited = 2
#7  0x080eb8cd in Perl_sv_clean_all (my_perl=0x81aa008) at sv.c:458
        cleaned = 1
#8  0x08062e56 in perl_destruct (my_perl=0x81aa008) at perl.c:874
        destruct_level = 2
        hv = (HV *) 0x81aab48
#9  0x0805fda5 in main (argc=3, argv=0xbffffa64, env=0xbffffa74) at 
perlmain.c:88
        exitstatus = 0
(gdb) 


This is may be a bug in what Storable is doing, but I'm not entirely
sure.

I'm trying to put together a slightly smaller testcase, but you can
see the effect by uncommenting the override() test in Class::Modular
(on cpan) and running make test;

The corefile will be available at
http://rzlab.ucr.edu/debian/<bugnum>/corefile as soon as I get an ack
from the BTS.


Don Armstrong

-- 
A people living under the perpetual menace of war and invasion is very
easy to govern. It demands no social reforms. It does not haggle over
expenditures on armaments and military equipment. It pays without
discussion, it ruins itself, and that is an excellent thing for the
syndicates of financiers and manufacturers for whom patriotic terrors
are an abundant source of gain.
 -- Anatole France

http://www.donarmstrong.com              http://rzlab.ucr.edu


--- End Message ---
--- Begin Message ---
Package: perl
Version: 5.8.8-1

On Sun, Oct 24, 2004 at 12:59:48AM -0700, Don Armstrong wrote:
> Package: perl
> Version: 5.8.4-2.3
> Severity: important
 
> [EMAIL PROTECTED]:~/projects/class_modular/trunk$ debugperl -Iblib/lib 
> t/01_module.t

> Can't store CODE items at blib/lib/Class/Modular.pm line 288.
> # Looks like you planned 9 tests but only ran 5.
> # Looks like your test died just after 5.
> Segmentation fault (core dumped)

Hi,

a minimal testcase for this is

% perl -mthreads -mStorable -e 'Storable::dclone({ref => sub {}});'
Can't store CODE items at -e line 1.
zsh: segmentation fault  perl -mthreads -mStorable -e 'Storable::dclone({ref => 
sub {}});'

This was fixed in 5.8.8. Closing accordingly (with permission from
the maintainer.)

Cheers,
-- 
Niko Tyni   [EMAIL PROTECTED]

--- End Message ---

Reply via email to