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

Re: unhappy darwin -Dusemorebits (was Re: Smoke [5.17.4]v5.17.3-184-g699aa44 FAIL(F) darwin 12.1.0 (Intel Core 2 Duo/))

Thread Previous | Thread Next
From:
Tony Cook
Date:
September 1, 2012 07:15
Subject:
Re: unhappy darwin -Dusemorebits (was Re: Smoke [5.17.4]v5.17.3-184-g699aa44 FAIL(F) darwin 12.1.0 (Intel Core 2 Duo/))
Message ID:
20120901141446.GA27673@mars.tony.develop-help.com
On Fri, Aug 31, 2012 at 04:25:05PM +0100, Nicholas Clark wrote:
> On Fri, Aug 31, 2012 at 12:23:00PM +1000, tony@develop-help.com wrote:
> > Automated smoke report for 5.17.4 patch 699aa4400b98939bcef01fcacb2a255a3c02576e v5.17.3-184-g699aa44
> > neptune.local: iMac (2.4 GHz) (Intel Core 2 Duo/)
> >     on        darwin - 12.1.0 (Mac OS X)
> >     using     cc version 4.2.1 Compatible Apple Clang 4.0 ((tags/Apple/clang-421.0.60))
> >     smoketime 5 hours 30 minutes (average 20 minutes 39 seconds)
> 
> > O O F F     -Duseithreads -Dusemorebits
> > | | | +----- PERLIO = perlio -DDEBUGGING
> > | | +------- PERLIO = stdio  -DDEBUGGING
> 
...
> That seems to be quite a spectacular run of SEGVs:
> Any idea what it might be? eg, does running any of the failing t/op
> tests under valgrind throw up something immediately obvious?

From op/gmagic:

ok 30
==70619== 
==70619== Process terminating with default action of signal 11 (SIGSEGV)
==70619==  General Protection Fault
==70619==    at 0x1000D9DD3: Perl_sv_force_normal_flags (sv.c:9505)
==70619==    by 0x100128101: Perl_leave_scope (scope.c:914)
==70619==    by 0x1000D4ED1: Perl_pp_leavesub (pp_hot.c:2528)
==70619==    by 0x10009EA8A: Perl_runops_debug (dump.c:2134)
==70619==    by 0x100027BE6: Perl_call_sv (perl.c:2676)
==70619==    by 0x1000AF568: Perl_magic_methcall (mg.c:1819)
==70619==    by 0x1000AFABC: S_magic_methcall1 (mg.c:1856)
==70619==    by 0x1000AF9AD: Perl_magic_setpack (mg.c:1914)
==70619==    by 0x1000AAAC9: Perl_mg_set (mg.c:281)
==70619==    by 0x1000C9BF0: Perl_pp_sassign (pp_hot.c:212)
==70619==    by 0x10009EA8A: Perl_runops_debug (dump.c:2134)
==70619==    by 0x100026E77: perl_run (perl.c:2392)

From op/auto.t:

ok 39 - zr incr zs (EBCDIC r,s non-contiguous check)
==63109== 
==63109== Process terminating with default action of signal 11 (SIGSEGV)
==63109==  General Protection Fault
==63109==    at 0x1000D9DD3: Perl_sv_force_normal_flags (sv.c:9505)
==63109==    by 0x1000F767D: Perl_sv_inc_nomg (sv.c:7910)
==63109==    by 0x1000CD41A: Perl_pp_preinc (pp_hot.c:380)
==63109==    by 0x10009EA8A: Perl_runops_debug (dump.c:2134)
==63109==    by 0x100026E77: perl_run (perl.c:2392)
==63109==    by 0x100001779: main (perlmain.c:114)
==63109== 

io/defout.t:

1..16
==73082== 
==73082== Process terminating with default action of signal 11 (SIGSEGV)
==73082==  General Protection Fault
==73082==    at 0x1000D9DD3: Perl_sv_force_normal_flags (sv.c:9505)
==73082==    by 0x1000E6147: Perl_sv_setsv_flags (sv.c:3910)
==73082==    by 0x1000C9BDF: Perl_pp_sassign (pp_hot.c:212)
==73082==    by 0x10009EA8A: Perl_runops_debug (dump.c:2134)
==73082==    by 0x100026E77: perl_run (perl.c:2392)
==73082==    by 0x100001779: main (perlmain.c:114)
==73082== 

    if(SvTYPE(sv) == SVt_PVGV) {
        /* need to keep SvANY(sv) in the right arena */
        xpvmg = new_XPVMG();
-->     StructCopy(SvANY(sv), xpvmg, XPVMG);
        del_XPVGV(SvANY(sv));
        SvANY(sv) = xpvmg;

        SvFLAGS(sv) &= ~SVTYPEMASK;
        SvFLAGS(sv) |= SVt_PVMG;
    }

(gdb) print sv->sv_any
$3 = (void *) 0x1008cc118

rip is 0x1000d9dd3

0x00000001000d9dcf <Perl_sv_force_normal_flags+1263>:   mov    0x0(%r13),%rcx
-->0x00000001000d9dd3 <Perl_sv_force_normal_flags+1267>:   movaps (%rcx),%xmm0
0x00000001000d9dd6 <Perl_sv_force_normal_flags+1270>:   movaps 0x10(%rcx),%xmm1
0x00000001000d9dda <Perl_sv_force_normal_flags+1274>:   movaps 0x20(%rcx),%xmm2
0x00000001000d9dde <Perl_sv_force_normal_flags+1278>:   movaps 0x30(%rcx),%xmm3
0x00000001000d9de2 <Perl_sv_force_normal_flags+1282>:   movaps %xmm3,0x30(%rax)
0x00000001000d9de6 <Perl_sv_force_normal_flags+1286>:   movaps %xmm2,0x20(%rax)
0x00000001000d9dea <Perl_sv_force_normal_flags+1290>:   movaps %xmm1,0x10(%rax)
0x00000001000d9dee <Perl_sv_force_normal_flags+1294>:   movaps %xmm0,(%rax)

Tony

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