unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: emacs-devel@gnu.org
Subject: Re: igc: trying to chase a crash
Date: Mon, 25 Nov 2024 22:01:48 +0200	[thread overview]
Message-ID: <86zflngk0j.fsf@gnu.org> (raw)
In-Reply-To: <87zfln1468.fsf@telefonica.net> (message from Óscar Fuentes on Mon, 25 Nov 2024 20:53:03 +0100)

> From: Óscar Fuentes <ofv@wanadoo.es>
> Date: Mon, 25 Nov 2024 20:53:03 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > SIGSEGV is used by MPS to implement memory barriers.  The file
> > src/.gdbinit on the branch has this:
> >
> >   # Pass on signals used by MPS to suspend threads.
> >   if defined_HAVE_MPS
> >     # Print SIGSEGV for now, since it makes the logs more useful.  Don't
> >     # stop, though.
> >     handle SIGSEGV nostop print pass
> >     handle SIGXFSZ nostop noprint pass
> >     handle SIGXCPU nostop noprint pass
> >   end
> 
> So does it make sense to run igc under gdb for obtaining backtraces when
> it crashes?

Yes, it does.  Because if you hit a real segfault, it will stop again.

> 
> >>   389 |       if (record && BUF_MARKERS (b))
> >>       |           ~~~~~~ ^~
> >>       |           |
> >>       |           int
> >
> > I tried to fix this now, please try again.
> 
> Thanks. That instance compiles now, but then...
> 
> ../../emacs/src/fns.c: In function ‘weak_hash_remove_from_table’:
> ../../emacs/src/fns.c:5789:26: error: invalid operands to binary == (have ‘Lisp_Object’ and ‘Lisp_Object’)
>  5789 |               && hashval == WEAK_HASH_HASH (h, i)
>       |                          ^~ ~~~~~~~~~~~~~~~~~~~~~
>       |                             |
>       |                             Lisp_Object

Fixed.

How about if you say "make -k", so that we see all the problems at
once, not one by one?



  reply	other threads:[~2024-11-25 20:01 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-25 18:48 igc: trying to chase a crash Óscar Fuentes
2024-11-25 19:23 ` Eli Zaretskii
2024-11-25 19:53   ` Óscar Fuentes
2024-11-25 20:01     ` Eli Zaretskii [this message]
2024-11-25 20:51       ` Óscar Fuentes
2024-11-26  3:33         ` Eli Zaretskii
2024-11-26  5:17         ` Gerd Möllmann
2024-11-26 18:29           ` chad
2024-11-26 21:39             ` Andrea Corallo
2024-11-27  5:28               ` Gerd Möllmann
2024-11-27  7:50                 ` Andrea Corallo
2024-11-27  7:55                   ` Gerd Möllmann
2024-11-27  8:52                     ` Andrea Corallo
2024-11-27  9:12                       ` Gregor Zattler
2024-11-27  9:26                         ` Andrea Corallo
2024-11-27 10:02                           ` Gerd Möllmann
2024-11-27 10:25                             ` icg build instructions [was: Re: igc: trying to chase a crash] Andrea Corallo
2024-11-27 11:12                               ` Gerd Möllmann
2024-11-27 11:51                                 ` Óscar Fuentes
2024-11-27 14:23                                   ` Gerd Möllmann
2024-11-27 13:43                                 ` Andrea Corallo
2024-11-27 13:49                                   ` Andrea Corallo
2024-11-27 14:16                                   ` Gerd Möllmann
2024-11-28 12:46                                   ` Óscar Fuentes
2024-11-28 12:55                                     ` Gerd Möllmann
2024-11-28 13:00                                     ` Pip Cet via Emacs development discussions.
2024-11-28 14:10                                       ` Óscar Fuentes
2024-11-27 15:10                               ` Eli Zaretskii
2024-11-28  4:42                                 ` Gerd Möllmann
2024-11-28  9:35                                   ` Eli Zaretskii
2024-11-27 10:40                           ` igc: trying to chase a crash Vincenzo Pupillo
2024-11-27 10:44                             ` Andrea Corallo
2024-11-27 10:59                               ` Óscar Fuentes
2024-11-27 15:02                                 ` Andrea Corallo
2024-11-27 11:16                               ` Gerd Möllmann
2024-11-27 13:47                                 ` Andrea Corallo
2024-11-27 14:48                                   ` Gerd Möllmann
2024-11-27 15:04                                     ` Óscar Fuentes
2024-11-27 12:37                               ` Jeff Walsh
2024-11-27 15:11                             ` Eli Zaretskii
2024-11-27  9:55                       ` Gerd Möllmann
2024-11-27 10:01                         ` Andrea Corallo
2024-11-27 10:08                           ` Gerd Möllmann
2024-11-27 10:18                             ` scratch/igc as a feature branch [was: Re: igc: trying to chase a crash] Andrea Corallo
2024-11-27 15:08                               ` Eli Zaretskii
2024-11-28 10:56                                 ` Andrea Corallo
2024-11-28 11:59                                   ` Eli Zaretskii
2024-11-28 12:54                                     ` Gerd Möllmann
2024-11-28 12:57                                       ` Pip Cet via Emacs development discussions.
2024-11-28 13:12                                         ` Gerd Möllmann
2024-11-28 15:43                                       ` Andrea Corallo
2024-11-27 15:06                         ` igc: trying to chase a crash Eli Zaretskii
2024-11-28  4:46                           ` Gerd Möllmann

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86zflngk0j.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ofv@wanadoo.es \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).