all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sean Whitton <spwhitton@spwhitton.name>
Cc: 58956@debbugs.gnu.org
Subject: bug#58956: mark_object, mark_objects(?) crash
Date: Wed, 02 Nov 2022 14:24:51 +0200	[thread overview]
Message-ID: <83a659bl2k.fsf@gnu.org> (raw)
In-Reply-To: <874jvi5edp.fsf@melete.silentflame.com> (message from Sean Whitton on Tue, 01 Nov 2022 18:33:38 -0700)

> From: Sean Whitton <spwhitton@spwhitton.name>
> Date: Tue, 01 Nov 2022 18:33:38 -0700
> 
> Thread 1 (Thread 0x7f5b914cb380 (LWP 35005)):
> #0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
>         tid = <optimized out>
>         ret = 0
>         pd = <optimized out>
>         old_mask = {__val = {0 <repeats 16 times>}}
>         ret = <optimized out>
> #1  0x00007f5b922895df in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
> #2  0x00007f5b9223da02 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
>         ret = <optimized out>
> #3  0x000055fdfd114864 in terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=40) at ./debian/build-src/src/emacs.c:437
> #4  0x000055fdfd114d27 in emacs_abort () at ./debian/build-src/src/sysdep.c:2282
> #5  0x000055fdfd111e99 in check_message_stack () at ./debian/build-src/src/xdisp.c:12157
> #6  0x000055fdfd20492a in shut_down_emacs (sig=0, stuff=0x0) at ./debian/build-src/src/emacs.c:2789
>         tpgrp = <optimized out>
> #7  0x000055fdfd114765 in Fkill_emacs (arg=arg@entry=0x6) at ./debian/build-src/src/emacs.c:2692
>         exit_code = <optimized out>
> #8  0x000055fdfd114827 in terminate_due_to_signal (sig=sig@entry=1, backtrace_limit=backtrace_limit@entry=40) at ./debian/build-src/src/emacs.c:417
> #9  0x000055fdfd114d00 in handle_fatal_signal (sig=sig@entry=1) at ./debian/build-src/src/sysdep.c:1762
> #10 0x000055fdfd114d17 in deliver_process_signal (handler=0x55fdfd114cf5 <handle_fatal_signal>, sig=1) at ./debian/build-src/src/sysdep.c:1720
>         old_errno = 2
>         on_main_thread = true
> #11 deliver_fatal_signal (sig=1) at ./debian/build-src/src/sysdep.c:1768
> #12 0x00007f5b9223daa0 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
> #13 0x000055fdfd2641c3 in mark_object (arg=0x295d90329a68) at ./debian/build-src/src/alloc.c:6628
>         obj = 0x295d90329a68
>         po = <optimized out>
>         cdr_count = 0

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?

Other than that, I don't see what can be done with this data: this is
an optimized build, and there's no real data in the backtrace to begin
considering why would SIGHUP happen.  Sorry.





  reply	other threads:[~2022-11-02 12:24 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 [this message]
2022-11-03  3:00   ` Vincent Lefevre
2022-11-03  6:47     ` Eli Zaretskii
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=83a659bl2k.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=58956@debbugs.gnu.org \
    --cc=spwhitton@spwhitton.name \
    /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.