all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Umar Ahmad via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Eli Zaretskii <eliz@gnu.org>, 50284@debbugs.gnu.org
Subject: bug#50284: 28.0.50; Emacs crashes occasionally on macOS BigSur
Date: Thu, 30 Sep 2021 02:14:06 +0530	[thread overview]
Message-ID: <CAFHo54fnWbVRX0oMxigi8kLj2J6y9NuHmMnwhg5eXjVYJQP44Q@mail.gmail.com> (raw)
In-Reply-To: <874ka39xqu.fsf@gnus.org>

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

Hello Eli,

Apologies for the late response here. Gmail somehow decided to categorize
the
mail as spam, only to notify me via a separate mail today when the report
was closed.

Anyway, I think you're right to point out that it was some lisp code that
was
the culprit here. I've been running emacs continuously for the last 20 days
without a crash. This closely matches the time I upgraded all the packages,
so I
think it's fair to assume that some package upgrade solved it.

I was under the assumption that any lisp code crashing emacs would be a bug
in
Emacs, but I guess we can keep this closed, considering that I can't
replicate
it now.

As far as your questions are concerned I think their answers would require a
successful replication of the bug, which isn't possible now. But, I think it
would be a good exercise for me to still go through them so that future bug
reports could be better.

> We need to know where in regex-emacs.c is the place shown in the last line
above.  Can you try establishing that?

I've no idea on how to establish that considering my rudimentary knowledge
of
C. Do you mean, running emacs with GDB enabled and adding breakpoints to
figure
this out?

> This indicates that you are using s.el, which makes tracking this bug
harder.

Oh! I see. Didn't know this could make things harder. Although, I don't
think I
can easily remove this considering many packages I have, use s.el. But, at
least
I could have limited the number of possible culprits to the packages that
depend
on s.el and used it's functions, I guess.

> And this seems to indicate a possible infinite recursion in some Lisp
program
  you were running.

Got it. Makes sense.

> So I think we need to see the full Lisp backtrace when this happens, or at
least the Lisp code which runs.

Got it. I only knew of `toggle-debug-on-error`, at the time of reporting
this
bug, that would give me a trace if there were some errors in elisp but I
didn't
know, how I could've managed to get the lisp trace when emacs crashes. I
just
discovered the /etc/DEBUG file, after going through your mail, and it seems
the
way to do this is again through GDB and running xbacktrace. Is this the
correct
understanding or is there some other way to achieve this?

Anyways, thank you for looking into this. Looking forward to your responses
here. Would be great if you could give me a few pointers about these.

Regards,
Umar Ahmad



On Wed, Sep 29, 2021 at 9:31 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Eli Zaretskii <eliz@gnu.org> writes:
>
> > So I think we need to see the full Lisp backtrace when this happens,
> > or at least the Lisp code which runs.
>
> This was a month ago, and there was no response, so I guess it sounds
> unlikely that there'll be further progress here, and I'm closing this
> bug report.  (If further progress can be made, please respond to the
> debbugs address and we'll reopen.)
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>


-- 
Regards,
Umar Ahmad

[-- Attachment #2: Type: text/html, Size: 3831 bytes --]

  reply	other threads:[~2021-09-29 20:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAFHo54dtNbAjUYi=weUzse-r-JMnZXpOx4vFOeb=E_mXGqnB_Q.ref@mail.gmail.com>
2021-08-30 19:38 ` bug#50284: 28.0.50; Emacs crashes occasionally on macOS BigSur Umar Ahmad via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-31 11:59   ` Eli Zaretskii
2021-09-29 16:01     ` Lars Ingebrigtsen
2021-09-29 20:44       ` Umar Ahmad via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-09-30  9:17         ` Eli Zaretskii
2021-09-30 11:23           ` Umar Ahmad via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-30 11:43             ` 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=CAFHo54fnWbVRX0oMxigi8kLj2J6y9NuHmMnwhg5eXjVYJQP44Q@mail.gmail.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=50284@debbugs.gnu.org \
    --cc=ahmad.umar2008@yahoo.in \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.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.