From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2300 invoked by alias); 29 Mar 2012 20:13:59 -0000 Received: (qmail 2286 invoked by uid 22791); 29 Mar 2012 20:13:57 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,FRT_ADOBE2,TW_RG X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Mar 2012 20:13:44 +0000 From: "fragabr at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52762] Firefox 11 segfault with gcc 4.7 (-O3 -march=corei7-avx) Date: Thu, 29 Mar 2012 21:01: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fragabr at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 X-SW-Source: 2012-03/txt/msg02618.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D52762 --- Comment #6 from D=C3=A2niel Fraga 2012-03-29= 20:13:23 UTC --- (In reply to comment #5) > In the future you should add:=20 > ac_add_options --disable-install-strip --disable-strip=20 > to your .mozconfig file, because otherwise the debug binaries will > be stripped (which results in your broken Comment 2 backtrace). Ok, I did that... now a complete and decent backtrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 140149652981568 (LWP 28284)] 0x00007f771e8156f9 in JSRuntime::onOwnerThread (this=3D0x1a0080) at /home/fraga/src/mozilla/js/src/jsval.h:852 852 JS_ASSERT((objBits >> JSVAL_TAG_SHIFT) =3D=3D 0); (gdb) bt #0 0x00007f771e8156f9 in JSRuntime::onOwnerThread (this=3D0x1a0080) at /home/fraga/src/mozilla/js/src/jsval.h:852 #1 0x00007f771e82185e in JS_ValueToObject (cx=3D0x7fffad2c7630, v=3D {data =3D {asBits =3D 18445617585292306240, debugView =3D {payload4= 7 =3D 140148977952576, tag =3D JSVAL_TAG_OBJECT}, s =3D {payload =3D {i32 =3D -99= 883200, u32 =3D 4195084096, why =3D 4195084096}}, asDouble =3D -nan(0xbff76fa0be740), a= sPtr =3D 0xfffbff76fa0be740, asWord =3D 18445617585292306240}}, objp=3D0x7fffad2c753= 8) at /home/fraga/src/mozilla/js/src/jsval.h:852 #2 0x00007f771e19dd83 in nsXPCComponents_Utils::EvalInSandbox (this=3DUnha= ndled dwarf expression opcode 0xf3 ) at /home/fraga/src/mozilla/js/xpconnect/src/xpcprivate.h:4165 #3 0x00007f771e652fea in NS_InvokeByIndex_P (that=3DUnhandled dwarf expres= sion opcode 0xf3 ) at /home/fraga/src/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64= _unix.cpp:195 #4 0x00007f771e1c0f78 in CallMethodHelper::Invoke (this=3D0x7fffad2c77e8) = from /usr/local/lib/firefox-11.0/libxul.so #5 0x00007f771e1c60d1 in CallMethodHelper::Call (this=3D0x7fffad2c77e8) fr= om /usr/local/lib/firefox-11.0/libxul.so #6 0x00007f771e1c6725 in XPCWrappedNative::CallMethod (ccx=3D@0x7fffad2c79= 60, mode=3DUnhandled dwarf expression opcode 0xf3 ) from /usr/local/lib/firefox-11.0/libxul.so #7 0x00007f771e1caaa2 in XPC_WN_CallMethod (cx=3D0x7f77212aea30, argc=3D2, vp=3DUnhandled dwarf expression opcode 0x9f ) at /home/fraga/src/mozilla/js/xpconnect/src/xpcprivate.h:4165 #8 0x00007f771e93555a in js::CallJSNative (cx=3D0x7f77212aea30, native=3D0x7f771e1ca956 , args=3D@0x7fffad2c7c00) at ./../../dist/include/js/HashTable.h:129 #9 0x00007f771e9335c9 in js::InvokeKernel (cx=3D0x7f77212aea30, args=3D{ =3D {usedRval_ =3D false, argv_ =3D 0x7f7710dd92= 08}, argc_ =3D 2}, construct=3Djs::NO_CONSTRUCT) at /home/fraga/src/mozilla/js/src/jsval.h:771 #10 0x00007f771e91fe59 in js::Interpret (cx=3D0x7f77212aea30, entryFrame=3D0x7f7710dd9038, interpMode=3D) at /home/fraga/src/mozilla/js/src/jsval.h:771 #11 0x00007f771e933773 in js::InvokeKernel (cx=3D0x7f77212aea30, args=3D{ =3D {usedRval_ =3D false, argv_ =3D 0x7f7710dd90= 30}, argc_ =3D 1}, construct=3DUnhandled dwarf expression opcode 0xf3 ) at /home/fraga/src/mozilla/js/src/jsval.h:771 #12 0x0000000000000000 in ?? ()