From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Perry E. Metzger" Newsgroups: gmane.emacs.devel Subject: Re: weird startup error in MacOS Mojave Date: Wed, 26 Sep 2018 14:42:25 -0400 Message-ID: <20180926144225.632cebb1@jabberwock.cb.piermont.com> References: <20180925094606.79c79c41@jabberwock.cb.piermont.com> <20180925142657.upg4wrqvys2khldo@mail.bsd4all.net> <20180925180837.7da58aa8@jabberwock.cb.piermont.com> <20180925225635.ilzv3at3oy6gn4bo@mail.bsd4all.net> <20180926183512.GA43708@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1537987602 14716 195.159.176.226 (26 Sep 2018 18:46:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Sep 2018 18:46:42 +0000 (UTC) Cc: "Herbert J. Skuhra" , emacs-devel@gnu.org To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 26 20:46:38 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5EpZ-0003it-S6 for ged-emacs-devel@m.gmane.org; Wed, 26 Sep 2018 20:46:38 +0200 Original-Received: from localhost ([::1]:60231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5Erg-00044r-Gt for ged-emacs-devel@m.gmane.org; Wed, 26 Sep 2018 14:48:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5Eld-0007Qx-Rz for emacs-devel@gnu.org; Wed, 26 Sep 2018 14:42:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5Eld-0001gS-0F for emacs-devel@gnu.org; Wed, 26 Sep 2018 14:42:33 -0400 Original-Received: from hacklheber.piermont.com ([2001:470:30:84:e276:63ff:fe62:3400]:46422) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g5Elc-0001a3-Qp for emacs-devel@gnu.org; Wed, 26 Sep 2018 14:42:32 -0400 Original-Received: from snark.cb.piermont.com (localhost [127.0.0.1]) by hacklheber.piermont.com (Postfix) with ESMTP id 2E80B28E; Wed, 26 Sep 2018 14:42:26 -0400 (EDT) Original-Received: from jabberwock.cb.piermont.com (jabberwock.cb.piermont.com [10.160.2.107]) by snark.cb.piermont.com (Postfix) with ESMTP id 0F4A22DFBA1; Wed, 26 Sep 2018 14:42:26 -0400 (EDT) In-Reply-To: <20180926183512.GA43708@breton.holly.idiocy.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:470:30:84:e276:63ff:fe62:3400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230088 Archived-At: On Wed, 26 Sep 2018 19:35:12 +0100 Alan Third wrote: > 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" > > > 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. Removing it gets rid of the error. Then if I restart emacs, the error has come back with the file. So you do have a good idea of where the problem is, but just removing that doesn't fix it. > 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. Would remote access to a 10.14 machine help? Perry -- Perry E. Metzger perry@piermont.com