[Bug 841825] Re: gcc SIGSEGV when building Firefox and Thunderbird
** Changed in: gcc Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825]
I have reverted the patch causing this on the 4.6 branch. As far as trunk is concerned, I'll track it in a duplicate of this bug, PR 50287. *** This bug has been marked as a duplicate of bug 50287 *** -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825]
Created attachment 25201 reduced testcase -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825]
It is gimple_modified_p and gsi_insert_before does call build_stmt_operands on it. Still debugging... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825]
Because gimple_build_debug_bind_stat does not set the stmt to modified? So it's not automatically updated on gsi_insert_before (). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825]
That would be the case if we're missing an update_stmt on the debug stmt. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825]
We have: : # DEBUG this => this_2(D) reason_15 = reason_10(D); reason_17 = reason_15; # DEBUG reason => reason_17 D.137092_16 = &this_2(D)->D.122214; mozilla::net::PWyciwygChannelChild::Send__delete__ (D.137092_16); D.132395_6 = 0; and ccp (substitute_and_fold called from ccp_finalize) decides (because has_zero_uses is true for reason_17) to remove reason_17 = reason_15; stmt first, which during gsi_remove adds a # DEBUG D#xxx => reason_15 stmt. Then reason_15 = reason_10(D); is being removed, but for some reason the newly added debug stmt isn't found during FOR_EACH_IMM_USE_FAST for reason_15. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825]
Confirmed. Reducing (I think it's a dup). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825] Re: gcc SIGSEGV when building Firefox and Thunderbird
** Branch linked: lp:ubuntu/gcc-4.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825] Re: gcc SIGSEGV when building Firefox and Thunderbird
This bug was fixed in the package gcc-4.6 - 4.6.1-9ubuntu2 --- gcc-4.6 (4.6.1-9ubuntu2) oneiric; urgency=low * Revert fix for PR middle-end/49886, causing PR middle-end/50295. LP: #841825. -- Matthias KloseMon, 05 Sep 2011 18:08:32 +0200 ** Changed in: gcc-4.6 (Ubuntu Oneiric) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825] Re: gcc SIGSEGV when building Firefox and Thunderbird
Launchpad has imported 2 comments from the remote bug at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50295. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2011-09-05T15:13:04+00:00 Doko-v wrote: Created attachment 25197 preprocessed source seen with 4.6 20110903 on i686-linux-gnu, with -Os and -O2, works with -O1 and -O0, works with -Os and -O2 when omitting -g. The ICE is triggered by the nsrefcnt WyciwygChannelChild::AddRef line, omitting this line doesn't show the ICE. $ gcc -c -g -O2 -std=gnu++0x WyciwygChannelChild.ii /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp: In member function 'virtual nsresult mozilla::net::WyciwygChannelChild::CloseCacheEntry(nsresult)': /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp:605:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. Program received signal SIGSEGV, Segmentation fault. 0x0820cec8 in expand_debug_expr (exp=0xf28c5d50) at ../../gcc-4_6-branch/gcc/cfgexpand.c:2380 2380 enum machine_mode mode = TYPE_MODE (TREE_TYPE (exp)); (gdb) bt #0 0x0820cec8 in expand_debug_expr (exp=0xf28c5d50) at ../../gcc-4_6-branch/gcc/cfgexpand.c:2380 #1 0x08210208 in expand_debug_locations () at ../../gcc-4_6-branch/gcc/cfgexpand.c:3316 #2 gimple_expand_cfg () at ../../gcc-4_6-branch/gcc/cfgexpand.c:4112 #3 0x08366147 in execute_one_pass (pass=0x8aa5780) at ../../gcc-4_6-branch/gcc/passes.c:1556 #4 0x083663f5 in execute_pass_list (pass=0x8aa5780) at ../../gcc-4_6-branch/gcc/passes.c:1611 #5 0x08434ac5 in tree_rest_of_compilation (fndecl=0xf3447d80) at ../../gcc-4_6-branch/gcc/tree-optimize.c:422 #6 0x085711f9 in cgraph_expand_function (node=0xf3342000) at ../../gcc-4_6-branch/gcc/cgraphunit.c:1576 #7 0x08572f85 in cgraph_expand_all_functions () at ../../gcc-4_6-branch/gcc/cgraphunit.c:1635 #8 cgraph_optimize () at ../../gcc-4_6-branch/gcc/cgraphunit.c:1899 #9 0x08573405 in cgraph_finalize_compilation_unit () at ../../gcc-4_6-branch/gcc/cgraphunit.c:1096 #10 0x0812682b in cp_write_global_declarations () at ../../gcc-4_6-branch/gcc/cp/decl2.c:4000 #11 0x083f800d in compile_file () at ../../gcc-4_6-branch/gcc/toplev.c:591 #12 do_compile () at ../../gcc-4_6-branch/gcc/toplev.c:1900 #13 toplev_main (argc=16, argv=0xd6c4) at ../../gcc-4_6-branch/gcc/toplev.c:1963 #14 0x080d018b in main (argc=16, argv=0xd6c4) at ../../gcc-4_6-branch/gcc/main.c:36 Reply at: https://bugs.launchpad.net/gcc/+bug/841825/comments/3 On 2011-09-05T15:52:11+00:00 Doko-v wrote: caused by r178482 | jamborm | 2011-09-02 16:30:34 +0200 (Fri, 02 Sep 2011) | 10 lines 2011-09-02 Martin Jambor PR middle-end/49886 * ipa-split.c (split_function): Do not skip any arguments if can_change_signature is set or there are function type attributes. * testsuite/gcc.c-torture/execute/pr49886.c: New testcase. * testsuite/gfortran.fortran-torture/compile/pr50260.f90: Likewise. Reply at: https://bugs.launchpad.net/gcc/+bug/841825/comments/5 ** Changed in: gcc Status: Unknown => New ** Changed in: gcc Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825] Re: gcc SIGSEGV when building Firefox and Thunderbird
We also get a similar crash further in to the build (after adding "MODULE_OPTIMIZE_FLAGS = -O1 -freorder-blocks -fomit-frame-pointer" to netwerk/protocol/wyciwyg/Makefile.in): c++ -o OfflineCacheUpdateParent.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/config/gcc_hidden.h -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DEXCLUDE_SKIA_DEPENDENCIES -DCHROMIUM_MOZILLA_BUILD -DOS_LINUX=1 -DOS_POSIX=1 -I/home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/content/base/src -I/home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/content/events/src -I/home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/ipc/chromium/src -I/home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/ipc/glue -I../../ipc/ipdl/_ipdlheaders -I/home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/uriloader/prefetch -I. -I../../dist/include -I../../dist/include/nsprpub -I/home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/obj-i686-linux-gnu/dist/include/nspr -I/home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/obj-i686-linux-gnu/dist/include/nss -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long -g -ffunction-sections -fdata-sections -fno-strict-aliasing -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/OfflineCacheUpdateParent.pp /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/uriloader/prefetch/OfflineCacheUpdateParent.cpp /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/uriloader/prefetch/OfflineCacheUpdateParent.cpp:55:0: warning: "LOG" redefined [enabled by default] /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/ipc/chromium/src/base/logging.h:92:0: note: this is the location of the previous definition /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/uriloader/prefetch/OfflineCacheUpdateParent.cpp: In member function 'virtual nsresult mozilla::docshell::OfflineCacheUpdateParent::ApplicationCacheAvailable(nsIApplicationCache*)': /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/uriloader/prefetch/OfflineCacheUpdateParent.cpp:175:56: warning: ignoring return value of 'bool mozilla::docshell::POfflineCacheUpdateParent::SendAssociateDocuments(const nsCString&, const nsCString&)', declared with attribute warn_unused_result [-Wunused-result] /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/uriloader/prefetch/OfflineCacheUpdateParent.cpp: In member function 'virtual nsresult mozilla::docshell::OfflineCacheUpdateParent::UpdateStateChanged(nsIOfflineCacheUpdate*, PRUint32)': /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/uriloader/prefetch/OfflineCacheUpdateParent.cpp:145:32: warning: ignoring return value of 'bool mozilla::docshell::POfflineCacheUpdateParent::SendNotifyStateEvent(const PRUint32&)', declared with attribute warn_unused_result [-Wunused-result] /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/uriloader/prefetch/OfflineCacheUpdateParent.cpp:156:41: warning: ignoring return value of 'bool mozilla::docshell::POfflineCacheUpdateParent::SendFinish(const bool&, const bool&)', declared with attribute warn_unused_result [-Wunused-result] /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/uriloader/prefetch/OfflineCacheUpdateParent.cpp:138:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. ** Attachment added: "Preprocessed source" https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/841825/+attachment/2357273/+files/ccBwRNKM.out -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825] Re: gcc SIGSEGV when building Firefox and Thunderbird
** Bug watch added: GCC Bugzilla #50295 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50295 ** Also affects: gcc via http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50295 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825] Re: gcc SIGSEGV when building Firefox and Thunderbird
** Attachment added: "preprocessed source" https://bugs.launchpad.net/ubuntu/oneiric/+source/gcc-4.6/+bug/841825/+attachment/2357179/+files/WyciwygChannelChild.ii.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825] Re: gcc SIGSEGV when building Firefox and Thunderbird
gcc -c -g -O2 -std=gnu++0x WyciwygChannelChild.ii /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp: In member function 'virtual nsresult mozilla::net::WyciwygChannelChild::CloseCacheEntry(nsresult)': /home/chrisccoulson/src/firefox/firefox-7.0~b4+build2+nobinonly/build-tree/mozilla/netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp:605:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. work around is to build with -O1 instead of -Os, or omitting -g ** Changed in: gcc-4.6 (Ubuntu Oneiric) Importance: Undecided => High ** Changed in: gcc-4.6 (Ubuntu Oneiric) Status: New => Confirmed ** Changed in: gcc-4.6 (Ubuntu Oneiric) Assignee: (unassigned) => Matthias Klose (doko) ** Tags added: ftbfs oneiric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825] [NEW] gcc SIGSEGV when building Firefox and Thunderbird
Public bug reported: Since the gcc-4.6 update which was just published (4.6.1-9ubuntu1), all Mozilla builds (Firefox and Thunderbird) are failing on i386 because GCC crashes, eg: https://launchpadlibrarian.net/79032680/buildlog_ubuntu- oneiric-i386.firefox_7.0%7Eb4%2Bbuild2%2Bnobinonly- 0ubuntu1_FAILEDTOBUILD.txt.gz. Additional information coming once I've reproduced this outside of the buildd... ** Affects: gcc-4.6 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 841825] Re: gcc SIGSEGV when building Firefox and Thunderbird
** Also affects: gcc-4.6 (Ubuntu Oneiric) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/841825 Title: gcc SIGSEGV when building Firefox and Thunderbird To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/841825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs