GNU bug report logs - #61703
29.0.60; Emacs crashes on C-x 8 RET

Previous Next

Package: emacs;

Reported by: Kai Ma <justksqsf <at> gmail.com>

Date: Wed, 22 Feb 2023 08:02:01 UTC

Severity: normal

Tags: unreproducible

Found in version 29.0.60

Full log


Message #17 received at 61703 <at> debbugs.gnu.org (full text, mbox):

From: Kai Ma <justksqsf <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 61703 <at> debbugs.gnu.org
Subject: Re: bug#61703: 29.0.60; Emacs crashes on C-x 8 RET
Date: Thu, 23 Feb 2023 02:45:58 +0800
[Message part 1 (text/plain, inline)]

> On Feb 22, 2023, at 22:08, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>> From: Kai Ma <justksqsf <at> gmail.com>
>> Date: Wed, 22 Feb 2023 20:59:54 +0800
>> Cc: 61703 <at> 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.

[repro.tgz (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]

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.

This bug report was last modified 1 year and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.