unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* igc: trying to chase a crash
@ 2024-11-25 18:48 Óscar Fuentes
  2024-11-25 19:23 ` Eli Zaretskii
  0 siblings, 1 reply; 53+ messages in thread
From: Óscar Fuentes @ 2024-11-25 18:48 UTC (permalink / raw)
  To: emacs-devel

I'm using scratch/igc on and off since some weeks for work (mostly
Dart/Flutter code edition with lsp-mode, quite stressing for the GC
system). Today it crashed, so I launched it again under gdb, and there
it SIGSEGVs consistently while processing the init files. That means
that it SIGSEGVs at the same point every time I try.

So I went to build it in debug mode to obtain a good backtrace, but the
build fails:

../../emacs/src/marker.c: In function ‘buf_bytepos_to_charpos’:
../../emacs/src/marker.c:389:18: error: invalid operands to binary && (have ‘int’ and ‘Lisp_Object’)
  389 |       if (record && BUF_MARKERS (b))
      |           ~~~~~~ ^~
      |           |
      |           int

$ gcc --version
gcc (Debian 14.2.0-8) 14.2.0

$ uname -a
Linux sky 6.11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1 (2024-10-27) x86_64 GNU/Linux

$ ../emacs/configure CPPFLAGS=-I/home/oscar/lib/mps/include LDFLAGS=-L/home/oscar/lib/mps/lib --with-native-compilation --with-tree-sitter --without-toolkit-scroll-bars --with-x-toolkit=lucid --with-modules --without-imagemagick --with-mps=yes --enable-checking='yes,glyphs' --enable-check-lisp-object-type CFLAGS='-O0 -g3'

The igc/branch is updated (commit 0756b1f2f5452d715396f).

So right now here igc runs when executed from the shell, but crashes on
startup when executed from gdb. And builds succesfully in release mode,
but doesn't in debug mode.

I wonder if either my build config is too infrequent or nobody is
testing igc lately?




^ permalink raw reply	[flat|nested] 53+ messages in thread

end of thread, other threads:[~2024-11-28 15:43 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).