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.bugs Subject: bug#34394: 27.0.50; Emacs segfaults with SLY, company and C-g Date: Sat, 09 Feb 2019 09:59:57 +0200 Message-ID: <83wom9o0hu.fsf@gnu.org> 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="29312"; mail-complaints-to="usenet@blaine.gmane.org" 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:01:13 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 1gsNZW-0007Rt-UA for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Feb 2019 09:01:11 +0100 Original-Received: from localhost ([127.0.0.1]:42330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsNZV-00085U-PD for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Feb 2019 03:01:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsNZP-00085O-JP for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 03:01:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsNZO-0003TY-M3 for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 03:01:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41149) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsNZO-0003TM-Id for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 03:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gsNZO-0008Bx-Fw for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 03:01: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: Sat, 09 Feb 2019 08:01: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.154969922631433 (code B ref 34394); Sat, 09 Feb 2019 08:01:02 +0000 Original-Received: (at 34394) by debbugs.gnu.org; 9 Feb 2019 08:00:26 +0000 Original-Received: from localhost ([127.0.0.1]:40430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsNYn-0008Av-KT for submit@debbugs.gnu.org; Sat, 09 Feb 2019 03:00:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsNYl-0008Ai-Cx for 34394@debbugs.gnu.org; Sat, 09 Feb 2019 03:00:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsNYg-0002re-66; Sat, 09 Feb 2019 03:00:18 -0500 Original-Received: from [176.228.60.248] (port=1851 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gsNYf-0005s1-Q1; Sat, 09 Feb 2019 03:00:18 -0500 In-reply-to: <87va1tye42.fsf@gmail.com> (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Sat, 09 Feb 2019 00:55:41 +0000) 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: 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:155287 Archived-At: > From: João Távora > Date: Sat, 09 Feb 2019 00:55:41 +0000 > > 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 This means we used a garbled or bogus jmp_buf contents, somehow. > 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. > (gdb) xbacktrace > (gdb) I think the stack is smashed, so GDB is confused. > *** longjmp causes uninitialized stack frame ***: /home/capitaomorte/Source/Emacs/emacs-master/src/emacs terminated > > Program received signal SIGABRT, Aborted. > __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 > 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. > (gdb) bt full > #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 > set = { > __val = {0, 0, 93825000843456, 140737328736549, 11310, 93825000838608, 93825000883760, 1, 140737488341936, > 140737305084542, 93825008640256, 16777216000000000000, 140737488342240, 93825000373056, 4294967256, 1} > } > pid = > tid = > ret = > #1 0x00007ffff4f6d535 in __GI_abort () at abort.c:79 > save_stage = 1 > act = { > __sigaction_handler = { > sa_handler = 0x1, > sa_sigaction = 0x1 > }, > sa_mask = { > __val = {140737305057658, 1937910009842106368, 8260008066545429248, 32, 1, 2, 140737488342496, 93825000021600, > 140737488342544, 140737488342480, 140737305057352, 1, 140737305057658, 1937910009842106368, 140737488342400, > 140737488342800} > }, > sa_flags = -12928, > sa_restorer = 0x1000 > } > sigs = { > __val = {32, 0 } > } > #2 0x00007ffff4fc4718 in __libc_message (action=, fmt=fmt@entry=0x7ffff50cf088 "*** %s ***: %s terminated\n") > at ../sysdeps/posix/libc_fatal.c:181 > ap = {{ > gp_offset = 32, > fp_offset = 465, > overflow_arg_area = 0x7fffffffcf20, > reg_save_area = 0x7fffffffceb0 > }} > fd = 11 > list = > nlist = > cp = > written = > #3 0x00007ffff5055bbd in __GI___fortify_fail_abort (need_backtrace=need_backtrace@entry=true, > msg=0x7ffff50cf03d "longjmp causes uninitialized stack frame") at fortify_fail.c:28 > No locals. > #4 0x00007ffff5055bf1 in __GI___fortify_fail (msg=) at fortify_fail.c:44 > No locals. > #5 0x00007ffff5055aad in ____longjmp_chk () at ../sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S:105 > No locals. > #6 0x00007ffff5055a0b in __longjmp_chk (env=0x555555d01238 , val=val@entry=1) at ../setjmp/longjmp.c:39 > No locals. > #7 0x00005555556b22d4 in quit_throw_to_read_char (from_signal=from_signal@entry=false) at keyboard.c:10486 > No locals. > #8 0x00005555556ba3cd in set_waiting_for_input (time_to_clear=time_to_clear@entry=0x7fffffffd130) at keyboard.c:10253 When this happens, what is the value of Vquit_flag, in Lisp terms? Is it t or something else?