unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jan Synacek <jsynacek@redhat.com>
To: Florian Weimer <fweimer@redhat.com>
Cc: Paul Eggert <eggert@cs.ucla.edu>, 23726@debbugs.gnu.org
Subject: bug#23726: emacs 25.0.94 crashes
Date: Thu, 9 Jun 2016 08:17:48 +0200	[thread overview]
Message-ID: <CAPsXM8VgR9co8d1Q5oO9UJUHFde4buqLage9fXGWRkZ0taMRTg@mail.gmail.com> (raw)
In-Reply-To: <a8e79f37-9ef4-3dd1-8a18-9f24e74bdfdb@redhat.com>

On Wed, Jun 8, 2016 at 8:52 PM, Florian Weimer <fweimer@redhat.com> wrote:
> 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.

Thanks for investigating and the quick fix!

-- 
Jan Synacek
Software Engineer, Red Hat





      parent reply	other threads:[~2016-06-09  6:17 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
2016-06-08 18:57       ` Paul Eggert
2016-06-09  6:17       ` Jan Synacek [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=CAPsXM8VgR9co8d1Q5oO9UJUHFde4buqLage9fXGWRkZ0taMRTg@mail.gmail.com \
    --to=jsynacek@redhat.com \
    --cc=23726@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=fweimer@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).