unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: "Paul Eggert" <eggert@cs.ucla.edu>, "Jan Synáček" <jsynacek@redhat.com>
Cc: 23726@debbugs.gnu.org
Subject: bug#23726: emacs 25.0.94 crashes
Date: Wed, 8 Jun 2016 20:52:42 +0200	[thread overview]
Message-ID: <a8e79f37-9ef4-3dd1-8a18-9f24e74bdfdb@redhat.com> (raw)
In-Reply-To: <72a0452f-b732-d562-47a7-cedbc9548a39@redhat.com>

On 06/08/2016 08:34 PM, Florian Weimer wrote:

> The problem is that the realloc implementation for dumped chunks is
> incorrect; that bit is already in glibc master and rawhide.  I think I
> can see what is wrong: The size computation for the old chunk size in
> realloc is wrong, and the trailing sizeof (size_t) bytes are not copied.
>  Fortunately, it's not a conceptual problem with the heap rewriter.

glibc patch posted:

   https://sourceware.org/ml/libc-alpha/2016-06/msg00261.html

The same dumped binary crashes before this patch is applied, and works 
afterwards.

Jan, thanks for reporting this.

Florian





  reply	other threads:[~2016-06-08 18:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-08 10:21 bug#23726: 25.0.94; emacs 25.0.94 crashes Jan Synáček
2016-06-08 16:49 ` Eli Zaretskii
2016-06-08 17:32 ` bug#23726: " Paul Eggert
2016-06-08 18:34   ` Florian Weimer
2016-06-08 18:52     ` Florian Weimer [this message]
2016-06-08 18:57       ` Paul Eggert
2016-06-09  6:17       ` Jan Synacek

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=a8e79f37-9ef4-3dd1-8a18-9f24e74bdfdb@redhat.com \
    --to=fweimer@redhat.com \
    --cc=23726@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=jsynacek@redhat.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).