emacs-devel
[Top][All Lists]
Advanced

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

Re: weird startup error in MacOS Mojave


From: Alan Third
Subject: Re: weird startup error in MacOS Mojave
Date: Wed, 26 Sep 2018 19:35:12 +0100
User-agent: Mutt/1.10.1 (2018-07-13)

On Wed, Sep 26, 2018 at 12:56:35AM +0200, Herbert J. Skuhra wrote:
> On Tue, Sep 25, 2018 at 06:08:37PM -0400, Perry E. Metzger wrote:
> > On Tue, 25 Sep 2018 16:26:57 +0200 "Herbert J. Skuhra"
> > <address@hidden> wrote:
> > > On Tue, Sep 25, 2018 at 09:46:06AM -0400, Perry E. Metzger wrote:
> > > > I just upgraded my Mac to Mojave, and for the first time,
> > > > starting the GUI is spitting out this error:
> > > > 
> > > > 2018-09-25 09:43:29.255 Emacs[1948:30669] Failed to initialize
> > > > color list unarchiver: Error Domain=NSCocoaErrorDomain Code=4864
> > > > "*** -[NSKeyedUnarchiver
> > > > _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed
> > > > archive cannot be decoded by NSKeyedUnarchiver"
> > > > UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver
> > > > _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed
> > > > archive cannot be decoded by NSKeyedUnarchiver}  

This is nice. I don’t know what’s going on. I guess it’s maybe related
to the colour list we generate and which caused us some problems with
the high sierra beta last year.

Try deleting ’~/Library/Colors/Emacs.clr’. It will be recreated the
next time you run Emacs.

> Building Emacs on MacOS 10.14 results in a non-functional GUI. 
> 
> With the following commits from scratch/ns-drawing the GUI is working
> again:
> 
> http://lists.gnu.org/archive/html/emacs-diffs/2018-08/msg00152.html
> http://lists.gnu.org/archive/html/emacs-diffs/2018-08/msg00150.html
> http://lists.gnu.org/archive/html/emacs-diffs/2018-08/msg00151.html
> 
> But I still see the reported error on start and Emacs sporadically
> crashes. 

Try the attached patch, please. It replaces the above three commits.
If nobody objects I’ll push it to emacs-26 in a few days.

I believe it fixes the crash, but it still fails to redraw the frame
correctly when the font is changed. I don’t have 10.14 yet (and
probably won’t before the end of the year) so I can’t test it directly
myself.
-- 
Alan Third

Attachment: 0001-Make-all-NS-drawing-be-done-from-drawRect.patch
Description: Text document


reply via email to

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