From: Andy Moreton <andrewjmoreton@gmail.com>
To: 43700@debbugs.gnu.org
Subject: bug#43700: 28.0.50; Crash creating a second frame
Date: Thu, 01 Oct 2020 01:15:20 +0100 [thread overview]
Message-ID: <86a6x6g5t3.fsf@gmail.com> (raw)
In-Reply-To: <d6dd33a4-4196-6de4-dfe4-09b3add83e72@gmail.com>
On Wed 30 Sep 2020, Andy Moreton wrote:
> On Tue 29 Sep 2020, Andy Moreton wrote:
>
>> On 29/09/2020 15:37, Eli Zaretskii wrote:
>>>> From: Andy Moreton <andrewjmoreton@gmail.com>
>>>> Date: Tue, 29 Sep 2020 11:46:48 +0100
>>>>
>>>> After loading emacs (and files saved by desktop), do C-x 5 2 to create a
>>>> new frame. Emacs crashes, and gdb shows the following backtrace.
>>> Is this repeatable? Does it happen with "emacs -Q", per chance? Or
>>> with unoptimized builds?
>
> Building with -O0 from commit 5b0d8d0f288fd505ca90bd30df709a5e7ab540d6 I
> can reproduce the crash on another machine with the same setup:
I have not managed to repro this problem from emacs -Q, but after
further investigation I have narrowed it down to some interaction with
settings in my .emacs.d/init.el and org mode:
1) Run "emacs --no-desktop" (so using my init.el)
2) Load a trivial org file (e.g. containing "* foo", a single heading)
3) Type "C-x 5 2" to create a new frame (causing the crash)
The init.el file has:
(tool-bar-mode 0))
;; ...much omitted...
(use-package org
:bind
(:map org-mode-map
([remap org-toggle-archive-tag] . ignore)
([remap org-archive-subtree] . ignore)
([remap org-archive-subtree-default] . ignore)
([remap org-archive-to-archive-sibling] . ignore))
...
If I comment out the remap bindings, emacs does not crash in the recipe above,
and also does not crash if I use this instead:
(use-package org
:bind
(:map org-mode-map
("C-c C-x a" . nil) ;; was org-toggle-archive-tag
("C-c $" . nil) ;; was org-archive-subtree
("C-c C-x C-a" . nil) ;; was org-archive-subtree-default
("C-c C-x A" . nil)) ;; was org-archive-to-archive-sibling
...
I have an effective workaround now, but nevertheless emacs should not
crash: the key binding commands should reject invalid configuration.
The use-package binding internals invoke define-key, and that macro
should reject invalid settings.
AndyM
next prev parent reply other threads:[~2020-10-01 0:15 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-29 10:46 bug#43700: 28.0.50; Crash creating a second frame Andy Moreton
2020-09-29 14:37 ` Eli Zaretskii
2020-09-29 14:49 ` Andy Moreton
2020-09-30 20:06 ` Andy Moreton
2020-10-01 0:15 ` Andy Moreton [this message]
2020-10-01 12:53 ` Eli Zaretskii
2020-10-02 0:38 ` Andy Moreton
2020-10-02 11:49 ` Eli Zaretskii
2020-10-02 23:07 ` Andy Moreton
2020-10-03 8:16 ` Eli Zaretskii
2020-10-03 12:26 ` Andy Moreton
2020-10-03 12:45 ` Eli Zaretskii
2020-10-03 13:40 ` Andy Moreton
2020-10-03 14:02 ` Eli Zaretskii
2020-10-03 14:05 ` Andy Moreton
2020-10-03 14:32 ` Eli Zaretskii
2020-10-03 17:03 ` Andy Moreton
2020-10-03 17:18 ` Eli Zaretskii
2020-10-03 17:21 ` Lars Ingebrigtsen
2020-10-03 17:54 ` Eli Zaretskii
2020-10-03 17:56 ` Lars Ingebrigtsen
2020-10-03 18:00 ` Eli Zaretskii
2020-10-03 18:21 ` Andy Moreton
2020-10-03 18:29 ` Eli Zaretskii
2020-10-03 17:51 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86a6x6g5t3.fsf@gmail.com \
--to=andrewjmoreton@gmail.com \
--cc=43700@debbugs.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.