GNU bug report logs - #23726
25.0.94; emacs 25.0.94 crashes

Previous Next

Package: emacs;

Reported by: jsynacek <at> redhat.com (Jan Synáček)

Date: Wed, 8 Jun 2016 10:22:01 UTC

Severity: important

Found in version 25.0.94

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jan Synacek <jsynacek <at> redhat.com>
To: Florian Weimer <fweimer <at> redhat.com>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 23726 <at> debbugs.gnu.org
Subject: bug#23726: emacs 25.0.94 crashes
Date: Thu, 9 Jun 2016 08:17:48 +0200
On Wed, Jun 8, 2016 at 8:52 PM, Florian Weimer <fweimer <at> 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




This bug report was last modified 8 years and 348 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.