develooper Front page | perl.perl5.porters | Postings from September 2006

Re: Change 28877: [PATCH] deal with some gcc warnings

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
September 24, 2006 21:36
Subject:
Re: Change 28877: [PATCH] deal with some gcc warnings
Message ID:
45175CA4.3020900@iki.fi
> 
> op/taint.t SEGVs here:

Huh?

> #0  0x081458a1 in Perl_dounwind (my_perl=0x828b000, cxix=-1) at pp_ctl.c:1417
> 1417        while (cxstack_ix > cxix) {
> (gdb) where
> #0  0x081458a1 in Perl_dounwind (my_perl=0x828b000, cxix=-1) at pp_ctl.c:1417
> #1  0x080c36ba in S_my_exit_jump (my_perl=0x828b000) at perl.c:5298
> #2  0x080c3369 in Perl_my_failure_exit (my_perl=0x828b000) at perl.c:5284
> #3  0x08091d7e in Perl_vcroak (my_perl=0x828b000, 
>     pat=0x82430ff "panic: bad free", args=0xbfbfe560) at util.c:1340
> #4  0x08091db2 in Perl_croak_nocontext (pat=0x82430ff "panic: bad free")
>     at util.c:1350
> #5  0x0808df9e in Perl_safesysfree (where=0x8288600) at util.c:238
> #6  0x08238932 in Perl_reentrant_free (my_perl=0x828b000) at reentr.c:260
> #7  0x080b741e in perl_destruct (my_perl=0x828b000) at perl.c:1269
> #8  0x08060206 in main (argc=2, argv=0xbfbfe694, env=0xbfbfe6a0)
>     at perlmain.c:115
> 
> 
> I don't know why all this happens.

I don't either but please apply the attached patch which removes
that reentr.* bit and another spot in util.c (where I think some
gccs are insane and/or different gcc versions disagree).

> Nicholas Clark
> 


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