emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs crashes


From: Giorgos Keramidas
Subject: Re: Emacs crashes
Date: Tue, 14 Mar 2006 19:24:54 -0800

On 2006-03-14 11:09, Richard Stallman <address@hidden> wrote:
>     But, this Emacs was compiled before these changes:
>
>     2006-03-10  Kim F. Storm  <address@hidden>
>
>           * alloc.c (USE_POSIX_MEMALIGN): Fix last change.
>
>     2006-03-09  Stefan Monnier  <address@hidden>
>
>           * alloc.c (USE_POSIX_MEMALIGN): New macro.
>           (ABLOCKS_BASE, lisp_align_malloc, lisp_align_free): Use it.
>
>
> Could you put a note in src/ChangeLog that you get crashes
> with a version compiled before that point?

I think these changes are very likely to be 100% correct, as not having
them fails to bootstrap too many times.  Their intent was to only use
posix_memalign() when the system's malloc() is used.  Otherwise we risk
having a memory area allocated by posix_memalign() and then freed with
Emacs' internal gmalloc or vice versa.

With these changes, on the other hand, failures during bootstrapping on
FreeBSD/amd64 have stopped immediately here :-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]