From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Mastro Newsgroups: gmane.emacs.bugs Subject: bug#29183: 27.0.50; SIGSEGV on C-g on Windows Date: Wed, 8 Nov 2017 10:35:06 -0800 Message-ID: References: <83mv3ysqth.fsf@gnu.org> <83d14tswq6.fsf@gnu.org> <834lq5saeu.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1510166253 32371 195.159.176.226 (8 Nov 2017 18:37:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Nov 2017 18:37:33 +0000 (UTC) Cc: 29183@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 08 19:37:26 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 1eCVE5-00089a-8U for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Nov 2017 19:37:25 +0100 Original-Received: from localhost ([::1]:33438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCVEC-0002qa-Ic for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Nov 2017 13:37:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCVCo-0001xC-D1 for bug-gnu-emacs@gnu.org; Wed, 08 Nov 2017 13:36:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCVCl-0006xP-64 for bug-gnu-emacs@gnu.org; Wed, 08 Nov 2017 13:36:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50197) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCVCl-0006xC-1s for bug-gnu-emacs@gnu.org; Wed, 08 Nov 2017 13:36:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eCVCk-0008TA-I5 for bug-gnu-emacs@gnu.org; Wed, 08 Nov 2017 13:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: John Mastro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Nov 2017 18:36: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.151016613632517 (code B ref 29183); Wed, 08 Nov 2017 18:36:02 +0000 Original-Received: (at 29183) by debbugs.gnu.org; 8 Nov 2017 18:35:36 +0000 Original-Received: from localhost ([127.0.0.1]:58878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCVCJ-0008SO-PQ for submit@debbugs.gnu.org; Wed, 08 Nov 2017 13:35:36 -0500 Original-Received: from mail-qk0-f176.google.com ([209.85.220.176]:56444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCVCH-0008SB-GX for 29183@debbugs.gnu.org; Wed, 08 Nov 2017 13:35:34 -0500 Original-Received: by mail-qk0-f176.google.com with SMTP id 2so3748175qkg.13 for <29183@debbugs.gnu.org>; Wed, 08 Nov 2017 10:35:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=T1RprXbGPaj43U9UUU9vGtipgt49SBfkriW3zarPOhw=; b=XAD0lorZVxw6SYjbEhQ43vU24iy9nS3O6WnfTkUI5wK1ZEGdgBSu8H9BDM2tURSLNI Lvg6lEd3LO7Ah43T16wl6Y2l8Q57D9qWYtAzvP0FJ6NwdXoqhRiKoUDVrasbqSxgDv76 joNaFlIiYaPN09xyIyZdwJ29dKZKlEdK31dCRgjc8rAaSE3JXf5StguF2wYcUcX8JRP+ vKmZ2e82R40RulHWbjcwzRZ+h5Ik1t9z4ch0Os7Ie9QCt/gPR9f5BOuuCZ4qDcn4Lh/5 vltY3ZVuMwTq1vMuYduPuNDfOaUjTcfF3zsm/97AuAjE9YploFeHbs/CX9KP41KNn3Jl cufQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=T1RprXbGPaj43U9UUU9vGtipgt49SBfkriW3zarPOhw=; b=h6vRhEZaaJP+/FRqWD+nMAUn7uBkwEOw3Py2MOfJT0mVnWcZO/QVyqSAAR+y3ill9g ZcPVcmevCZC30hh+7stw/RoDZSPbJ2l5bnq/55Awui+fLUYp77ZP0KmXpDq8XQrn/1WU PiefAJv6MLMKCQbTsvmiNtJN3E4TEs7G8+VxQUAUNkLwCQKbhnUZJR1BssEc4fJV3Ii8 BSBPMiPY7yJATiZyhItPNS1rOYKEFWlaQ0WXGr48K8nTvpA5vr6yXjmJOUDAPaJD4alz GZl3Xv5OBXA7CJiihX2Ugf+YpedsAh8YePsERqj/aP6+6cpBipKoulX2x5RAhE995Dg7 zbHw== X-Gm-Message-State: AJaThX4dz4C4Yo9XlGYatHcSSGmqvBdZM/AtLvmuNkPu290G7zAdZKHJ webw68KyzW0kQ+N5DF93POWiO68+3HoRsUjFHMI= X-Google-Smtp-Source: ABhQp+Rey6YUviS6VdpvGkfP35+584y7LdEAyejrzZLRzSBls1sSgByasWBkcUUaB/Csm1b6GRifjocysk7k/6bKGEQ= X-Received: by 10.55.75.202 with SMTP id y193mr2229071qka.329.1510166127737; Wed, 08 Nov 2017 10:35:27 -0800 (PST) Original-Received: by 10.200.40.183 with HTTP; Wed, 8 Nov 2017 10:35:06 -0800 (PST) In-Reply-To: <834lq5saeu.fsf@gnu.org> 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:139619 Archived-At: Eli Zaretskii wrote: >> > 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. Ah, thanks. After preprocessing, that line becomes: static struct thread_state __attribute__ ((aligned (8))) main_thread; >> $ 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? Yep, the SIGSEGV is gone if I remove GCALIGNED from that line. Thanks John