From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#33709: Hang when compiled with --coverage and gcc 7.3 Date: Tue, 11 Dec 2018 14:46:50 -0500 Message-ID: <1gr2enluc5.fsf@fencepost.gnu.org> References: <838t0v279w.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1544557506 32614 195.159.176.226 (11 Dec 2018 19:45:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2018 19:45:06 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 33709@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 11 20:45:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWnxm-0008MI-59 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2018 20:45:02 +0100 Original-Received: from localhost ([::1]:41197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWnzs-0005IX-VU for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2018 14:47:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWnzk-0005IS-1u for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2018 14:47:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWnzi-0002rX-Iz for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2018 14:47:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39946) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gWnzi-0002rJ-EM for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2018 14:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gWnzi-0005cI-Ay for bug-gnu-emacs@gnu.org; Tue, 11 Dec 2018 14:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Dec 2018 19:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33709 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33709-submit@debbugs.gnu.org id=B33709.154455762021581 (code B ref 33709); Tue, 11 Dec 2018 19:47:02 +0000 Original-Received: (at 33709) by debbugs.gnu.org; 11 Dec 2018 19:47:00 +0000 Original-Received: from localhost ([127.0.0.1]:44204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWnzf-0005c0-Li for submit@debbugs.gnu.org; Tue, 11 Dec 2018 14:46:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWnze-0005bp-LM for 33709@debbugs.gnu.org; Tue, 11 Dec 2018 14:46:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWnzW-0002lM-V7 for 33709@debbugs.gnu.org; Tue, 11 Dec 2018 14:46:52 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWnzW-0002lC-QQ for 33709@debbugs.gnu.org; Tue, 11 Dec 2018 14:46:50 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1gWnzW-0005al-2F; Tue, 11 Dec 2018 14:46:50 -0500 X-Spook: Contamination Croatian Flu Capricorn al-Qa'ida Homeland X-Ran: bugrz[V.7+6_mT|Y^wR;Yy;P*i1P. (Eli Zaretskii's message of "Tue, 11 Dec 2018 21:27:39 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153365 Archived-At: Eli Zaretskii wrote: > Why do we use --coverage when running the test suite? I used the pre-existing, standard hydra "coverage" job for make check. It goes on to make this kind of report. https://hydra.nixos.org/build/85820625/download/2/coverage/ >> never exits. It prints the usage message, then hangs. > > "Hangs" as in "infloops"? If so, where does it infloop? > Or does "hangs" mean something else here? I do give a recipe in the hope that others can investigate the issue. Anyway, the Emacs process uses 100% CPU, apparently doing nothing. strace shows nothing. I managed to get the following from gdb. The only relevant link I found was https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83074 This is all above my pay grade. #0 0x00000000007bd1b2 in gcov_do_dump () No symbol table info available. #1 0x00000000007be562 in __gcov_exit () No symbol table info available. #2 0x00000000007bc42c in _GLOBAL__sub_D_00100_1_set_permissions.c () at set-permissions.c:847 No locals. #3 0x00007ffff7de73b7 in _dl_fini () from /nix/store/fg4yq8i8wd08xg3fy58l6q73cjy8hjr2-glibc-2.27/lib/ld-linux-x86-64.so.2 No symbol table info available. #4 0x00007ffff6e2c351 in __run_exit_handlers () from /nix/store/fg4yq8i8wd08xg3fy58l6q73cjy8hjr2-glibc-2.27/lib/libc.so.6 No symbol table info available. #5 0x00007ffff6e2c43a in exit () from /nix/store/fg4yq8i8wd08xg3fy58l6q73cjy8hjr2-glibc-2.27/lib/libc.so.6 No symbol table info available. #6 0x00000000005768a7 in main (argc=2, argv=0x7fffffff3c58) at emacs.c:992 i = 12 stack_bottom_variable = 0xb01045 do_initial_setlocale = true dumping = false skip_args = 1 no_loadup = false junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 original_pwd = 0x0 rlim = {rlim_cur = 33554432, rlim_max = 18446744073709551615} sockfd = 0