develooper Front page | perl.perl5.porters | Postings from December 2004

[perl #7121] segmentation fault in Perl_sv_2bool

From:
Steve Peters via RT
Date:
December 31, 2004 08:57
Subject:
[perl #7121] segmentation fault in Perl_sv_2bool
Message ID:
rt-3.0.11-7121-104886.9.6468203576115@perl.org
> [dlux@spam.sch.bme.hu - Sun Jun 17 17:21:28 2001]:
> 
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
> I got a segfault, here is the stack trace:
> 
> #0  0x80c772b in Perl_sv_2bool (sv=0x81fb7b4) at sv.c:2353
> #1  0x80b8fac in Perl_pp_cond_expr () at pp_hot.c:123
> #2  0x80b863d in Perl_runops_debug () at run.c:53
> #3  0x8066ba3 in Perl_amagic_call (left=0x82fea14, right=0x813f958,
>    method=30,
>     flags=0) at gv.c:1588
> #4  0x80d6341 in Perl_pp_gt () at pp.c:1181
> #5  0x80b863d in Perl_runops_debug () at run.c:53
> #6  0x805dd5f in S_run_body (oldscope=1) at perl.c:1471
> #7  0x805d931 in perl_run (my_perl=0x8140280) at perl.c:1393
> #8  0x805a205 in main (argc=6, argv=0xbffff944, env=0xbffff960) at
>    perlmain.c:52
> #9  0x4006338b in __libc_start_main () from /lib/libc.so.6
> 
> The segfault is caused by a "make test" in the upcoming release of
>    Class::Date 1.1.0. It got the segfault signal after the 58th test
>    case. The module can be downloaded from
>    http://dlux.sch.bme.hu/Class-Date/trace/ directory.
> 
> I am not 100% sure, that it is a perl bug, but I think it is. I use
>    operator overloading and autoloading in this package.
> 
> The problem is disappeared when I run the test case (30_localtime.t)
>    in perl debugger.
> 


I was able to install without problems.  CPAN Testers also shows that
there have been no additional problems going back several years.  



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