all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: David Kastrup <dak@gnu.org>, emacs-devel@gnu.org
Subject: Re: Segfault in master
Date: Wed, 04 Mar 2015 20:39:10 -0800	[thread overview]
Message-ID: <54F7DDEE.9080806@cs.ucla.edu> (raw)
In-Reply-To: <877fuw7m46.fsf@fencepost.gnu.org>

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

That looks like yet another glibc bug we need to work around.  Does the attached 
fix things for you?

[-- Attachment #2: bt.diff --]
[-- Type: text/x-patch, Size: 388 bytes --]

diff --git a/src/sysdep.c b/src/sysdep.c
index cb361ec..c524656 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -2174,7 +2174,7 @@ emacs_backtrace (int backtrace_limit)
   else
     {
       buffer = main_backtrace_buffer;
-      npointers = backtrace (buffer, bounded_limit + 1);
+      npointers = backtrace (buffer, bounded_limit + 1 + (bounded_limit < 0));
     }
 
   if (npointers)

  reply	other threads:[~2015-03-05  4:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04 16:39 Segfault in master David Kastrup
2015-03-05  4:39 ` Paul Eggert [this message]
2015-03-05  9:31   ` Colin Baxter
2015-03-05 20:01     ` Paul Eggert
2015-03-02  3:28       ` bug#19980: master: `Backtrace after malloc arena is corrupted` causes segfault during build Eric Hanchrow
2015-03-02  3:38         ` Daniel Colascione
     [not found]         ` <handler.19980.D19959.142558572217560.notifdone@debbugs.gnu.org>
2015-03-05 21:20           ` bug#19980: closed (Re: Segfault in master) Eric Hanchrow
2015-03-05 20:01     ` bug#19959: Segfault in master Paul Eggert
2015-03-05 16:19   ` Thomas Fitzsimmons

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

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

  git send-email \
    --in-reply-to=54F7DDEE.9080806@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=dak@gnu.org \
    --cc=emacs-devel@gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.