From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23602 invoked by alias); 22 Dec 2012 20:13:09 -0000 Received: (qmail 23554 invoked by uid 48); 22 Dec 2012 20:12:50 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/55792] Bad memory access with profiledbootstrap and LTO Date: Sat, 22 Dec 2012 20:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW 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" 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-12/txt/msg02226.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55792 --- Comment #2 from H.J. Lu 2012-12-22 20:12:50 UTC --- ASAN:SIGSEGV ================================================================= ==19402== ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x00000067ce31 sp 0x7ffff81baa60 bp 0x000001000000 T0) AddressSanitizer can not provide additional info. #0 0x67ce30 (/export/build/gnu/gcc-lto-fdo-asan/build-x86_64-linux/prev-gcc/lto1+0x67ce30) gnu-mic-2:pts/0[235]> addr2line -e lto1 0x67ce30 /export/gnu/import/git/gcc-misc/gcc/ggc-page.c:594 gnu-mic-2:pts/0[236]> Also ../../src-trunk/gcc/df-core.c: In function 'df_analyze': ../../src-trunk/gcc/df-core.c:1269:1: internal compiler error: Segmentation fault } ^ 0xb3adf7 crash_signal ../../src-trunk/gcc/toplev.c:334 0x546c3a lookup_page_table_entry ../../src-trunk/gcc/ggc-page.c:594 0x546c3a ggc_set_mark(void const*) ../../src-trunk/gcc/ggc-page.c:1477 0x8b65cf gt_ggc_mx_dw_loc_descr_struct(void*) /export/gnu/import/git/gcc-test-profile/bld/gcc/gtype-desc.c:390 0x8b65f8 gt_ggc_mx_dw_loc_descr_struct(void*) /export/gnu/import/git/gcc-test-profile/bld/gcc/gtype-desc.c:392 0x694b98 gt_ggc_mx_dw_loc_list_struct(void*) ./gt-dwarf2out.h:371 0x6a51d1 gt_ggc_mx(dw_attr_struct&) ./gt-dwarf2out.h:181 0x6a4d02 gt_ggc_mx ../../src-trunk/gcc/vec.h:1141 0x6a4d02 gt_ggc_mx_vec_dw_attr_node_va_gc_ ./gt-dwarf2out.h:164 0x6a4d02 gt_ggc_mx_die_struct(void*) ./gt-dwarf2out.h:398 0x6a4b8d gt_ggc_mx_die_struct(void*) ./gt-dwarf2out.h:400 0x5039d2 gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:369 0x503509 gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:55 0x503937 gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:357 0x503509 gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:55 0x503919 gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:356 0x503973 gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:359 0x5038e5 gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:354 0x501f1d gt_ggc_mx_lang_tree_node(void*) ./gtype-lto.h:263 0x8b7615 gt_ggc_mx_symtab_node_def(void*) /export/gnu/import/git/gcc-test-profile/bld/gcc/gtype-desc.c:708