unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Barry OReilly <gundaetiapo@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 15794@debbugs.gnu.org, Andreas Schwab <schwab@linux-m68k.org>
Subject: bug#15794: Core dump after SIGTERM during GC marking
Date: Sun, 3 Nov 2013 15:29:55 -0500	[thread overview]
Message-ID: <CAFM41H3a_4=R-QN3CB54joQGAOE1+zaVQvVAAYo_sE4ddgT4gQ@mail.gmail.com> (raw)
In-Reply-To: <83a9hl9sau.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1817 bytes --]

> 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).

etc/DEBUG says to run GDB in the src directory. When I do that:

$ gdb emacs core
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
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".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /media/sda3/sw/emacs/src/emacs...done.
[New LWP 22588]
[New LWP 22589]
[New LWP 22590]
[New LWP 22591]

warning: Error reading shared library list entry at 0x2493ba3824548b44

warning: Error reading shared library list entry at 0x45c889440000017e
Core was generated by `emacs --reverse-video'.
Program terminated with signal 6, Aborted.
#0  0x00007f14dc5c5b7b in ?? ()
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from
terminal]
DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x4d6250: file emacs.c, line 348.
Temporary breakpoint 2 at 0x4ef720: file sysdep.c, line 846.
(gdb) xbacktrace
You can't do that without a process to debug.
(gdb) quit

Probably has to do with emacs being an install of Emacs trunk as of
about August while the source tree is up to date. How do I get a
xbacktrace from an install?

My kill-emacs-hook is:

  (ede-save-cache semanticdb-kill-emacs-hook)

[-- Attachment #2: Type: text/html, Size: 2211 bytes --]

  reply	other threads:[~2013-11-03 20:29 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 [this message]
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

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='CAFM41H3a_4=R-QN3CB54joQGAOE1+zaVQvVAAYo_sE4ddgT4gQ@mail.gmail.com' \
    --to=gundaetiapo@gmail.com \
    --cc=15794@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=schwab@linux-m68k.org \
    /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).