develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [ID 20010823.013] Core dump new to 5.6.1

Thread Previous | Thread Next
From:
John P. Linderman
Date:
August 26, 2001 08:34
Subject:
Re: [ID 20010823.013] Core dump new to 5.6.1
Message ID:
200108261534.LAA00710@raptor.research.att.com
Ian observed:
> My new bleadperl (DEVEL11741) has the bug still.
> So far, I've only heard from people who don't see the bug :-(
> 
> I don't have bleadperl anywhere except on Linux/686, but Activestate 626 on W98
> also shows it up.
> 
> --- Test program
> #! /usr/local/src/bleadperl/perl
> BEGIN {
>     %actions = (
>         'x' => sub {
>                     eval $_[1];
>                 },
>     );
> }
> 
> $bar="OK\n";
> 
> print &{$actions{'x'}}('', '$bar' ) ;
> __END__
> 
> Traceback
> 
> (gdb) backtrace 
> #0  0x807cec5 in S_pad_findlex (name=0x81131c0 "$bar", newoff=0, seq=0, 
>     startcv=0x811d714, cx_ix=2, saweval=0, flags=0) at op.c:248
> #1  0x807d44f in Perl_pad_findmy (name=0x81131c0 "$bar") at op.c:445
> #2  0x80742bd in S_pending_ident () at toke.c:5178
> #3  0x8068f42 in Perl_yylex () at toke.c:2173
> #4  0x807aabe in Perl_yyparse () at perly.c:1470
> #5  0x80c8861 in S_doeval (gimme=1, startop=0x0) at pp_ctl.c:2908
> #6  0x80ca0a3 in Perl_pp_entereval () at pp_ctl.c:3461
> #7  0x80a2a83 in Perl_runops_debug () at run.c:53
> #8  0x805ee15 in S_run_body (oldscope=1) at perl.c:1589
> #9  0x805eb0b in perl_run (my_perl=0x8113ab0) at perl.c:1510
> #10 0x805c276 in main (argc=2, argv=0xbffff894, env=0xbffff8a0)
>     at perlmain.c:76
> #11 0x400782eb in __libc_start_main (main=0x805c1f0 <main>, argc=2, 
>     ubp_av=0xbffff894, init=0x805b3ac <_init>, fini=0x80f3f1c <_fini>, 
>     rtld_fini=0x4000c130 <_dl_fini>, stack_end=0xbffff88c)
>     at ../sysdeps/generic/libc-start.c:129

If you'd like some company in your misery, it drops core in me as well
(patch 11753) with pretty much the same stack trace.

Summary of my perl5 (revision 5.0 version 7 subversion 2 patch 11753) configuration:
  Platform:
    osname=linux, osvers=2.4.2-2, archname=i686-linux-64int-ld

Oddly enough, it *didn't* coredump on me with 5.6.1 or an intermediate
5.7 release I built back in june (with a previous OS release)

Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.16, archname=i686-linux-64all
    uname='linux gps.research.att.com 2.2.16 #2 wed jun 14 09:15:45 edt 2000 i686 unknown '

So the bug has crept back in sometime between 14 June and now.  -- jpl



Thread Previous | Thread Next


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