all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daniel Clemente <n142857@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 71224@debbugs.gnu.org
Subject: bug#71224: 30.0.50; SIGSEGV in start_display
Date: Tue, 10 Dec 2024 10:22:36 +0000	[thread overview]
Message-ID: <CAJKAhPAUmnpgSxMNAg9dnaBGaU8Vw6GG40YFYtvjQZtRi4So=g@mail.gmail.com> (raw)
In-Reply-To: <CAJKAhPA0Ko-bMyw4BRLkpny3bMfqKhi2=RZZrbaj1N-_qh2_OQ@mail.gmail.com>

> I could reproduce it again. I don't know what's involved, but this is what I did when it crashed.
> Run M-x debug
> Go to other window, and eval (recurse) there
> Open new frame
> Close it, and close the first frame too (close all frames)
> I got to the point when I couldn't open a new emacsclient frame. The server complained (Lisp nesting exceeds
> ‘max-lisp-eval-depth’: 1633) and the new emacsclient waited (black window) but couldn't start and finished.
> After trying to open still another one, it crashed.
>
> Yes, w->desired_matrix is null.
>

I have tried to reproduce this crash in a newer Emacs
(d719a8140917e3b1dd6889f064ffb8e8b0621c7d, from yesterday) and I can't
anymore. When I do the the "Open new frame" step, emacsclient refuses
to open:

$ emacsclient -nw
*ERROR*: Lisp nesting exceeds ‘max-lisp-eval-depth’: 1622

If I close all frames, I can't open any frame at all, and the only
valuable next step is to kill the Emacs daemon. It makes sense, since
I caused the infinite recursion. It could be improved, but that's
another issue.

I suggest closing this bug, and I'll open another one if I find
another case in which w->desired_matrix is null. This may still happen
now (since we didn't locate or fix the bug) but the situations that
cause it are contrived and apparently unreachable now.
One of the crashes in this bug report was already fixed by Eli.





  reply	other threads:[~2024-12-10 10:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-27 11:03 bug#71224: 30.0.50; SIGSEGV in start_display Daniel Clemente
2024-05-27 12:16 ` Eli Zaretskii
2024-05-28 15:36   ` Daniel Clemente
2024-05-28 15:55     ` Eli Zaretskii
2024-05-28 16:49       ` Daniel Clemente
2024-05-28 18:16         ` Eli Zaretskii
2024-05-28 18:45           ` Daniel Clemente
2024-05-28 19:17             ` Eli Zaretskii
2024-05-29  5:56               ` Daniel Clemente
2024-05-29 16:35                 ` Eli Zaretskii
2024-05-30  9:55                   ` Daniel Clemente
2024-05-30 12:05                     ` Eli Zaretskii
2024-06-07 16:08                       ` Daniel Clemente
2024-06-07 19:46                         ` Eli Zaretskii
     [not found]                           ` <CAJKAhPBdc2Og+UsgoCVwK_AOKnewdF5P3aV86Mr-FJOz4zNVvg@mail.gmail.com>
2024-06-10 16:30                             ` Eli Zaretskii
2024-06-12 13:47                               ` Daniel Clemente
2024-12-10 10:22                                 ` Daniel Clemente [this message]
2024-12-10 13:42                                   ` 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='CAJKAhPAUmnpgSxMNAg9dnaBGaU8Vw6GG40YFYtvjQZtRi4So=g@mail.gmail.com' \
    --to=n142857@gmail.com \
    --cc=71224@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 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.