unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pankaj Jangid <pankaj@codeisgreat.org>
To: emacs-devel@gnu.org
Subject: This init file is crashing emacs on macos 11.4
Date: Sun, 30 May 2021 10:08:35 +0530	[thread overview]
Message-ID: <m27djgygxg.fsf@codeisgreat.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1512 bytes --]

The attached init file is crashing emacs on macos 11.4. Can somebody
verify this on their mac? So that I can file a bug report. Please not
that I am using one external package also - org-mime. I could not yet
pin-point on which portion of this init is causing the issue. But the
issue does not occur if I disable all three blocks - org-mime, org
customization's and modus-theme.

--8<---------------cut here---------------start------------->8---
[~/work/gnu/emacs git→(master *)] ./src/emacs
2021-05-30 09:55:24.928 emacs[25575:2939956] 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}
Fatal error 11: Segmentation fault
Abort trap: 6
--8<---------------cut here---------------end--------------->8---

The “Failed to initialize color” warning is normal. It does not cause a
crash. But after that I get Fatal error and crash.

This is also affected by the way I launch Emacs. If I launch from
current directory, like above (./src/emacs). It crashes. And If I launch
it from PATH (Just "emacs" on CLI), then it sometimes does not crash.

GDB is also not working on my mac because it is not codesigned. So what
is the way to debug this further and get a stack-trace?


[-- Attachment #2: init-err.el --]
[-- Type: application/emacs-lisp, Size: 1231 bytes --]

             reply	other threads:[~2021-05-30  4:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-30  4:38 Pankaj Jangid [this message]
2021-05-30  4:47 ` This init file is crashing emacs on macos 11.4 Lars Ingebrigtsen
2021-05-30  5:04   ` Pankaj Jangid
2021-05-30  5:11     ` Pankaj Jangid
2021-05-30  8:57       ` Eli Zaretskii
2021-05-30 10:04         ` Pankaj Jangid
2021-05-30 10:22           ` Eli Zaretskii
2021-05-30  8:57     ` Eli Zaretskii

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=m27djgygxg.fsf@codeisgreat.org \
    --to=pankaj@codeisgreat.org \
    --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).