unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kai Ma <justksqsf@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 61703@debbugs.gnu.org
Subject: bug#61703: 29.0.60; Emacs crashes on C-x 8 RET
Date: Thu, 23 Feb 2023 02:45:58 +0800	[thread overview]
Message-ID: <52337F85-F1D7-4A1F-8243-7886071CBA21@gmail.com> (raw)
In-Reply-To: <831qmhsshp.fsf@gnu.org>

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



> On Feb 22, 2023, at 22:08, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>> From: Kai Ma <justksqsf@gmail.com>
>> Date: Wed, 22 Feb 2023 20:59:54 +0800
>> Cc: 61703@debbugs.gnu.org
>> 
>> 1. Create a fresh Emacs instance.
>> 
>> 2. Press C-x 8 RET before doing anything else.
>>   If vertico-posframe is displayed successfully at least once (e.g. using M-x)
>>   then Emacs won’t crash from insert-char anymore.
>> 
>> 3. Emacs crashes before the child frame appears, so I don’t have a 
>>   chance to type anything.
>> 
>> 
>> There is a minimal init.el with which I can reproduce this crash:
>> 
>>  (package-install 'vertico)
>>  (package-install 'vertico-posframe)
>> 
>>  (use-package vertico
>>    :hook (after-init . vertico-mode))
>> 
>>  (use-package vertico-posframe
>>    :hook (vertico-mode . vertico-posframe-mode))
> 
> Thanks.  Unfortunately, it doesn't crash for me, after doing these
> steps.
> 
> Any other steps I could try to increase the probability of a crash?

I tried to make a self-contained tarball.


[-- Attachment #2: repro.tgz --]
[-- Type: application/octet-stream, Size: 192589 bytes --]

[-- Attachment #3: Type: text/plain, Size: 658 bytes --]



emacs -Q -l bug.el, and then C-x 8 RET.

> Does this happen with any font you use as the default font?


I tested against some fonts with

    emacs -Q --eval "(set-face-attribute 'default nil :family FONT)" -l bug.el

Indeed the choice of the default font seems relevant. The observed results:

| Menlo (default monospace font) | crash    |
| Courier New                    | crash    |
| Courier Prime                  | no crash |
| JetBrains Mono                 | no crash |
| Cascadia Mono                  | crash    |
| Fira Code                      | no crash |
| Fira Mono                      | crash    |

Hope this helps.

  reply	other threads:[~2023-02-22 18:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-22  8:00 bug#61703: 29.0.60; Emacs crashes on C-x 8 RET Kai Ma
2023-02-22 12:40 ` Eli Zaretskii
2023-02-22 12:59   ` Kai Ma
2023-02-22 14:08     ` Eli Zaretskii
2023-02-22 18:45       ` Kai Ma [this message]
2023-02-22 20:18         ` Eli Zaretskii
2023-02-22 21:29           ` Gregory Heytings
2023-09-05 23:44             ` Stefan Kangas

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=52337F85-F1D7-4A1F-8243-7886071CBA21@gmail.com \
    --to=justksqsf@gmail.com \
    --cc=61703@debbugs.gnu.org \
    --cc=eliz@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).