unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Barry OReilly <gundaetiapo@gmail.com>
Cc: 15794@debbugs.gnu.org
Subject: bug#15794: Core dump after SIGTERM during GC marking
Date: Sun, 03 Nov 2013 19:39:24 +0200	[thread overview]
Message-ID: <83eh6x9ygj.fsf@gnu.org> (raw)
In-Reply-To: <CAFM41H1YUBr4J8s6zxyUbODTNOrjmwuvX0kRLi1qkKr89OeqRg@mail.gmail.com>

> Date: Sun, 3 Nov 2013 00:28:09 -0400
> From: Barry OReilly <gundaetiapo@gmail.com>
> 
> I noticed a core dump file in my file system that was almost a week old.
> I'm not certain what was doing

You can find the equivalent of "C-h l" in the variable recent_keys.

> but I think I was developing Elisp code
> around the time which may have inf looped and led to me issuing the SIGTERM
> indicated in the backtrace.
> 
> I have attached the output of 'bt full'.

Executive summary:

 . Emacs was in GC

 . You killed it with SIGTERM

 . Emacs started emergency shutdown, and as part of that invoked the
   hooks in kill-emacs-hook

 . One of those hooks hit a bad regexp, and tried to signal an error

 . 'signal' aborted because it noticed that Emacs is in GC

Since kill-emacs-hook is nil by default, it is hard to know what
exactly happened.  Please try to find out whoch function was run by
the hook at the point of the crash.  The easiest way of doing that is
to call "xbacktrace" (which is always recommended when reporting
bugs, btw).

In any case, running Lisp in the middle of GC is intrinsically
dangerous, so perhaps the error in regexp is due to that; hard to know
without seeing the pattern that was passed to compile_pattern_1.






      parent reply	other threads:[~2013-11-03 17:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-03  4:28 bug#15794: Core dump after SIGTERM during GC marking Barry OReilly
2013-11-03  6:37 ` Andreas Schwab
2013-11-03 17:41   ` Eli Zaretskii
2013-11-03 18:03     ` Andreas Schwab
2013-11-03 19:52       ` Eli Zaretskii
2013-11-03 20:29         ` Barry OReilly
2013-11-03 20:39           ` Eli Zaretskii
2013-11-03 20:42           ` Eli Zaretskii
2013-11-03 22:22         ` Andreas Schwab
2013-11-04  3:38           ` Eli Zaretskii
2013-11-04  8:56             ` Andreas Schwab
2013-11-04 16:02               ` Eli Zaretskii
2013-11-04 16:18                 ` Andreas Schwab
2013-11-05 15:27                   ` Barry OReilly
2013-11-05 15:53                     ` Eli Zaretskii
2013-11-05 16:52                       ` Barry OReilly
2013-11-05 17:16                         ` Eli Zaretskii
2019-09-29 14:00                           ` Lars Ingebrigtsen
2013-11-03 17:39 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83eh6x9ygj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=15794@debbugs.gnu.org \
    --cc=gundaetiapo@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).