From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: (select-window nil) crash with gcc-8.2.0 Date: Sun, 07 Apr 2019 06:50:11 +0300 Message-ID: <0993F546-D21B-4722-8300-7A9CDDCE7EB8@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="190912"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: K-9 Mail for Android To: emacs-devel@gnu.org,Madhu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 07 05:50:55 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hCypb-000nZm-1O for ged-emacs-devel@m.gmane.org; Sun, 07 Apr 2019 05:50:55 +0200 Original-Received: from localhost ([127.0.0.1]:33951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCypZ-0002GV-Vh for ged-emacs-devel@m.gmane.org; Sat, 06 Apr 2019 23:50:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCyp0-0002GN-9K for emacs-devel@gnu.org; Sat, 06 Apr 2019 23:50:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCyox-0000To-P4; Sat, 06 Apr 2019 23:50:16 -0400 Original-Received: from [176.12.198.195] (port=38116 helo=[10.208.135.60]) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1hCyow-0006Xv-NC; Sat, 06 Apr 2019 23:50:15 -0400 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:235056 Archived-At: On April 7, 2019 5:11:57 AM GMT+03:00, Madhu wrote: > Hello, Compiling emacs with gcc-8=2E2=2E0 on amd64 with CFLAGS =3D -O2 -= Os > causes emacs to crash when invoking M-: (select-window nil)=2E Clearly > gcc-8=2E2=2E0 is miscompiling code with these optimization settings (-O2 > -Os) and I'm seeing crashes elsewhere where I am unable to isolate the > problem=2E However the emacs crash is easily isolatable and could point > to the bug in either gcc, (or possibly in emacs if there is some wrong > assumption)=2E Maybe someone with gcc-8=2E2=2E0 can verify the crash? Please state the version of Emacs in which this happened, and preferably a= lso show a backtrace from the crash that identifies the problematic variabl= es on the C level=2E Thanks=2E