unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30687: 25.3; Crash when pressing CTRL + g multiple times
@ 2018-03-03 20:07 Kristian Rumberg
  2018-03-03 20:30 ` Eli Zaretskii
  2019-08-20 11:49 ` Stefan Kangas
  0 siblings, 2 replies; 4+ messages in thread
From: Kristian Rumberg @ 2018-03-03 20:07 UTC (permalink / raw)
  To: 30687

Sometimes  when I press CTRL + g multiple times inside Emacs, it
crashes. I have seen this bug in multiple versions of Emacs so it's
not a recent bug. For the first time I received a stacktrace when it
exited

emacs -nw getsubs.rs
Auto-save? (y or n) y
Auto-save done
Abort (and dump core)? (y or n) y
Fatal error 6: Abort trap
Backtrace:
0   emacs                               0x0000000100097536 emacs_backtrace + 92
1   emacs                               0x000000010007f3d8 terminate_due_to_signal + 93
2   emacs                               0x0000000100095fb3 init_baud_rate + 0
3   emacs                               0x0000000100088458 kbd_buffer_nr_stored + 0
4   emacs                               0x0000000100096fa1 deliver_process_signal + 52
5   libsystem_platform.dylib            0x00007fff87f6b52a _sigtramp + 26
6   libsystem_malloc.dylib              0x00007fff90ebd755 szone_free + 956
7   emacs                               0x0000000100125909 call_process + 3317
8   emacs                               0x0000000100124bec Fcall_process + 184
9   emacs                               0x00000001000e8323 Ffuncall + 761
10  emacs                               0x00000001000e7f29 Fapply + 478
11  emacs                               0x00000001000e8323 Ffuncall + 761
12  emacs                               0x0000000100118709 exec_byte_code + 2066
13  emacs                               0x00000001000e8266 Ffuncall + 572
14  emacs                               0x0000000100118709 exec_byte_code + 2066
15  emacs                               0x00000001000e8266 Ffuncall + 572
16  emacs                               0x0000000100118709 exec_byte_code + 2066
17  emacs                               0x00000001000e8266 Ffuncall + 572
18  emacs                               0x0000000100118709 exec_byte_code + 2066
19  emacs                               0x00000001000e8266 Ffuncall + 572
20  emacs                               0x0000000100118709 exec_byte_code + 2066
21  emacs                               0x00000001000e8266 Ffuncall + 572
22  emacs                               0x0000000100118709 exec_byte_code + 2066
23  emacs                               0x00000001000e8266 Ffuncall + 572
24  emacs                               0x0000000100118709 exec_byte_code + 2066
25  emacs                               0x00000001000e8266 Ffuncall + 572
26  emacs                               0x00000001000e8323 Ffuncall + 761
27  emacs                               0x0000000100118709 exec_byte_code + 2066
28  emacs                               0x00000001000e8e5c funcall_lambda + 785
29  emacs                               0x00000001000e8266 Ffuncall + 572
30  emacs                               0x00000001000e88b3 call1 + 45
31  emacs                               0x00000001000889ff timer_check + 795
32  emacs                               0x000000010008777f readable_events + 18
33  emacs                               0x0000000100088697 get_input_pending + 50
34  emacs                               0x000000010008759e detect_input_pending_run_timers + 50
35  emacs                               0x0000000100120cb6 wait_reading_process_output + 2696
36  emacs                               0x0000000100005900 sit_for + 259
37  emacs                               0x0000000100085cfa read_char + 4303
38  emacs                               0x00000001000833de read_key_sequence + 1453
39  emacs                               0x00000001000820ac command_loop_1 + 790
40  emacs                               0x00000001000e6fe3
internal_condition_case + 70





In GNU Emacs 25.3.1 (x86_64-apple-darwin15.6.0)
of 2017-09-12 built on ElCapitan.local
Configured using:
'configure --disable-dependency-tracking --disable-silent-rules
--enable-locallisppath=/usr/local/share/emacs/site-lisp
--infodir=/usr/local/Cellar/emacs/25.3/share/info/emacs
--prefix=/usr/local/Cellar/emacs/25.3 --without-x --with-xml2
--without-dbus --without-gnutls --without-imagemagick --without-ns'

Configured features:
NOTIFY ACL LIBXML2 ZLIB

Important settings:
  value of $LC_CTYPE: UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  global-auto-complete-mode: t
  show-paren-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Loading paren...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Load-path shadows:
/Users/kristianrumberg/.emacs.d/elpa/cmake-mode-20180104.1137/cmake-mode hides /usr/local/share/emacs/site-lisp/cmake/cmake-mode
/Users/kristianrumberg/.emacs.d/elpa/seq-2.20/seq hides /usr/local/Cellar/emacs/25.3/share/emacs/25.3/lisp/emacs-lisp/seq

Features:
(shadow sort mail-extr emacsbug message idna dired format-spec rfc822
mml mml-sec password-cache epg gnus-util mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils term/xterm
xterm flycheck find-func subr-x dash advice flymake compile comint
ansi-color ring tool-bar auto-complete-config go-autocomplete
auto-complete cl-macs popup cl edmacro kmacro rust-mode regexp-opt rx
json map time-date paren cus-start cus-load finder-inf package
epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode
easymenu cconv cl-loaddefs pcase cl-lib mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select mouse jit-lock font-lock syntax facemenu font-core frame
cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote kqueue multi-tty
make-network-process emacs)

Memory information:
((conses 16 146753 5309)
(symbols 48 25094 0)
(miscs 40 88 143)
(strings 32 32774 4550)
(string-bytes 1 998449)
(vectors 16 17769)
(vector-slots 8 447994 1589)
(floats 8 221 497)
(intervals 56 213 0)
(buffers 976 20))





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#30687: 25.3; Crash when pressing CTRL + g multiple times
  2018-03-03 20:07 bug#30687: 25.3; Crash when pressing CTRL + g multiple times Kristian Rumberg
@ 2018-03-03 20:30 ` Eli Zaretskii
       [not found]   ` <4054D978-B73B-4182-99E1-E0CF8B9DC7E6@gmail.com>
  2019-08-20 11:49 ` Stefan Kangas
  1 sibling, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2018-03-03 20:30 UTC (permalink / raw)
  To: Kristian Rumberg; +Cc: 30687

> From: Kristian Rumberg <kristianrumberg@gmail.com>
> Date: Sat, 3 Mar 2018 21:07:05 +0100
> 
> Sometimes  when I press CTRL + g multiple times inside Emacs, it
> crashes. I have seen this bug in multiple versions of Emacs so it's
> not a recent bug. For the first time I received a stacktrace when it
> exited
> 
> emacs -nw getsubs.rs
> Auto-save? (y or n) y
> Auto-save done
> Abort (and dump core)? (y or n) y
> Fatal error 6: Abort trap

It's not a crash, it's a feature known as "Emergency Escape",
described in the node by that name in the Emacs user manual.

Did you ever try to answer NO to the second question?  If you did,
what happened then?






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#30687: 25.3; Crash when pressing CTRL + g multiple times
       [not found]   ` <4054D978-B73B-4182-99E1-E0CF8B9DC7E6@gmail.com>
@ 2018-03-04  3:34     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2018-03-04  3:34 UTC (permalink / raw)
  To: Kristian Rumberg; +Cc: 30687

> From: Kristian Rumberg <kristianrumberg@gmail.com>
> Date: Sat, 3 Mar 2018 23:03:49 +0100
> 
> > It's not a crash, it's a feature known as "Emergency Escape",
> > described in the node by that name in the Emacs user manual.
> > 
> > Did you ever try to answer NO to the second question?  If you did,
> > what happened then?
> > 
> 
> Thanks! Could it be that flycheck-rust and racer block the main thread
> for too long?

Indeed, it looks like some code run from a timer takes too long, and
is not interruptible, so you succeed to type C-g more than once.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#30687: 25.3; Crash when pressing CTRL + g multiple times
  2018-03-03 20:07 bug#30687: 25.3; Crash when pressing CTRL + g multiple times Kristian Rumberg
  2018-03-03 20:30 ` Eli Zaretskii
@ 2019-08-20 11:49 ` Stefan Kangas
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2019-08-20 11:49 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 30687-done, Noam Postavsky, Kristian Rumberg

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Kristian Rumberg <kristianrumberg@gmail.com>
>> Date: Sat, 3 Mar 2018 23:03:49 +0100
>>
>> > It's not a crash, it's a feature known as "Emergency Escape",
>> > described in the node by that name in the Emacs user manual.
>> >
>> > Did you ever try to answer NO to the second question?  If you did,
>> > what happened then?
>> >
>>
>> Thanks! Could it be that flycheck-rust and racer block the main thread
>> for too long?
>
> Indeed, it looks like some code run from a timer takes too long, and
> is not interruptible, so you succeed to type C-g more than once.

Noam Postavsky <npostavs@gmail.com> writes:

> # seems to be bug of 3rd party package
> tags 30687 + notabug
> quit

The conclusion seems to be that this is a bug in a third party
package.  I'm therefore closing this bug report.

Thanks,
Stefan Kangas





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-20 11:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-03 20:07 bug#30687: 25.3; Crash when pressing CTRL + g multiple times Kristian Rumberg
2018-03-03 20:30 ` Eli Zaretskii
     [not found]   ` <4054D978-B73B-4182-99E1-E0CF8B9DC7E6@gmail.com>
2018-03-04  3:34     ` Eli Zaretskii
2019-08-20 11:49 ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).