all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Vincent Lefevre <vincent@vinc17.net>
Cc: 58956@debbugs.gnu.org, 1017711@bugs.debian.org, spwhitton@spwhitton.name
Subject: bug#58956: mark_object, mark_objects(?) crash
Date: Thu, 03 Nov 2022 08:47:06 +0200	[thread overview]
Message-ID: <83o7to8rh1.fsf@gnu.org> (raw)
In-Reply-To: <20221103030046.GA57325@zira.vinc17.org> (message from Vincent Lefevre on Thu, 3 Nov 2022 04:00:46 +0100)

> Cc: 58956@debbugs.gnu.org, 1017711@bugs.debian.org
> Date: Thu, 3 Nov 2022 04:00:46 +0100
> From: Vincent Lefevre <vincent@vinc17.net>
> 
> On 2022-11-02 14:24:51 +0200, Eli Zaretskii wrote:
> > Signal 1 is SIGHUP, AFAIU.  Why should Emacs receive SIGHUP in the
> > middle of GC, I have no idea.  Maybe ask the user what was he doing at
> > that time.  E.g., could that be a remote Emacs session?
> 
> No, it is on my local machine.

So how come Emacs gets a SIGHUP?  This is the crucial detail that is
missing here.  Basically, if SIGHUP is delivered to Emacs, Emacs is
supposed to die a violent death.

> I run emacs, and quit it immediately. The generation of the core dump
> is almost 100% reproducible. Ditto with "emacs -nw".

Wait, you mean the crash is during exiting Emacs?  That could mean
Emacs receives some input event when it's half-way through the
shutdown process, and the input descriptor is already closed.

But the backtrace you posted shows SIGHUP during GC, which is AFAIU a
very different case.





  reply	other threads:[~2022-11-03  6:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-02  1:33 bug#58956: mark_object, mark_objects(?) crash Sean Whitton
2022-11-02 12:24 ` Eli Zaretskii
2022-11-03  3:00   ` Vincent Lefevre
2022-11-03  6:47     ` Eli Zaretskii [this message]
2022-11-03 10:13       ` Vincent Lefevre
2022-11-03 10:27         ` Eli Zaretskii
2022-11-03 21:25           ` Andrea Corallo
2022-11-04  7:00             ` Eli Zaretskii
     [not found]             ` <83zgd75hll.fsf@gnu.org>
2022-11-04 21:03               ` Andrea Corallo
2022-11-05 20:54               ` Paul Eggert
2022-11-06  5:51                 ` Eli Zaretskii
2022-11-06 19:18                   ` Paul Eggert
2022-11-06 19:32                     ` Eli Zaretskii
2022-11-06 19:44                       ` Paul Eggert
2022-11-06 19:58                         ` Eli Zaretskii
2022-11-08 19:44                 ` Sean Whitton
2022-11-10 10:14                 ` Eli Zaretskii
     [not found]                 ` <87cz9x1bav.fsf@melete.silentflame.com>
2022-11-10 10:23                   ` Vincent Lefevre
2022-11-11 18:32                     ` Sean Whitton
     [not found]                     ` <87cz9twddq.fsf@melete.silentflame.com>
2022-11-12  1:55                       ` Vincent Lefevre
2022-11-13 20:51                         ` Sean Whitton
     [not found] <20220819101031.GA1491685@zira.vinc17.org>
     [not found] ` <20220822005548.GA282574@zira.vinc17.org>
     [not found]   ` <87sfjr2cuf.fsf@melete.silentflame.com>
     [not found]     ` <20221014105322.GE12227@zira.vinc17.org>
     [not found]       ` <87ilk18mkw.fsf@melete.silentflame.com>
     [not found]         ` <20221031145917.GD8422@zira.vinc17.org>
     [not found]           ` <20221101221733.GB9018@zira.vinc17.org>
2022-11-02 21:43             ` bug#58956: Bug#1017711: emacs-gtk: terminated with signal SIGABRT, 137 MB coredump Sean Whitton

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=83o7to8rh1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=1017711@bugs.debian.org \
    --cc=58956@debbugs.gnu.org \
    --cc=spwhitton@spwhitton.name \
    --cc=vincent@vinc17.net \
    /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.