From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#34394: 27.0.50; Emacs segfaults with SLY, company and C-g Date: Sat, 09 Feb 2019 00:55:41 +0000 Message-ID: <87va1tye42.fsf@gmail.com> 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="146871"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 34394@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 09 01:57:19 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 1gsGxK-000c2v-8g for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Feb 2019 01:57:18 +0100 Original-Received: from localhost ([127.0.0.1]:37420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsGxJ-0004bs-7d for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Feb 2019 19:57:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsGx9-0004bT-K2 for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 19:57:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsGx7-00049f-3S for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 19:57:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41029) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsGx6-00049A-SJ for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 19:57:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gsGx4-00061n-H8 for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 19:57:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Feb 2019 00:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34394 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.154967376823101 (code B ref -1); Sat, 09 Feb 2019 00:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Feb 2019 00:56:08 +0000 Original-Received: from localhost ([127.0.0.1]:40310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsGwB-00060W-7c for submit@debbugs.gnu.org; Fri, 08 Feb 2019 19:56:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsGw9-000602-0W for submit@debbugs.gnu.org; Fri, 08 Feb 2019 19:56:05 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:34249) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gsGw3-0003CC-N1 for submit@debbugs.gnu.org; Fri, 08 Feb 2019 19:55:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsGvy-0004VK-Uv for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 19:55:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsGvw-00036o-Hb for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 19:55:54 -0500 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:39317) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsGvw-00030y-6r for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 19:55:52 -0500 Original-Received: by mail-wm1-x330.google.com with SMTP id f16so6253587wmh.4 for ; Fri, 08 Feb 2019 16:55:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=IyKjzqbH41WN/zygK064kNTwtKpjIG5YM/nX/mr5mms=; b=e3BPT0CQp+4PbLvZ7FKdZ1Aqyr4ioPU0B7WHHMG66G9kk+zJ785vkeSKrRx2tv6tdA zhhamtcHwBLIAbn7ebgqJhqSh25dN4r0RxNJZJV3wIF9vuHE3FOAS4q0FiiHoX8MoXaR vkuRg76TSoH9yILN6CTaeEpNgLYPPRHzADUrXLpCEbOHUN/U3FVyCf4MJHOTKUkzkmlh K2uml2Kij7/maJRXSKoS5sdt0iF6egYSjbffkDo4hHeTyqAv6PZBUtzoIIxVgRT4PPuB /YI2Bz1LvwF9WSuKiV92g/+DTpIFViGPlr4MR0GC9UgA1CpOCzqmv+MgGgytMOqbCnxg w5Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=IyKjzqbH41WN/zygK064kNTwtKpjIG5YM/nX/mr5mms=; b=msIHtOH9AZdc9iCyzjqGNJya211dz8UiFyDUth1wusQeAlLWxyb09/28zbrSIK0J5i Dz561edbAfRn48dXDi8tT1kTgJwuxkn3bU7dzAENAkmrjPmyV8TPrtKXLyAUqakr11Rs T5QUl3uVGlLXB6Lbep/KHxBQskN4vuQp/BetSjrNVKMponSxqX2PA+kagchapmt/cpBc o9F9l7xrzgFtvRtBCXA6ni0HJDeLwOBqy7gU40yS9t/izXjdO1bVe+y7jD15FlcJlP2c GoCDJRbj1OySfbLT0s8iIbiKbFv0Ixierbk//OsD6IhABDV5iHLvmiFd0V82qggbqTBo DScA== X-Gm-Message-State: AHQUAuYmT5WGMk+8OjN3ztQZaSn8HX2uu4l2O6bn2tgSUOURwJRcb4TX iJ9gyKQCIG7wiFtpNWnUIKT0jlwz X-Google-Smtp-Source: AHgI3IYbFvpVn8YTajrryuR4pSa6gv7Oco1fuOv9m5t2/1FOvyyec9qs3ubsd9vFUwgSZMowx6jrLg== X-Received: by 2002:a5d:5409:: with SMTP id g9mr19109207wrv.88.1549673744284; Fri, 08 Feb 2019 16:55:44 -0800 (PST) Original-Received: from lolita.yourcompany.com (188.139.62.94.rev.vodafone.pt. [94.62.139.188]) by smtp.gmail.com with ESMTPSA id f130sm8106132wme.41.2019.02.08.16.55.42 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Feb 2019 16:55:43 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:155284 Archived-At: Hi, This has been happening for a while, but I finally had some time to track it down. The problem renders Emacs completely unusable. Before the recipe and some debugging info, a few notes: 1. The problem happens exlusively with company-mode. It's not easy to trigger but I have narrowed a technique that takes me a few minutes a most. 2. When using optimized builds, it's not really a SIGSEGV but a strange freeze in the display. =20=20=20 The following is printed to stderr, if Emacs was started from the terminal: =20=20=20 *** longjmp causes uninitialized stack frame ***: ./src/emacs termina= ted Fatal error 6: Aborted =20=20=20=20=20=20 Very bizarrely, I can still open another frame to the Emacs (i.e. from a terminal) if i have the server running, but the buffer contents won't be displayed. Back in the broken GUI I can even use the minibuffer to save the buffer to a file, request completions, and jump out to another window and apparently resume normal usage. But eventually there is always a broken window/display/buffer. Evidently, I can't understand what's going on. But if you know some elisp diagnostic command, I can probably still type it in and read its output. =20=20=20=20=20=20 3. In contrast, when using a non-optimized build I always see SIGSEGV and the process dies completely, under gdb or not. =20=20=20 4. Also bizarely, when using non-optimized build, configured with: ./configure --enable-checking=3D'yes,glyphs' \ --enable-check-lisp-object-type CFLAGS=3D'-O0 -g3 -gdwarf-4' I get _less_ information in gdb than when debugging an optimized build: =20=20=20 (gdb) bt full #0 0x0000000000000000 in ?? () No symbol table info available. #1 0x0000000000000000 in ?? () No symbol table info available. (gdb) xbacktrace (gdb) 5. Debugging an optimized build gave me much more information (search for "yes-optimized-gdb" from here). 6. The use of SLY, a Common Lisp IDE, is not necessary. I've seen the same bug with Eglot and company. What Eglot has in common with SLY is that they both set up a completion-at-point-function that requests completions from a subprocess. The specific manner in which completions are requested is interruptable by user input, i.e. using either sit-for or while-no-input. I've witnessed the problem using both approaches, though lately I've settled for sit-for in both systems. =20=20=20 In Emacs core, the elisp function jsonrpc-request (used by Eglot) is where the interruptible sit-for approach in used. Nevertheless this recipe uses SLY, since I've been using it more often these days. =20=20=20 7. I've can get a little more information with a non-optimized build if I start without Emacs -Q and load my normal config file. It's not much more info than above, tho, and I don't understand what the difference is. But you can have a look if you search for "non-optimized-gdb" from here. =20=20=20 Thanks, Jo=C3=A3o =20=20=20 ## Now for the reproduction recipe: The easiest way to get SLY is to clone it from github git clone git@github.com:joaotavora/sly.git /path/to/sly To get company: git clone git@github.com:company-mode/company-mode.git /path/to/company =20=20=20 You also need a Common Lisp executable in your path. For Debian this will probably do sudo apt-get install sbcl Now start Emacs ~/Source/Emacs/emacs/src/emacs -Q \ -L /path/to/sly -l sly-autoloads \ -L /path/to/company-mode -l /path/to/company-mode/company.el \ -f global-company-mode \ -f sly # start sly =20=20=20 After the SLY CL prompt is ready, type "pos". A company widget should appear. You should now move quickly and as if selecting a completion and then quickly press C-g as if wanting to give up on those completions. If you do this often enough you will trigger the crash. ## Running this under GDB, (yes-optimized-gdb) The optimized build was configured with --enable-checking=3Dyes,glyphs --enable-check-lisp-object-type 'CFLAGS= =3D-Og -gdwarf-4' gdb --args ./emacs -Q -L ~/Source/Emacs/sly -l sly-autoloads -L ~/Source/Em= acs/company-mode -l ~/Source/Emacs/company-mode/company.el -f global-compan= y-mode -f sly GNU gdb (Debian 8.2-1) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./emacs...done. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from te= rminal] DISPLAY =3D :0 TERM =3D xterm Breakpoint 1 at 0x15015c: file emacs.c, line 370. Temporary breakpoint 2 at 0x172efd: file lisp.h, line 1056. (gdb) r Starting program: /home/capitaomorte/Source/Emacs/emacs-master/src/emacs -Q= -L /home/capitaomorte/Source/Emacs/sly -l sly-autoloads -L /home/capitaomo= rte/Source/Emacs/company-mode -l /home/capitaomorte/Source/Emacs/company-mo= de/company.el -f global-company-mode -f sly [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Detaching after vfork from child process 17193] [Detaching after vfork from child process 17201] [Detaching after vfork from child process 17202] *** longjmp causes uninitialized stack frame ***: /home/capitaomorte/Source= /Emacs/emacs-master/src/emacs terminated Program received signal SIGABRT, Aborted. __GI_raise (sig=3Dsig@entry=3D6) 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=3Dsig@entry=3D6) at ../sysdeps/unix/sysv/linux/raise.c:= 50 set =3D { __val =3D {0, 0, 93825000843456, 140737328736549, 11310, 93825000= 838608, 93825000883760, 1, 140737488341936,=20 140737305084542, 93825008640256, 16777216000000000000, 14073748= 8342240, 93825000373056, 4294967256, 1} } pid =3D tid =3D ret =3D #1 0x00007ffff4f6d535 in __GI_abort () at abort.c:79 save_stage =3D 1 act =3D { __sigaction_handler =3D { sa_handler =3D 0x1,=20 sa_sigaction =3D 0x1 },=20 sa_mask =3D { __val =3D {140737305057658, 1937910009842106368, 82600080665454= 29248, 32, 1, 2, 140737488342496, 93825000021600,=20 140737488342544, 140737488342480, 140737305057352, 1, 1407373= 05057658, 1937910009842106368, 140737488342400,=20 140737488342800} },=20 sa_flags =3D -12928,=20 sa_restorer =3D 0x1000 } sigs =3D { __val =3D {32, 0 } } #2 0x00007ffff4fc4718 in __libc_message (action=3D, fmt=3Df= mt@entry=3D0x7ffff50cf088 "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:181 ap =3D {{ gp_offset =3D 32,=20 fp_offset =3D 465,=20 overflow_arg_area =3D 0x7fffffffcf20,=20 reg_save_area =3D 0x7fffffffceb0 }} fd =3D 11 list =3D nlist =3D cp =3D written =3D #3 0x00007ffff5055bbd in __GI___fortify_fail_abort (need_backtrace=3Dneed_= backtrace@entry=3Dtrue,=20 msg=3D0x7ffff50cf03d "longjmp causes uninitialized stack = frame") at fortify_fail.c:28 No locals. #4 0x00007ffff5055bf1 in __GI___fortify_fail (msg=3D) at fo= rtify_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=3D0x555555d01238 , val=3Dval@entry=3D1) at ../setjmp/longjmp.c:39 No locals. #7 0x00005555556b22d4 in quit_throw_to_read_char (from_signal=3Dfrom_signa= l@entry=3Dfalse) at keyboard.c:10486 No locals. #8 0x00005555556ba3cd in set_waiting_for_input (time_to_clear=3Dtime_to_cl= ear@entry=3D0x7fffffffd130) at keyboard.c:10253 No locals. --Type for more, q to quit, c to continue without paging-- #9 0x000055555579007c in wait_reading_process_output (time_limit=3Dtime_li= mit@entry=3D30, nsecs=3Dnsecs@entry=3D0, read_kbd=3D-1,=20 do_display=3Ddo_display@entry=3Dtrue, wait_for_cell=3D..., wait_proc=3D= wait_proc@entry=3D0x0, just_wait_proc=3D0) at process.c:5212 process_skipped =3D false channel =3D nfds =3D Available =3D { fds_bits =3D {16, 0 } } Writeok =3D { fds_bits =3D {0 } } check_write =3D check_delay =3D no_avail =3D xerrno =3D 11 proc =3D XIL(0x555556473955) timeout =3D { tv_sec =3D 29,=20 tv_nsec =3D 861423452 } end_time =3D timer_delay =3D got_output_end_time =3D wait =3D TIMEOUT got_some_output =3D -1 prev_wait_proc_nbytes_read =3D 0 retry_for_async =3D false count =3D 3 now =3D #10 0x00005555555983ac in sit_for (timeout=3D..., timeout@entry=3Dmake_numb= er(30), reading=3Dreading@entry=3Dtrue,=20 display_option=3Ddisplay_option@entry=3D1) at lisp.h:1056 sec =3D 30 nsec =3D 0 do_display =3D true #11 0x00005555556b6209 in read_char (commandflag=3D1, map=3D..., map@entry= =3DXIL(0x555556bba943), prev_event=3DXIL(0),=20 used_mouse_menu=3Dused_mouse_menu@entry=3D0x7fffffffd5cb, end_time=3Den= d_time@entry=3D0x0) at lisp.h:751 tem0 =3D timeout =3D 30 delay_level =3D buffer_size =3D c =3D XIL(0) jmpcount =3D 3 local_getcjmp =3D {{ __jmpbuf =3D {0, 7951441480105110497, 93825009979408, 938250010= 81184, 140737488344720, 0, 4254887586582539233,=20 7951440073964956641},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {93825009136931, 0, 93824993581685, 3, 0, 429496729= 5, 3, 93825001229536, 93824993726913, 0, 0, 0, 7655440,=20 0, 93824993581685, 8194} } }} save_jump =3D {{ --Type for more, q to quit, c to continue without paging-- __jmpbuf =3D {0, 0, 0, 0, 0, 0, 0, 0},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {0 } } }} tem =3D save =3D previous_echo_area_message =3D XIL(0) also_record =3D XIL(0) reread =3D false recorded =3D false polling_stopped_here =3D false orig_kboard =3D 0x555555d68c90 #12 0x00005555556b74f5 in read_key_sequence (keybuf=3Dkeybuf@entry=3D0x7fff= ffffd690, prompt=3DXIL(0x555555d68c90),=20 dont_downcase_last=3Ddont_downcase_last@entry=3Dfalse, can_return_switc= h_frame=3Dcan_return_switch_frame@entry=3Dtrue,=20 fix_current_buffer=3Dfix_current_buffer@entry=3Dtrue, prevent_redisplay= =3Dprevent_redisplay@entry=3Dfalse) at keyboard.c:9082 interrupted_kboard =3D 0x555555d68c90 interrupted_frame =3D 0x555555dc4960 key =3D XIL(0x555556641010) used_mouse_menu =3D false echo_local_start =3D 0 last_real_key_start =3D 0 keys_local_start =3D new_binding =3D count =3D 3 t =3D 0 echo_start =3D 0 keys_start =3D 0 current_binding =3D first_unbound =3D 31 mock_input =3D 0 used_mouse_menu_history =3D {false } fkey =3D { parent =3D XIL(0x555555d84f73),=20 map =3D XIL(0x555555d84f73),=20 start =3D 0,=20 end =3D 0 } keytran =3D { parent =3D XIL(0x7ffff103d5cb),=20 map =3D XIL(0x7ffff103d5cb),=20 start =3D 0,=20 end =3D 0 } indec =3D { parent =3D XIL(0x555555d84f63),=20 map =3D XIL(0x555555d84f63),=20 start =3D 0,=20 end =3D 0 } shift_translated =3D false --Type for more, q to quit, c to continue without paging-- delayed_switch_frame =3D original_uppercase =3D original_uppercase_position =3D -1 dummyflag =3D false starting_buffer =3D 0x555556641010 fake_prefixed_keys =3D first_event =3D second_event =3D #13 0x00005555556b8bc1 in command_loop_1 () at lisp.h:1056 cmd =3D keybuf =3D {XIL(0x50a0), XIL(0x555555c595e5), XIL(0x2aaa9b297918), = XIL(0x3), XIL(0x3), XIL(0x555555742c17), XIL(0),=20 XIL(0x555556ad8393), XIL(0x7fffffffd750), XIL(0x2aaa9b297918), XI= L(0), XIL(0), XIL(0), make_number(23456248568811),=20 XIL(0x2aaa9b297918), XIL(0x555556ad8393), XIL(0x7ffff0ad5f74), XI= L(0), XIL(0x7fffffffd750), XIL(0x5555556acf45), XIL(0),=20 XIL(0x555556ad8393), XIL(0), XIL(0x5555556ad2bb), XIL(0), XIL(0),= XIL(0x3), XIL(0x55555574182b), XIL(0x7ffff104060b),=20 XIL(0x555555d68a50)} i =3D prev_modiff =3D 36 prev_buffer =3D 0x555556641010 #14 0x0000555555741a96 in internal_condition_case (bfun=3Dbfun@entry=3D0x55= 55556b8943 , handlers=3D...,=20 handlers@entry=3DXIL(0x55b0), hfun=3Dhfun@entry=3D0x5555556acf6d ) at eval.c:1376 val =3D XIL(0) c =3D 0x555555d68a50 #15 0x00005555556a9494 in command_loop_2 (ignore=3D..., ignore@entry=3DXIL(= 0)) at lisp.h:1056 val =3D #16 0x00005555557419da in internal_catch (tag=3D..., func=3Dfunc@entry=3D0x= 5555556a9478 , arg=3D..., arg@entry=3DXIL(0)) at eval.c:1139 val =3D XIL(0) c =3D 0x555555d68930 #17 0x00005555556a6786 in command_loop () at lisp.h:1056 No locals. #18 0x00005555556ac728 in recursive_edit_1 () at keyboard.c:714 count =3D 1 val =3D #19 0x00005555556accf0 in Frecursive_edit () at keyboard.c:785 count =3D 0 buffer =3D #20 0x00005555556a5154 in main (argc=3D14, argv=3D) at emacs= .c:1949 stack_bottom_variable =3D 0x5555557f9155 <__libc_csu_init+69> do_initial_setlocale =3D no_loadup =3D false junk =3D 0x0 dname_arg =3D 0x0 ch_to_dir =3D 0x0 original_pwd =3D 0x0 dump_mode =3D skip_args =3D 0 temacs =3D 0x0 rlim =3D { rlim_cur =3D 10022912,=20 rlim_max =3D 18446744073709551615 } =20=20=20=20=20=20=20=20 ## non-optimized-gdb gdb ./emacs=20=20=20=20=20=20=20=20=20=20=20=20 GNU gdb (Debian 8.2-1) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./emacs...done. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from te= rminal] DISPLAY =3D :0 TERM =3D xterm Breakpoint 1 at 0x1ad3b8: file emacs.c, line 371. Temporary breakpoint 2 at 0x1d9e93: file sysdep.c, line 1101. (gdb) r Starting program: /home/capitaomorte/Source/Emacs/emacs/src/emacs=20 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Detaching after vfork from child process 17713] [Detaching after vfork from child process 17718] [Detaching after vfork from child process 17719] [Detaching after vfork from child process 17721] [Detaching after vfork from child process 17725] [Detaching after vfork from child process 17726] [Detaching after vfork from child process 17729] [Detaching after vfork from child process 17754] [Detaching after vfork from child process 17755] [Detaching after vfork from child process 17769] Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) bt full #0 0x0000000000000000 in ?? () No symbol table info available. #1 0x00005555557d02ae in do_one_unbind (this_binding=3D0x7fffffff85a0, unw= inding=3Dtrue, bindflag=3DSET_INTERNAL_UNBIND) at eval.c:3504 No locals. #2 0x00005555557d0763 in unbind_to (count=3D8589905392, value=3DXIL(0)) at= eval.c:3631 this_binding =3D { kind =3D SPECPDL_UNWIND,=20 unwind =3D { kind =3D SPECPDL_UNWIND,=20 func =3D 0x0,=20 arg =3D XIL(0),=20 eval_depth =3D 0 },=20 unwind_array =3D { kind =3D SPECPDL_UNWIND,=20 nelts =3D 0,=20 array =3D 0x0 },=20 unwind_ptr =3D { kind =3D SPECPDL_UNWIND,=20 func =3D 0x0,=20 arg =3D 0x0 },=20 unwind_int =3D { kind =3D SPECPDL_UNWIND,=20 func =3D 0x0,=20 arg =3D 0 },=20 unwind_excursion =3D { kind =3D SPECPDL_UNWIND,=20 marker =3D XIL(0),=20 window =3D XIL(0) },=20 unwind_void =3D { kind =3D SPECPDL_UNWIND,=20 func =3D 0x0 },=20 let =3D { kind =3D SPECPDL_UNWIND,=20 symbol =3D XIL(0),=20 old_value =3D XIL(0),=20 where =3D XIL(0),=20 saved_value =3D XIL(0) },=20 bt =3D { kind =3D SPECPDL_UNWIND,=20 debug_on_exit =3D false,=20 function =3D XIL(0),=20 args =3D 0x0,=20 nargs =3D 0 } } --Type for more, q to quit, c to continue without paging--c quitf =3D XIL(0xc750) #3 0x000055555570a27b in read_char (commandflag=3D21845, map=3DXIL(0x55555= 6e3cc00), prev_event=3DXIL(0x20), used_mouse_menu=3D0x7ffff0abeabd, end_tim= e=3D0x3d5579264f) at keyboard.c:2551 c =3D XIL(0x7fffffff8868) jmpcount =3D 8589905392 local_getcjmp =3D {{ __jmpbuf =3D {140737488324512, 1433386485, 171798691841, 140737= 236181973, 140737488324608, 140737488325824, 93825017529728, 14073748832460= 4},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {140737326527355, 140737488324656, 140737488325872,= 93825017529728, 140737488324652, 0, 140737326527355, 93825003666096, 14073= 7488325804, 140737488325868, 4294967296, 18446744069414584321, 1432946432, = 140737488324752, 108819530576, 140737236339464} } }} save_jump =3D {{ __jmpbuf =3D {140737488324320, 93824993965235, 140737488324336,= 0, 0, 107374182400, 140737236339464, 140737488324360},=20 __mask_was_saved =3D 1433384518,=20 __saved_mask =3D { __val =3D {111669118032, 140737488324448, 140737488325664, 93= 825017529728, 140737488324444, 0, 140737326527355, 140737488324496, 1407374= 88325712, 93825017529728, 140737488324492, 0, 140737326527355, 938250036660= 96, 140737488325644, 140737488325708} } }} tem =3D XIL(0x555556e3cbe5) save =3D XIL(0x7fffffff86d0) previous_echo_area_message =3D XIL(0x7ffff0b3c5ad) also_record =3D XIL(0) reread =3D false recorded =3D false polling_stopped_here =3D false orig_kboard =3D 0x7ffff65ab37b #4 0x00007fffffffa3a0 in ?? () No symbol table info available. #5 0x00007fffffff8dec in ?? () No symbol table info available. #6 0x00000001ffffb2b0 in ?? () No symbol table info available. #7 0x0000000000000000 in ?? () No symbol table info available. (gdb) xbacktrace (gdb)=20