From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F061738708E5; Tue, 27 Oct 2020 15:43:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F061738708E5 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug gcov-profile/97594] [11 Regression] new test case gcc.dg/tree-prof/pr97461.c execution failure Date: Tue, 27 Oct 2020 15:43:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: gcov-profile X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 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-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2020 15:43:26 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97594 --- Comment #2 from Martin Li=C5=A1ka --- (In reply to Martin Li=C5=A1ka from comment #1) > Mine, I see a strange error: >=20 > $ Program received signal SIGBUS, Bus error. > 0x00003fffb7ceddbc in __GI__IO_link_in () from /lib64/libc.so.6 > Missing separate debuginfos, use: debuginfo-install > glibc-2.17-307.el7.1.ppc64le > (gdb) bt > #0 0x00003fffb7ceddbc in __GI__IO_link_in () from /lib64/libc.so.6 > #1 0x00003fffb7cebe58 in _IO_new_file_init_internal () from /lib64/libc.= so.6 > #2 0x00003fffb7cd9dcc in fdopen@@GLIBC_2.17 () from /lib64/libc.so.6 > #3 0x0000000010002928 in __gcov_open (name=3D0x100204f0 > "/home/marxin/Programming/gcc/objdir/gcc/testsuite/gcc35/pr97461.gcda") at > ../../../libgcc/../gcc/gcov-io.c:171 > #4 0x0000000010002db8 in gcov_exit_open_gcda_file (gi_ptr=3D0x10020408, > gi_ptr=3D0x10020408, gf=3D) at > ../../../libgcc/libgcov-driver-system.c:312 > #5 dump_one_gcov (run_max=3D, run_counted=3D, > gf=3D, gi_ptr=3D0x10020408) at > ../../../libgcc/libgcov-driver.c:478 > #6 gcov_do_dump (list=3D, run_counted=3D) = at > ../../../libgcc/libgcov-driver.c:555 > #7 0x00000000100047d8 in __gcov_dump_one (root=3D0x10040590 <__gcov_root= >) at > ../../../libgcc/libgcov-driver.c:578 > #8 __gcov_dump_one (root=3D0x10040590 <__gcov_root>) at > ../../../libgcc/libgcov-driver.c:573 > #9 __gcov_exit () at ../../../libgcc/libgcov-driver.c:600 > #10 0x0000000010000e18 in _sub_D_00100_1 () > #11 0x00003fffb7fc7c68 in _dl_fini () from /lib64/ld64.so.2 > #12 0x00003fffb7ca4a34 in __run_exit_handlers () from /lib64/libc.so.6 > #13 0x00003fffb7ca4a84 in exit () from /lib64/libc.so.6 > #14 0x00003fffb7c85308 in generic_start_main.isra.0 () from /lib64/libc.s= o.6 > #15 0x00003fffb7c854f4 in __libc_start_main () from /lib64/libc.so.6 > #16 0x0000000000000000 in ?? () All right, so the test-case overloads malloc and returns a memory that is a static buffer. For some reason, it leads to SEGBUS. Do Power people know what's causing that?=