From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29183: 27.0.50; SIGSEGV on C-g on Windows Date: Wed, 08 Nov 2017 05:43:05 +0200 Message-ID: <834lq5saeu.fsf@gnu.org> References: <83mv3ysqth.fsf@gnu.org> <83d14tswq6.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1510112651 26192 195.159.176.226 (8 Nov 2017 03:44:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Nov 2017 03:44:11 +0000 (UTC) Cc: 29183@debbugs.gnu.org To: John Mastro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 08 04:44:05 2017 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 1eCHHY-0006Zn-Oe for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Nov 2017 04:44:04 +0100 Original-Received: from localhost ([::1]:57153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCHHg-00081T-6n for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Nov 2017 22:44:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCHHZ-00081N-Sv for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2017 22:44:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCHHW-0006oP-QR for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2017 22:44:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48683) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCHHW-0006oJ-MY for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2017 22:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eCHHW-0003i4-ED for bug-gnu-emacs@gnu.org; Tue, 07 Nov 2017 22:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Nov 2017 03:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29183 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29183-submit@debbugs.gnu.org id=B29183.151011258714172 (code B ref 29183); Wed, 08 Nov 2017 03:44:02 +0000 Original-Received: (at 29183) by debbugs.gnu.org; 8 Nov 2017 03:43:07 +0000 Original-Received: from localhost ([127.0.0.1]:57363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCHGd-0003gW-2a for submit@debbugs.gnu.org; Tue, 07 Nov 2017 22:43:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCHGb-0003fz-Km for 29183@debbugs.gnu.org; Tue, 07 Nov 2017 22:43:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCHGQ-0006Fd-UM for 29183@debbugs.gnu.org; Tue, 07 Nov 2017 22:42:58 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCHGQ-0006FZ-R6; Tue, 07 Nov 2017 22:42:54 -0500 Original-Received: from [176.228.60.248] (port=1751 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eCHGQ-0001JI-8T; Tue, 07 Nov 2017 22:42:54 -0500 In-reply-to: (message from John Mastro on Tue, 7 Nov 2017 13:24:15 -0800) 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:139598 Archived-At: > From: John Mastro > Date: Tue, 7 Nov 2017 13:24:15 -0800 > Cc: 29183@debbugs.gnu.org > > > Can you show a preprocessed version of thread.c, where it does this: > > > > static struct thread_state GCALIGNED main_thread; > > What's the right invocation to get that? You need to display it first. Like this: $ cd src $ make thread.o -W thread.c V=1 This will compile thread.c and show the full command it uses to do that. Copy-paste that command at the shell prompt, but this time replace -c (or add if -c is not there) with -E, and also add "-o thread.ii" to the command line. Then hit Enter. The file thread.ii will have the preprocessed source. > $ gcc --version > gcc.exe (Rev1, Built by MSYS2 project) 7.2.0 Should be okay, I think. Does the problem go away if you remove GCALIGNED from that line in thread.c and rebuild?