From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13246 invoked by alias); 29 Mar 2012 06:36:33 -0000 Received: (qmail 13226 invoked by uid 22791); 29 Mar 2012 06:36:29 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_AV 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 06:36:06 +0000 From: "fragabr at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52762] New: Firefox 11 segfault with gcc 4.7 (-O3 -march=corei7-avx) Date: Thu, 29 Mar 2012 07:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" 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/msg02492.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52762 Bug #: 52762 Summary: Firefox 11 segfault with gcc 4.7 (-O3 -march=corei7-avx) Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: fragabr@gmail.com I compiled Firefox 11 source code with gcc 4.7 and the following optimization: -O3 -march=corei7-avx (for Sandy Bridge, core i7 2700k) If i use just -march=corei7 it runs fine. GCC bug? It compiled fine, but it segfaults: #0 0x00007f6e37521360 in ?? () from /usr/local/lib/firefox-11.0/libxul.so #1 0x00007f6e3752d099 in ?? () from /usr/local/lib/firefox-11.0/libxul.so #2 0x00007f6e3753e3fa in ?? () from /usr/local/lib/firefox-11.0/libxul.so #3 0x00007f6e3753a073 in ?? () from /usr/local/lib/firefox-11.0/libxul.so #4 0x00007f6e37874bdf in ?? () from /usr/local/lib/firefox-11.0/libxul.so #5 0x00007f6e378740db in ?? () from /usr/local/lib/firefox-11.0/libxul.so #6 0x00007f6e285fb3c0 in ?? () #7 0x0000000000000003 in ?? () #8 0x00007f6e1dc35da0 in ?? () #9 0x00007f6e1f0c3fd0 in ?? () #10 0x00007f6e1f31df30 in ?? () #11 0x00007f6e1e6e3e90 in ?? () #12 0xff00000000000000 in ?? () #13 0x00ffffffffffffff in ?? () #14 0x00444949534a736e in ?? () #15 0x726567616e614d79 in ?? () #16 0x32850f003a0074f4 in ?? () #17 0x777c810000004085 in ?? () #18 0x00000e850f003f00 in ?? () #19 0x83c35d5b04718901 in ?? () #20 0x0000000000000019 in ?? () #21 0x00007f6e37174c38 in ?? () from /usr/local/lib/firefox-11.0/libxul.so #22 0x00007f6e371749f9 in ?? () from /usr/local/lib/firefox-11.0/libxul.so #23 0x00007f6e37874014 in NS_InvokeByIndex_P () from /usr/local/lib/firefox-11.0/libxul.so #24 0x00007f6e375437c7 in ?? () from /usr/local/lib/firefox-11.0/libxul.so #25 0x00007f6e37548940 in ?? () from /usr/local/lib/firefox-11.0/libxul.so #26 0x00007f6e37ad7d53 in ?? () from /usr/local/lib/firefox-11.0/libxul.so #27 0x00007f6e37ac765c in ?? () from /usr/local/lib/firefox-11.0/libxul.so #28 0x00007f6e37ad7d14 in ?? () from /usr/local/lib/firefox-11.0/libxul.so #29 0x00007f6e37ad8562 in ?? () from /usr/local/lib/firefox-11.0/libxul.so #30 0x00007f6e37a4b3d7 in JS_CallFunctionValue () from /usr/local/lib/firefox-11.0/libxul.so #31 0x00007f6e3753e727 in ?? () from /usr/local/lib/firefox-11.0/libxul.so #32 0x00007f6e3753a073 in ?? () from /usr/local/lib/firefox-11.0/libxul.so #33 0x00007f6e37874bdf in ?? () from /usr/local/lib/firefox-11.0/libxul.so #34 0x00007f6e378740db in ?? () from /usr/local/lib/firefox-11.0/libxul.so #35 0x00007f6e23861700 in ?? () #36 0x00007f6e1dc32280 in ?? () #37 0x00007f6e23861700 in ?? () #38 0x00007f6e24aeb110 in ?? () #39 0x00007f6e24aeb110 in ?? () #40 0x0000000000000002 in ?? () #41 0x0000000000000000 in ?? ()