From: Steven Tamm <steventamm@mac.com>
Cc: emacs-devel@gnu.org
Subject: Re: Mac OS X 10.2.2 - Need to Recompile
Date: Thu, 14 Nov 2002 00:12:32 -0800 [thread overview]
Message-ID: <D342389B-F7A8-11D6-8652-00039390AB82@mac.com> (raw)
In-Reply-To: <E18Bvlf-0002kq-00@fencepost.gnu.org>
Done. Here it is.
* Emacs crashes on Mac OS X (Carbon) after system software upgrade.
Between Mac OS X release 10.2.1 and 10.2.2 there was an incompatible
change in the memory allocator that causes a EXC_BAD_ACCESS error near
xrealloc(). Relinking the application (by deleting src/temacs and
running make) will solve the problem. It appears to be caused by some
problems with the unexec code and its interaction with libSystem.B.
-----
I researched the problem and it appears to be related to the
unexmacosx.c code. I need to compare more the unexdyld.c code from
apple (which provided an upwardly compatibly release) with how
unexmacosx works. Hopefully darwin will get a little more stable so
that the incompatible changes won't happen so frequently.
For those who still have a bad binary, could you check to see if
setting the environment variable DYLD_FORCE_FLAT_NAMESPACE fixes
anything? I have a sneaky suspicion it might; but it could also fail
due to redefinition of some terminfo variables BC, PC, and UP.
-Steven
P.S. I spent a little bit of time trying to get unexdyld.c to work
with the Carbon GUI. As Andrew's comments in unexmacosx.c explain, the
use of malloc_freezedry and malloc_jumpstart exist in
Next/Openstep/rhapsody/darwin solely for the purpose of emacs unexec.
However, it appears that any use of the CoreFoundtation layer (which
Carbon uses extensively) causes malloc_freezedry to break. The
unexmacosx.c code does pretty much the same thing that freezedry does,
but with a finer degree of control by using the primitives in
scaleable_malloc directly. However, if you try to update_prebinding on
an emacs binary, it complains that hints table is out of place.
Running otool -l on the Apple provided binary next to one from CVS
yields a very, very different story. More investigation into this is
needed.
On Wednesday, November 13, 2002, at 03:33 AM, Richard Stallman wrote:
> I just updated to Mac OS X 10.2.2 and the emacs I was using
> (compiled
> in 10.2.1) stopped working (similar to the update between 10.1 and
> 10.2). Recompiling fixed everything, so it's not a huge problem.
>
> Could you write a note for etc/PROBLEMS?
> If you can fix the problem, that is good, but not desperately
> necessary; however, it is important to have that note.
>
>
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://mail.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2002-11-14 8:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-12 3:34 Mac OS X 10.2.2 - Need to Recompile Steven Tamm
2002-11-13 10:05 ` Thorbjørn Ravn Andersen
2002-11-13 11:33 ` Richard Stallman
2002-11-14 8:12 ` Steven Tamm [this message]
2002-11-15 13:46 ` Thorbjørn Ravn Andersen
[not found] <20021112092211.24610.36860.Mailman@monty-python.gnu.org>
2002-11-12 14:39 ` Brad Miller
2002-11-12 16:16 ` Steven Tamm
2002-11-12 16:42 ` Andrew Choi
-- strict thread matches above, loose matches on Subject: below --
2002-11-13 0:05 Dan Brotsky
2002-11-13 0:06 Dan Brotsky
[not found] <20021114202626.11156.14764.Mailman@monty-python.gnu.org>
2002-11-15 10:01 ` Mikael Krantz
2002-11-15 12:51 ` Mikael Krantz
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D342389B-F7A8-11D6-8652-00039390AB82@mac.com \
--to=steventamm@mac.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.