all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ag Ibragimov <agzam.ibragimov@gmail.com>
To: emacs-devel@gnu.org
Subject: Can Emacs deal with segfaults more gracefully (on Mac)
Date: Thu, 01 Aug 2024 17:18:55 -0500	[thread overview]
Message-ID: <m1le1f999s.fsf@gmail.com> (raw)


After a lengthy hiatus, I am having to work on Mac again. Almost immediately, I stumbled on a problem with crashing Emacs. Long story short (you can read all about it here https://www.reddit.com/r/emacs/comments/1eg9hdg/multilingual_spellchecking_omg_what_a_rabbit_hole), it turned out that a package calls a command-line utility that segfaults in certain cases. This isn't a quest to help me with the problem; I identified and found a workaround for it.

It did make me wonder, though, why did Emacs crash to begin with? Shouldn't it be handling offending subprocesses more gracefully? I think, typically, Emacs (I think) would handle subprocess errors gracefully; my guess is that in this specific case, the error was too severe, or something like that?

Also, I just realized - Emacs almost never (at least I don't remember when that happened to me last time) crashes in Linux. On Mac, it does. Can't say quite often, yet occasionally, that happens.

I'm just curious; is that due to how Emacs runs on Macs, or for some other reasons?



             reply	other threads:[~2024-08-01 22:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-01 22:18 Ag Ibragimov [this message]
2024-08-02  4:23 ` Can Emacs deal with segfaults more gracefully (on Mac) Gerd Möllmann
2024-08-02  5:55 ` 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=m1le1f999s.fsf@gmail.com \
    --to=agzam.ibragimov@gmail.com \
    --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 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.