From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: bootstrap & memory allocation troubles
Date: Fri, 13 Jan 2006 16:19:23 -0500 [thread overview]
Message-ID: <87mzhzg75p.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20060113155227.GA8439@flame.pc> (Giorgos Keramidas's message of "Fri, 13 Jan 2006 17:52:28 +0200")
> 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
next prev parent reply other threads:[~2006-01-13 21:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-13 15:52 bootstrap & memory allocation troubles Giorgos Keramidas
2006-01-13 20:26 ` Chong Yidong
2006-01-13 21:16 ` Giorgos Keramidas
2006-01-13 21:19 ` Stefan Monnier [this message]
2006-01-13 21:24 ` Giorgos Keramidas
2006-01-13 21:38 ` Giorgos Keramidas
2006-01-13 22:13 ` Stefan Monnier
2006-01-13 22:42 ` Giorgos Keramidas
2006-01-14 17:40 ` Stefan Monnier
2006-01-14 19:40 ` Gaute B Strokkenes
2006-01-14 20:00 ` Giorgos Keramidas
2006-01-14 16:14 ` Richard M. Stallman
2006-01-14 16:52 ` Giorgos Keramidas
2006-01-13 22:12 ` Giorgos Keramidas
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=87mzhzg75p.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/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).