[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bootstrap & memory allocation troubles
From: |
Stefan Monnier |
Subject: |
Re: bootstrap & memory allocation troubles |
Date: |
Fri, 13 Jan 2006 16:19:23 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Recently, the malloc() implementation in FreeBSD changed to a new
> implementation by Jason Evans, and a posix_memalign() implementation
> was added to the standard library of the system.
> This seems to cause bootstrap problems for cvs-emacs now, but I'm not
> sure if this is something we should fix in Emacs or in the libc of
> FreeBSD. The gdb trace that shows the problem is listed below, but
> I'd be grateful for any hints related to fixing this.
> What is surprising is that the Lisp_String allocated internally by
> allocate_string_data is supposed to have a size of 50 bytes, but
> trying to access any byte after its 40'th character results in
> ``inaccessible memory'' faults in gdb (and is probably the reason why
> bootstrap fails).
> Any ideas how the current posix_memalign() implementation could affect
> this, and/or tips to debug it?
Can you try and undefine HAVE_POSIX_MEMALIGN so as to tell Emacs not to
use it, so we can see if it's related or if it's a completely
different problem (maybe a problem with unexec)?
Stefan
- bootstrap & memory allocation troubles, Giorgos Keramidas, 2006/01/13
- Re: bootstrap & memory allocation troubles, Chong Yidong, 2006/01/13
- Re: bootstrap & memory allocation troubles, Giorgos Keramidas, 2006/01/13
- Re: bootstrap & memory allocation troubles,
Stefan Monnier <=
- Re: bootstrap & memory allocation troubles, Giorgos Keramidas, 2006/01/13
- Re: bootstrap & memory allocation troubles, Giorgos Keramidas, 2006/01/13
- Re: bootstrap & memory allocation troubles, Stefan Monnier, 2006/01/13
- Re: bootstrap & memory allocation troubles, Giorgos Keramidas, 2006/01/13
- Re: bootstrap & memory allocation troubles, Stefan Monnier, 2006/01/14
- Re: bootstrap & memory allocation troubles, Gaute B Strokkenes, 2006/01/14
- Re: bootstrap & memory allocation troubles, Giorgos Keramidas, 2006/01/14
- Re: bootstrap & memory allocation troubles, Richard M. Stallman, 2006/01/14
- Re: bootstrap & memory allocation troubles, Giorgos Keramidas, 2006/01/14
- Re: bootstrap & memory allocation troubles, Giorgos Keramidas, 2006/01/13