From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#34394: 27.0.50; Emacs segfaults with SLY, company and C-g Date: Sat, 09 Feb 2019 09:08:18 +0100 Message-ID: References: <87va1tye42.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="69388"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux) Cc: 34394@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 09 09:09:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1gsNhG-000HtQ-7G for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Feb 2019 09:09:10 +0100 Original-Received: from localhost ([127.0.0.1]:42390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsNhF-0001oq-6v for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Feb 2019 03:09:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsNh9-0001od-H2 for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 03:09:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsNh8-0000fk-OF for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 03:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41153) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsNh8-0000fa-L3 for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 03:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gsNh8-0008Mm-Ar for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 03:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Feb 2019 08:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34394 X-GNU-PR-Package: emacs Original-Received: via spool by 34394-submit@debbugs.gnu.org id=B34394.154969970732117 (code B ref 34394); Sat, 09 Feb 2019 08:09:02 +0000 Original-Received: (at 34394) by debbugs.gnu.org; 9 Feb 2019 08:08:27 +0000 Original-Received: from localhost ([127.0.0.1]:40434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsNgZ-0008Lw-Il for submit@debbugs.gnu.org; Sat, 09 Feb 2019 03:08:27 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:57099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsNgX-0008Lo-D0 for 34394@debbugs.gnu.org; Sat, 09 Feb 2019 03:08:26 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 43xPnN1ClDz1qxK0; Sat, 9 Feb 2019 09:08:23 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 43xPnM5v6rz1qr5k; Sat, 9 Feb 2019 09:08:23 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 3vC8Wv-1p3eb; Sat, 9 Feb 2019 09:08:23 +0100 (CET) X-Auth-Info: i3yTslh2YWKlM53zm9lw43jR+D95c852tx+mscoYm2OjRe8ciL9S4HU40TfOqaEJ Original-Received: from linux.local (ppp-188-174-155-194.dynamic.mnet-online.de [188.174.155.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 9 Feb 2019 09:08:23 +0100 (CET) Original-Received: by linux.local (Postfix, from userid 501) id E51671E5303; Sat, 9 Feb 2019 09:08:20 +0100 (CET) X-Yow: Civilization is fun! Anyway, it keeps me busy!! In-Reply-To: <87va1tye42.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sat, 09 Feb 2019 00:55:41 +0000") 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: 209.51.188.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:155288 Archived-At: On Feb 09 2019, João Távora wrote: > The following is printed to stderr, if Emacs was started from the > terminal: > > *** longjmp causes uninitialized stack frame ***: ./src/emacs terminated > Fatal error 6: Aborted That can mean that longjmp tried to use a stale jmp_buf, eg. of a stack frame after it has returned. > 4. Also bizarely, when using non-optimized build, configured with: > > ./configure --enable-checking='yes,glyphs' \ > --enable-check-lisp-object-type CFLAGS='-O0 -g3 -gdwarf-4' > > I get _less_ information in gdb than when debugging an > optimized build: > > (gdb) bt full > #0 0x0000000000000000 in ?? () > No symbol table info available. > #1 0x0000000000000000 in ?? () > No symbol table info available. That is typical for a process that has a clobbered stack. Since longjmp checking is not active in unoptimized builds (fortify checks require optimisation), the process doesn't detect the undefined stack early enough. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."