From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.bugs Subject: bug#15794: Core dump after SIGTERM during GC marking Date: Sun, 3 Nov 2013 15:29:55 -0500 Message-ID: References: <87k3gq2dpr.fsf@igel.home> <83d2mh9ydm.fsf@gnu.org> <877gcp2wiz.fsf@igel.home> <83a9hl9sau.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01161b469e0f6d04ea4ba9ca X-Trace: ger.gmane.org 1383510671 12022 80.91.229.3 (3 Nov 2013 20:31:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Nov 2013 20:31:11 +0000 (UTC) Cc: 15794@debbugs.gnu.org, Andreas Schwab To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 03 21:31:15 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vd4KJ-0007Qs-6w for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Nov 2013 21:31:15 +0100 Original-Received: from localhost ([::1]:46714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vd4KI-0000zt-P9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Nov 2013 15:31:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vd4KB-0000zV-7w for bug-gnu-emacs@gnu.org; Sun, 03 Nov 2013 15:31:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vd4K6-0004yV-RH for bug-gnu-emacs@gnu.org; Sun, 03 Nov 2013 15:31:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vd4K6-0004yR-O2 for bug-gnu-emacs@gnu.org; Sun, 03 Nov 2013 15:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vd4K6-0000CJ-Ge for bug-gnu-emacs@gnu.org; Sun, 03 Nov 2013 15:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Nov 2013 20:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15794 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15794-submit@debbugs.gnu.org id=B15794.1383510608673 (code B ref 15794); Sun, 03 Nov 2013 20:31:02 +0000 Original-Received: (at 15794) by debbugs.gnu.org; 3 Nov 2013 20:30:08 +0000 Original-Received: from localhost ([127.0.0.1]:33114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vd4JD-0000Aj-66 for submit@debbugs.gnu.org; Sun, 03 Nov 2013 15:30:08 -0500 Original-Received: from mail-oa0-f47.google.com ([209.85.219.47]:35266) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vd4J7-000094-W0 for 15794@debbugs.gnu.org; Sun, 03 Nov 2013 15:30:03 -0500 Original-Received: by mail-oa0-f47.google.com with SMTP id i1so6507572oag.34 for <15794@debbugs.gnu.org>; Sun, 03 Nov 2013 12:29:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Tcpbk0qxJ3wUJYXvUOvzgkj96/0gzHMfProtTpiTStQ=; b=AEKxjLznepXFMS4ZoP4gidRXOh+gA4A6G0vDao6GQFzjIMNxamfyhs3+I8AKZEv7GK 2M0OcwHuLhmid94M13Wij9CpT24sg2RZ9freOFRJpkbjyk1vVhxqjeguHdYzauflFCy0 qm16F4SgcNd0poB+oLQnh2vwLRpg4y8eyygdU6QCdSJW8hR+QkCvgKF1zh6BwZL6jsd+ SlBog3UBvCgVkF7VT3wxnD+BDBZQQw/klpalyk74O0CY6vCKc0mc/+kta0EPpXIRZ6r5 Cx4C7ZNuAG9ijIZI6NdQNzmVlsfbjR4a8TPEYG7BMZc7NNIecVm/ioRJYNncoyJv+tNR 4GxQ== X-Received: by 10.60.115.164 with SMTP id jp4mr11327812oeb.19.1383510595995; Sun, 03 Nov 2013 12:29:55 -0800 (PST) Original-Received: by 10.76.156.103 with HTTP; Sun, 3 Nov 2013 12:29:55 -0800 (PST) In-Reply-To: <83a9hl9sau.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79930 Archived-At: --089e01161b469e0f6d04ea4ba9ca Content-Type: text/plain; charset=ISO-8859-1 > 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 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: ... 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) --089e01161b469e0f6d04ea4ba9ca Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
> Since kill-emacs-hook is nil by default, it is h= ard to know what
> exactly happened. Please try to find out whoch fun= ction was run by
> the hook at the point of the crash. The easiest wa= y of doing that is
> to call "xbacktrace" (which is always recommended when repor= ting
> bugs, btw).

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

$ gdb emacs core
GNU g= db (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GP= L 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.=A0 Type "show co= pying"
and "show warranty" for details.
This GDB was c= onfigured as "x86_64-linux-gnu".
For bug reporting instruction= s, please see:
<http://bugs.launchpad= .net/gdb-linaro/>...
Reading symbols from /media/sda3/sw/emacs/sr= c/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=A0 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 =3D :0.0
T= ERM =3D 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 d= o 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
xbacktr= ace from an install?

My kill-emacs-hook is:

=A0 (ede-save-cac= he semanticdb-kill-emacs-hook)


--089e01161b469e0f6d04ea4ba9ca--