> [EMAIL PROTECTED] - Sat Aug 20 19:14:14 2005]:
> 
> 
> This is a bug report for perl from [EMAIL PROTECTED],
> generated with the help of perlbug 1.35 running under perl v5.8.6.
> 
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
> Source w/syntax error causes crash of Perl.
> 
> Unfortunately unable to minimize some reproducible case. It occurs in
>    mod_perl
> environment. Prepared reproducibility binary kit (Fedora Core 4
>    based):
>       http://www.jankratochvil.net/priv/perl-semicolon-crash-2005082100-
>    chrooted.tar.gz
> 
> Everything contained inside, reproducible by:
>       chroot /tmp/chrooted/ /usr/sbin/httpd -d
>    /home/lace/www/engine/etc/httpd -DPERL -X
> 
> Tried also perl-5.8.7 (ported myself) and it still crashes. All the
>    binaries
> tried only in their Fedora Core 4 variants.
> 
> Source fix to avoid this bug:
> --- home/lace/www/www.jankratochvil.net/project/captive/CVS.pm-orig
>    2005-08-21 11:00:52.058785000 +0900
> +++ home/lace/www/www.jankratochvil.net/project/captive/CVS.pm        2005-
>    08-21 11:01:02.607094776 +0900
> @@ -99,7 +99,7 @@
>                                               .'<hr />requirement: '
>                                               .a_href('http://linux-
>    ntfs.sourceforge.net/downloads.html#downloads','ntfsprogs')
>                                               .' '.$format.' &ge; 1.8.0'
> -                                     .'</td></tr></table>';
> +                                     .'</td></tr></table>'
>                               .'</td></tr></table>';
>       };
> 
> 
> Extracted relevant part from gdb(1):
> 
> #0  Perl_pad_free (my_perl=0x8390f10, po=29) at pad.c:1171
> 1171          SvPADTMP_off(PL_curpad[po]);
> (gdb) bt
> #0  Perl_pad_free (my_perl=0x8390f10, po=29) at pad.c:1171
> #1  0x00e1fafa in Perl_op_clear (my_perl=0x8390f10, o=0x8878480) at
>    op.c:516
> #2  0x00e1fe49 in Perl_op_free (my_perl=0x8390f10, o=0x8878480) at
>    op.c:380
> #3  0x00e1fe04 in Perl_op_free (my_perl=0x8390f10, o=0x88784a8) at
>    op.c:368
> #4  0x00e1fe04 in Perl_op_free (my_perl=0x8390f10, o=0x88a7ac8) at
>    op.c:368
> #5  0x00e1fe04 in Perl_op_free (my_perl=0x8390f10, o=0x88a7b10) at
>    op.c:368
> #6  0x00e1fe04 in Perl_op_free (my_perl=0x8390f10, o=0x88a7aa0) at
>    op.c:368
> #7  0x00e2daff in Perl_newATTRSUB (my_perl=0x8390f10, floor=293,
>    o=0x88a74a0, proto=0x0, attrs=0x0, block=0x88a7aa0)
>     at op.c:4376
> #8  0x00e1d536 in Perl_yyparse (my_perl=0x8390f10) at perly.y:355
> #9  0x00e95628 in S_doeval (my_perl=0x8390f10, gimme=0, startop=0x0,
>    outside=0x0, seq=137958892) at pp_ctl.c:2847
> #10 0x00e9c277 in Perl_pp_require (my_perl=0x8390f10) at pp_ctl.c:3344
> #11 0x003e5026 in modperl_perl_global_request_restore () from
>    /home/lace/www/engine/etc/httpd/modules/mod_perl.so
> #12 0x00e436e1 in Perl_runops_debug (my_perl=0x8390f10) at dump.c:1449
> #13 0x00df0b9e in S_call_body (my_perl=0x8390f10, myop=0x19,
>    is_eval=58) at perl.c:2299
> #14 0x00df3c73 in Perl_eval_sv (my_perl=0x8390f10, sv=0x83a37a0,
>    flags=2) at perl.c:2363
> #15 0x003db8f8 in modperl_require_module () from
>    /home/lace/www/engine/etc/httpd/modules/mod_perl.so
> #16 0x003d6d0d in modperl_cmd_modules () from
>    /home/lace/www/engine/etc/httpd/modules/mod_perl.so
> #17 0x00d52e02 in ap_add_named_module () from /usr/sbin/httpd
> #18 0x00d532f9 in ap_walk_config () from /usr/sbin/httpd
> #19 0x00d53839 in ap_process_config_tree () from /usr/sbin/httpd
> #20 0x00d5766b in main () from /usr/sbin/httpd
> (gdb) p my_perl->Tcurpad[po]
> $1 = (SV *) 0x19
> (gdb) up
> #1  0x00e1fafa in Perl_op_clear (my_perl=0x8390f10, o=0x8878480) at
>    op.c:516
> 516           pad_free(o->op_targ);
> (gdb) p *o
> $2 = {op_next = 0x8878460, op_sibling = 0x8878460, op_ppaddr =
>    0xe5a962 <Perl_pp_concat>, op_targ = 29, op_type = 66,
>   op_seq = 0, op_flags = 70 'F', op_private = 2 '\002'}
> (gdb) p *o->op_next
> $3 = {op_next = 0x88784a8, op_sibling = 0x0, op_ppaddr = 0xe5a3c0
>    <Perl_pp_const>, op_targ = 0, op_type = 5, op_seq = 0,
>   op_flags = 2 '\002', op_private = 0 '\0'}
> 
> 
> 

You mentioned that this problem occured while using mod_perl.  What
version of mod_perl?  Also, what version of Apache?  Also, do you have
anything smaller that a 22MB file that demonstrates this problem?

Reply via email to