From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25675 invoked by alias); 14 Jan 2015 02:19:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 25550 invoked by uid 48); 14 Jan 2015 02:18:38 -0000 From: "fragabr at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64590] Firefox 34 triggers GCC AVX bug (segfault: XPCCallContext::GetJSContext (this=0xfffc7fffe3e23980)) Date: Wed, 14 Jan 2015 02:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fragabr at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg01102.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64590 --- Comment #3 from D=C3=A2niel Fraga --- (In reply to Andrew Pinski from comment #2) > Also can you try without "-floop-interchange -floop-strip-mine -floop-blo= ck" > Since those are part of Graphite which might be the cause of the bug rath= er > than the vectorizer. Hi Andrew, unfortunately I don't have a simplified testcase, since I don't = know exactly what's causing this. I compiled without "-floop-interchange -floop-strip-mine -floop-block" and = it also segfaulted: Assertion failure: !rt->isHeapBusy(), at /home/fraga/src/mozilla/js/src/jsapi.cpp:176 Program received signal SIGSEGV, Segmentation fault. 0x00007ffff4538d0c in js::AssertHeapIsIdle (rt=3D) at /home/fraga/src/mozilla/js/src/jsapi.cpp:176 176 JS_ASSERT(!rt->isHeapBusy()); (gdb) bt #0 0x00007ffff4538d0c in js::AssertHeapIsIdle (rt=3D) at /home/fraga/src/mozilla/js/src/jsapi.cpp:176 #1 0x00007ffff454da1d in AssertHeapIsIdle (rt=3D) at ../../dist/include/js/Value.h:1694 #2 AssertHeapIsIdle (cx=3D0x7fffffff7720) at /home/fraga/src/mozilla/js/src/jsapi.cpp:182 #3 JS_ValueToObject (cx=3Dcx@entry=3D0x7fffffff7720, value=3D$jsval((JSObj= ect *) 0x7fffdee21780 [object Proxy]), objp=3D..., objp@entry=3D0x0) at /home/fraga/src/mozilla/js/src/jsapi.cpp:385 #4 0x00007ffff27e244b in nsXPCComponents_Utils::EvalInSandbox (this=3D, source=3D..., sandboxVal=3D$jsval((JSObject *) 0x7fffdee21780 [object Proxy]), version=3D...,=20 filenameArg=3D..., lineNumber=3D0, cx=3D0x7fffffff7720, optionalArgc=3D= 64 '@', retval=3D$jsval(6.9533335314284608e-310)) at /home/fraga/src/mozilla/js/xpconnect/src/XPCComponents.cpp:2635 #5 0x00007ffff22fb49e in NS_InvokeByIndex (that=3D, methodIndex=3D, paramCount=3D, params=3D) at /home/fraga/src/mozilla/xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_uni= x.cpp:164 #6 0x00007ffff2826040 in Invoke (this=3D0x7fffffff7850) at /home/fraga/src/mozilla/js/xpconnect/src/XPCWrappedNative.cpp:2370 #7 CallMethodHelper::Call (this=3D0x7fffffff7850) at /home/fraga/src/mozilla/js/xpconnect/src/XPCWrappedNative.cpp:1731 #8 0x00007ffff2823809 in XPCWrappedNative::CallMethod (ccx=3D..., mode=3Dmode@entry=3DXPCWrappedNative::CALL_METHOD) at /home/fraga/src/mozilla/js/xpconnect/src/XPCWrappedNative.cpp:1698 #9 0x00007ffff282b783 in XPC_WN_CallMethod (cx=3D0x7fffe66148c0, argc=3D, vp=3D0x7fffffff7b50) at /home/fraga/src/mozilla/js/xpconnect/src/XPCWrappedNativeJSOps.cpp:1288 #10 0x00007fffe67482e0 in ?? () #11 0x0000000000000000 in ?? () ******************************************** I knew it wouldn't be related to Graphite since it will not crash if I comp= ile with Graphite and -march=3Dnehalem. Any hints? >>From gcc-bugs-return-473109-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 14 02:58:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7261 invoked by alias); 14 Jan 2015 02:58:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7218 invoked by uid 48); 14 Jan 2015 02:58:42 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64590] Firefox 34 triggers GCC AVX bug (segfault: XPCCallContext::GetJSContext (this=0xfffc7fffe3e23980)) Date: Wed, 14 Jan 2015 02:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg01103.txt.bz2 Content-length: 610 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64590 --- Comment #4 from Andrew Pinski --- (In reply to D=C3=A2niel Fraga from comment #3) > (In reply to Andrew Pinski from comment #2) > > Also can you try without "-floop-interchange -floop-strip-mine -floop-b= lock" > > Since those are part of Graphite which might be the cause of the bug ra= ther > > than the vectorizer. >=20 > Hi Andrew, unfortunately I don't have a simplified testcase, since I don't > know exactly what's causing this. You did not answer my question: "Also what instruction is the segfault loca= ted on"? >>From gcc-bugs-return-473110-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 14 03:04:45 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10057 invoked by alias); 14 Jan 2015 03:04:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 9750 invoked by uid 48); 14 Jan 2015 03:04:37 -0000 From: "fragabr at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64590] Firefox 34 triggers GCC AVX bug (segfault: XPCCallContext::GetJSContext (this=0xfffc7fffe3e23980)) Date: Wed, 14 Jan 2015 03:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fragabr at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg01104.txt.bz2 Content-length: 690 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64590 --- Comment #5 from D=C3=A2niel Fraga --- (In reply to Andrew Pinski from comment #4) > You did not answer my question: "Also what instruction is the segfault > located on"? Sorry. I read too fast. Do you mean AVX instruction? I put AVX at the title because the segfault won't happen when compiling for Nehalem (or with -mno-avx). I don't know what specific instruction is causing this (what I k= now is that the segfault will only happen when AVX optimization is enabled). If you tell me a way to discover what instruction or how to better debug th= is, jusk ask and I can test here for you. Thanks you. >>From gcc-bugs-return-473111-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 14 03:06:29 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11166 invoked by alias); 14 Jan 2015 03:06:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 11148 invoked by uid 48); 14 Jan 2015 03:06:25 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64590] Firefox 34 triggers GCC AVX bug (segfault: XPCCallContext::GetJSContext (this=0xfffc7fffe3e23980)) Date: Wed, 14 Jan 2015 03:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg01105.txt.bz2 Content-length: 316 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64590 --- Comment #6 from Andrew Pinski --- (In reply to D=C3=A2niel Fraga from comment #5) > If you tell me a way to discover what instruction or how to better debug > this, jusk ask and I can test here for you. Try: disassemble $pc,$pc >>From gcc-bugs-return-473112-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 14 03:20:47 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 15212 invoked by alias); 14 Jan 2015 03:20:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15181 invoked by uid 48); 14 Jan 2015 03:20:38 -0000 From: "fragabr at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64590] Firefox 34 triggers GCC AVX bug (segfault: XPCCallContext::GetJSContext (this=0xfffc7fffe3e23980)) Date: Wed, 14 Jan 2015 03:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fragabr at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg01106.txt.bz2 Content-length: 376 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64590 --- Comment #7 from D=C3=A2niel Fraga --- (In reply to Andrew Pinski from comment #6) > Try: > disassemble $pc,$pc (gdb) disassemble $pc,$pc Dump of assembler code from 0x7ffff4538d0c to 0x7ffff4538d0c: End of assembler dump. *********** Empty dump? Is this correct or I did something wrong? >>From gcc-bugs-return-473113-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 14 03:28:12 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 18482 invoked by alias); 14 Jan 2015 03:28:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 18446 invoked by uid 48); 14 Jan 2015 03:28:04 -0000 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64590] Firefox 34 triggers GCC AVX bug (segfault: XPCCallContext::GetJSContext (this=0xfffc7fffe3e23980)) Date: Wed, 14 Jan 2015 03:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg01107.txt.bz2 Content-length: 486 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64590 --- Comment #8 from Andrew Pinski --- (In reply to D=C3=A2niel Fraga from comment #7) > (In reply to Andrew Pinski from comment #6) > > Try: > > disassemble $pc,$pc >=20 > (gdb) disassemble $pc,$pc > Dump of assembler code from 0x7ffff4538d0c to 0x7ffff4538d0c: > End of assembler dump. >=20 > *********** >=20 > Empty dump? Is this correct or I did something wrong? Try this: disassemble $pc,$pc+0x10 >>From gcc-bugs-return-473114-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 14 03:30:57 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 19764 invoked by alias); 14 Jan 2015 03:30:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19727 invoked by uid 48); 14 Jan 2015 03:30:49 -0000 From: "fragabr at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/64590] Firefox 34 triggers GCC AVX bug (segfault: XPCCallContext::GetJSContext (this=0xfffc7fffe3e23980)) Date: Wed, 14 Jan 2015 03:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fragabr at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg01108.txt.bz2 Content-length: 565 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64590 --- Comment #9 from D=C3=A2niel Fraga --- (In reply to Andrew Pinski from comment #8) > Try this: > disassemble $pc,$pc+0x10 (gdb) disassemble $pc,$pc+0x10 Dump of assembler code from 0x7ffff4538d0c to 0x7ffff4538d1c: =3D> 0x00007ffff4538d0c : movl $0= x0,0x0 0x00007ffff4538d17 : ud2=20=20= =20=20 0x00007ffff4538d19: nop 0x00007ffff4538d1a: nopw 0x0(%rax,%rax,1) End of assembler dump. >>From gcc-bugs-return-473115-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 14 03:47:30 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 27405 invoked by alias); 14 Jan 2015 03:47:28 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 27097 invoked by uid 48); 14 Jan 2015 03:47:18 -0000 From: "tbsaunde at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64521] [4.9/5 Regression] ICE with -frepo Date: Wed, 14 Jan 2015 03:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tbsaunde at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-01/txt/msg01109.txt.bz2 Content-length: 593 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64521 tbsaunde at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tbsaunde at gcc dot gnu.org --- Comment #2 from tbsaunde at gcc dot gnu.org --- (In reply to Jonathan Wakely from comment #1) > I have a doc patch somewhere advising against using -frepo ... it's not > necessary on modern systems and seems to have bit-rotted. should we just remove it? or is there a reason to keep it?