From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eval EXEC Newsgroups: gmane.emacs.bugs Subject: bug#72692: Emacs 31.05 (40eecd594ac) get SIGSEGV on Linux (Linux 6.6.45 Kde Wayland) Date: Sun, 18 Aug 2024 17:08:47 +0800 Message-ID: <51a90b68-3958-4d6e-bfb1-1ea5a0e8ab11@gmail.com> References: <8b1c8e1f-e0b9-4049-888c-3f723e0008a9@gmail.com> <87sev2gqc7.fsf@protonmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------aeXu043rZi2x9Y96EtdzRAag" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10740"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 72692@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 18 11:10:49 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sfbw0-0002bS-Ab for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Aug 2024 11:10:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfbvm-0006O7-Kb; Sun, 18 Aug 2024 05:10:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfbvc-0006Nj-Fg for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 05:10:25 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfbva-0006q9-Fj for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 05:10:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=7kaiQHh+LEhP/k4H969QDT498Q9R83faEQfXzl3jOX4=; b=iJkPMZrQ8nnCvCY5tpU4bYcoia+ZviGBFDFAzxmEwCj3xG26p3zH/OEtSCiJpWHS7BukDiexSNZ4ne7Hb3SMLvihDs327RbaiyCDrbvyAybKPn6bj3xshpfF9MOCGDewHQNI2/Sw7bzzKHzDTlZYlSBGrnPtRkfVn5O4zQJc2gXVMcEHljNZdlrc2RKhG5sgrmOR+eAfhQwo88gYDzw/yxMymNAQKlOTpeT5k4C4gcoLVppd1iGSSNktepaHLmJDOM/JkQ1MC/WsZSpkIP2YTuE+GjH+Qt9qCavouDcQWLvi4tNrqKqczOjNLQ8ovuthpb6NS1zaqeIglFaxBblvQw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfbwE-0007r8-G6 for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 05:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eval EXEC Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Aug 2024 09:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72692 X-GNU-PR-Package: emacs Original-Received: via spool by 72692-submit@debbugs.gnu.org id=B72692.172397224330168 (code B ref 72692); Sun, 18 Aug 2024 09:11:02 +0000 Original-Received: (at 72692) by debbugs.gnu.org; 18 Aug 2024 09:10:43 +0000 Original-Received: from localhost ([127.0.0.1]:55405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfbvu-0007qT-3O for submit@debbugs.gnu.org; Sun, 18 Aug 2024 05:10:43 -0400 Original-Received: from mail-pl1-f194.google.com ([209.85.214.194]:49491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfbvr-0007qB-H2 for 72692@debbugs.gnu.org; Sun, 18 Aug 2024 05:10:40 -0400 Original-Received: by mail-pl1-f194.google.com with SMTP id d9443c01a7336-202146e93f6so17218525ad.3 for <72692@debbugs.gnu.org>; Sun, 18 Aug 2024 02:09:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723972133; x=1724576933; darn=debbugs.gnu.org; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=7kaiQHh+LEhP/k4H969QDT498Q9R83faEQfXzl3jOX4=; b=mgaypLwe57DHea6cgxElPCSUrToyKJoi6Kl0zRlg8tPrPULzvQ+8haDqw+hqaTaAEc LNhDdb1c2rcd53Cv/Ct8BxNDtUoPUQsA1LVz/fATotLuT/fVgU6RNfh8Y8Awknw0nCVu zxCtI9oYVYO0xERlbe+AyykGZuxDeEoZKOOUEtNnkcLEskZCZu1hjGr9uQMQDZNnCueo RVUkB7ObFvYSNUJErocc/yy5hgKwwYHL55O/53QK5AXuGADC50N+RW2Cd+7rCZmh4Cpf hxbjALPpzO2rrdux5MRssOfd4akOijiINuqtYVfSfFNyi/dh8+NJLoiX0O3C+86bisvb 7OqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723972133; x=1724576933; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=7kaiQHh+LEhP/k4H969QDT498Q9R83faEQfXzl3jOX4=; b=PoS2FxLPIx45NR4+XYMGOsJu8o/Nqh/jdwAKaKmqdRAf/JRDc3X9GBZI/tT8uucOdC M959aCCmocwBDVNpuv6mD7DtxjdWyxt7QcWsgrm2iPQRd2abWKtw6m0Bu/7GGf3Ptbzl MJf2hvVk4fgpKKBbIuGjcK/fK2+8zy58rNZkcMZpvisxHvEDNokxpEIcvVUTqzC80aQz IKkyF9uQH6mMZKeZ2jmCmBVTHLw81ZOcB2zXsj2z1JeF93+et20qjHgqXuaUoZitNhot eqfr5WAW1RGxdI/dMu9oAQETfplna9ZdS83HgIILb99Mw00f47QC9OHk9Z0495iqHFvw +R/w== X-Gm-Message-State: AOJu0Yz8t34tzlk5wAJF16JHsZ41zRyXYDQMCKeKB8TxMQI6BgRtJnv/ oHt+nVk24LVZm/H09dzvOvaoupyk+CcS5DlfRL780w79DC/5otSD X-Google-Smtp-Source: AGHT+IHKdicW/DUwtJ+xIeWYRqZE9YNW+oiAeqtzcK6ZAEyQfAOIwOhy4S2lLmIKFs21FzH0UyjkRw== X-Received: by 2002:a17:902:f691:b0:201:f83e:c267 with SMTP id d9443c01a7336-20203e4f329mr89640155ad.5.1723972133117; Sun, 18 Aug 2024 02:08:53 -0700 (PDT) Original-Received: from [28.0.0.1] (144.34.182.14.16clouds.com. [144.34.182.14]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-201f03a51dasm47831895ad.293.2024.08.18.02.08.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Aug 2024 02:08:52 -0700 (PDT) Content-Language: en-US In-Reply-To: <87sev2gqc7.fsf@protonmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290301 Archived-At: This is a multi-part message in MIME format. --------------aeXu043rZi2x9Y96EtdzRAag Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit the "p *face" in "frame 9" is: ``` (gdb) frame 9 #9  0x00000000006dd64d in fontset_font (fontset=fontset@entry=0x0, c=c@entry=127802, face=face@entry=0x13fec610, id=-1) at fontset.c:793 793       rfont_def = fontset_find_font (fontset, c, face, id, 0); (gdb) p *face $1 = {lface = {0x8220, 0x28bdef4, 0x28bdf34, 0xe340, 0x16a, 0xe340, 0xe340, 0x0, 0x0, 0x4417994, 0x233c9c4, 0x0, 0x0, 0x0, 0x7f9ea6b05d63, 0xbdc613ad, 0x0, 0x2aabee4, 0x13500, 0x0}, id = 40, gc = 0x0, stipple = 0,  foreground = 4288059542, background = 4278190080, underline_color = 0, overline_color = 0, strike_through_color = 0, box_color = 4281545523, font = 0x1e4970c0, fontset = 26, box_vertical_line_width = -1,  box_horizontal_line_width = -1, underline_pixels_above_descent_line = 0, box = FACE_SIMPLE_BOX, underline = FACE_NO_UNDERLINE, use_box_color_for_shadows_p = true, overline_p = false, strike_through_p = false,  foreground_defaulted_p = false, background_defaulted_p = false, underline_defaulted_p = false, overline_color_defaulted_p = false, strike_through_color_defaulted_p = false, box_color_defaulted_p = true,  underline_at_descent_line_p = false, tty_bold_p = false, tty_italic_p = false, tty_reverse_p = false, tty_strike_through_p = false, colors_copied_bitwise_p = true, overstrike = false, hash = 322003229,  next = 0x54da8550, prev = 0x4d7343a0, ascii_face = 0x4d7343a0, extra = 0x0} (gdb) ``` > c is ?🌺 .  Are you using that character in your mode line, by any chance?  Does it show up for you in Emacs? Yes, I'm using the flower emoji in treemacs, related customize config is: ```elisp (setq    treemacs-user-mode-line-format   '(:eval (format "🌳🌺🌻: %s :🌽🍅🥦"                                       (treemacs-project->name                     (car (treemacs-workspace->projects (treemacs-current-workspace)))                     )                    )            )   ) ``` I executed ``` (gdb) source /home/exec/Projects/git.savannah.gnu.org/git/emacs/src/.gdbinit ...... Breakpoint 5 at 0x4736d9: file emacs.c, line 431. Breakpoint 6 at 0x562640: file xterm.c, line 27093. (gdb) pp Vfontset_table Cannot access memory at address 0xc82684 (gdb) ``` after I source the `/home/exec/Projects/git.savannah.gnu.org/git/emacs/src/.gdbinit` file in gdb. then I switch to frame 9: got: ``` (gdb) frame 9 #9  0x00000000006dd64d in fontset_font (fontset=fontset@entry=XIL(0), c=c@entry=127802, face=face@entry=0x13fec610, id=-1) at fontset.c:793 793       rfont_def = fontset_find_font (fontset, c, face, id, 0); (gdb) p *face $4 = {   lface = {XIL(0x8220), XIL(0x28bdef4), XIL(0x28bdf34), XIL(0xe340), make_fixnum(90), XIL(0xe340), XIL(0xe340), XIL(0), XIL(0), XIL(0x4417994), XIL(0x233c9c4), XIL(0), XIL(0), XIL(0), XIL(0x7f9ea6b05d63),     XIL(0xbdc613ad), XIL(0), XIL(0x2aabee4), XIL(0x13500), XIL(0)},   id = 40,   gc = 0x0,   stipple = 0,   foreground = 4288059542,   background = 4278190080,   underline_color = 0,   overline_color = 0,   strike_through_color = 0,   box_color = 4281545523,   font = 0x1e4970c0,   fontset = 26,   box_vertical_line_width = -1,   box_horizontal_line_width = -1,   underline_pixels_above_descent_line = 0,   box = FACE_SIMPLE_BOX,   underline = FACE_NO_UNDERLINE,   use_box_color_for_shadows_p = true,   overline_p = false,   strike_through_p = false,   foreground_defaulted_p = false,   background_defaulted_p = false,   underline_defaulted_p = false,   overline_color_defaulted_p = false,   strike_through_color_defaulted_p = false,   box_color_defaulted_p = true,   underline_at_descent_line_p = false,   tty_bold_p = false,   tty_italic_p = false,   tty_reverse_p = false,   tty_strike_through_p = false,   colors_copied_bitwise_p = true,   overstrike = false,   hash = 322003229,   next = 0x54da8550,   prev = 0x4d7343a0,   ascii_face = 0x4d7343a0,   extra = 0x0 } (gdb) ``` On 8/18/24 16:58, Pip Cet wrote: > "Eval EXEC" writes: > >> I'm help to tesing Emacs master branch (commit: 40eecd594ac) on Linux. > Thank you! > >> I compile emacs source code by: >> >> ```bash >> >> make extraclean >> ./autogen.sh \ >>   && ./configure \ >>   --prefix=$(realpath ../emacs-build/$(git branch --show-current | sed >> 's/\//_/g'))\ >>   --with-imagemagick --with-xwidgets \ >>   --with-modules --with-x-toolkit=gtk3 --without-compress-install \ >>   --without-toolkit-scroll-bars --with-native-compilation --with-mailutils\ >>   --with-tree-sitter --with-xinput2  \ >>   --with-dbus  --with-native-compilation=aot \ >>   --with-file-notification=inotify\ >>   && make -j30 install >> ``` > You might want to consider adding --enable-checking and CFLAGS="-O0 -g3 > -ggdb" or equivalent to that until this bug has been found. > >> When I using emacs, I got crash, the backtrace is : >> >> ``` >> >> line to your configuration file "/home/exec/.config/gdb/gdbinit". >> For more information about this security protection see the >> "Auto-loading safe path" section in the GDB manual.  E.g., run from the >> shell: >>         info "(gdb)Auto-loading safe path" >> warning: File >> "/nix/store/x47hg342iyiw50c1fhqjzz4n0rqy3dhh-isl-0.20/lib/libisl.so.19.1.0-gdb.py" >> auto-loading has been declined by your `auto-load safe-path' set to >> "$debugdir:$datadir/auto-load:/nix/store/40yjzm7r5ki59kkk9423dnwbm86x7pyd-gcc-13.2.0-lib". >> (gdb) c >> The program is not being run. >> (gdb) bt >> #0  0x00007f9eaeea2efc in __pthread_kill_implementation () from >> /nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6 >> #1  0x00007f9eaee52e86 in raise () from >> /nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6 >> #2  0x0000000000473791 in terminate_due_to_signal (sig=sig@entry=11, >> backtrace_limit=backtrace_limit@entry=40) at emacs.c:469 >> #3  0x0000000000473ccd in handle_fatal_signal (sig=sig@entry=11) at >> sysdep.c:1800 >> #4  0x00000000005c4bf8 in deliver_thread_signal (sig=sig@entry=11, >> handler=0x473cc2 ) at sysdep.c:1792 >> #5  0x00000000005c4c7c in deliver_fatal_thread_signal (sig=11) at >> sysdep.c:1812 >> #6  handle_sigsegv (sig=11, siginfo=, arg=> out>) at sysdep.c:1950 >> #7  >> #8  fontset_find_font (fontset=fontset@entry=0x0, c=c@entry=127802, >> face=face@entry=0x13fec610, charset_id=charset_id@entry=-1, >> fallback=fallback@entry=false) >>     at /home/exec/Projects/git.savannah.gnu.org/git/emacs/src/lisp.h:2127 >> #9  0x00000000006dd64d in fontset_font (fontset=fontset@entry=0x0, >> c=c@entry=127802, face=face@entry=0x13fec610, id=-1) at fontset.c:793 > Do you still have the core file? > > Can you print *face in this stack frame? The relevant gdb commands are > "frame 9" followed by "p *face". > > c is ?🌺 . Are you using that character in your mode line, by any > chance? Does it show up for you in Emacs? > >> I believe the crash is related to the font, but I can't reproduce it. It >> happens about once a day. > What would also be helpful would be to source .gdbinit from your src/ > directory, (gdb: > "source/home/exec/Projects/git.savannah.gnu.org/git/emacs/src/.gdbinit"), > then "pp Vfontset_table" to see how large it is. > > Thanks! > > Pip > --------------aeXu043rZi2x9Y96EtdzRAag Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

the "p *face" in "frame 9" is:
```
(gdb) frame 9
#9  0x00000000006dd64d in fontset_font (fontset=fontset@entry=0x0, c=c@entry=127802, face=face@entry=0x13fec610, id=-1) at fontset.c:793
793       rfont_def = fontset_find_font (fontset, c, face, id, 0);
(gdb) p *face
$1 = {lface = {0x8220, 0x28bdef4, 0x28bdf34, 0xe340, 0x16a, 0xe340, 0xe340, 0x0, 0x0, 0x4417994, 0x233c9c4, 0x0, 0x0, 0x0, 0x7f9ea6b05d63, 0xbdc613ad, 0x0, 0x2aabee4, 0x13500, 0x0}, id = 40, gc = 0x0, stipple = 0,
 foreground = 4288059542, background = 4278190080, underline_color = 0, overline_color = 0, strike_through_color = 0, box_color = 4281545523, font = 0x1e4970c0, fontset = 26, box_vertical_line_width = -1,
 box_horizontal_line_width = -1, underline_pixels_above_descent_line = 0, box = FACE_SIMPLE_BOX, underline = FACE_NO_UNDERLINE, use_box_color_for_shadows_p = true, overline_p = false, strike_through_p = false,
 foreground_defaulted_p = false, background_defaulted_p = false, underline_defaulted_p = false, overline_color_defaulted_p = false, strike_through_color_defaulted_p = false, box_color_defaulted_p = true,
 underline_at_descent_line_p = false, tty_bold_p = false, tty_italic_p = false, tty_reverse_p = false, tty_strike_through_p = false, colors_copied_bitwise_p = true, overstrike = false, hash = 322003229,
 next = 0x54da8550, prev = 0x4d7343a0, ascii_face = 0x4d7343a0, extra = 0x0}
(gdb)
```

c is ?🌺 .  Are you using that character in your mode line, by any
chance?  Does it show up for you in Emacs?

Yes, I'm using the flower emoji in treemacs, related customize config is:
```elisp
(setq    treemacs-user-mode-line-format
  '(:eval (format "🌳🌺🌻: %s :🌽🍅🥦"
                                      (treemacs-project->name
                    (car (treemacs-workspace->projects (treemacs-current-workspace)))
                    )
                   )
           )
  )
```

I executed ```
(gdb) source /home/exec/Projects/git.savannah.gnu.org/git/emacs/src/.gdbinit
......
Breakpoint 5 at 0x4736d9: file emacs.c, line 431.
Breakpoint 6 at 0x562640: file xterm.c, line 27093.
(gdb) pp Vfontset_table
Cannot access memory at address 0xc82684
(gdb)

```


after I source the `/home/exec/Projects/git.savannah.gnu.org/git/emacs/src/.gdbinit` file in gdb. then I switch to frame 9:

got:

```

(gdb) frame 9
#9  0x00000000006dd64d in fontset_font (fontset=fontset@entry=XIL(0), c=c@entry=127802, face=face@entry=0x13fec610, id=-1) at fontset.c:793
793       rfont_def = fontset_find_font (fontset, c, face, id, 0);
(gdb) p *face
$4 = {
  lface = {XIL(0x8220), XIL(0x28bdef4), XIL(0x28bdf34), XIL(0xe340), make_fixnum(90), XIL(0xe340), XIL(0xe340), XIL(0), XIL(0), XIL(0x4417994), XIL(0x233c9c4), XIL(0), XIL(0), XIL(0), XIL(0x7f9ea6b05d63),
    XIL(0xbdc613ad), XIL(0), XIL(0x2aabee4), XIL(0x13500), XIL(0)},
  id = 40,
  gc = 0x0,
  stipple = 0,
  foreground = 4288059542,
  background = 4278190080,
  underline_color = 0,
  overline_color = 0,
  strike_through_color = 0,
  box_color = 4281545523,
  font = 0x1e4970c0,
  fontset = 26,
  box_vertical_line_width = -1,
  box_horizontal_line_width = -1,
  underline_pixels_above_descent_line = 0,
  box = FACE_SIMPLE_BOX,
  underline = FACE_NO_UNDERLINE,
  use_box_color_for_shadows_p = true,
  overline_p = false,
  strike_through_p = false,
  foreground_defaulted_p = false,
  background_defaulted_p = false,
  underline_defaulted_p = false,
  overline_color_defaulted_p = false,
  strike_through_color_defaulted_p = false,
  box_color_defaulted_p = true,
  underline_at_descent_line_p = false,
  tty_bold_p = false,
  tty_italic_p = false,
  tty_reverse_p = false,
  tty_strike_through_p = false,
  colors_copied_bitwise_p = true,
  overstrike = false,
  hash = 322003229,
  next = 0x54da8550,
  prev = 0x4d7343a0,
  ascii_face = 0x4d7343a0,
  extra = 0x0
}
(gdb)
```




On 8/18/24 16:58, Pip Cet wrote:
"Eval EXEC" <execvy@gmail.com> writes:

I'm help to tesing Emacs master branch (commit: 40eecd594ac) on Linux.
Thank you!

I compile emacs source code by:

```bash

make extraclean
./autogen.sh \
   && ./configure \
   --prefix=$(realpath ../emacs-build/$(git branch --show-current | sed
's/\//_/g'))\
   --with-imagemagick --with-xwidgets \
   --with-modules --with-x-toolkit=gtk3 --without-compress-install \
   --without-toolkit-scroll-bars --with-native-compilation --with-mailutils\
   --with-tree-sitter --with-xinput2  \
   --with-dbus  --with-native-compilation=aot \
   --with-file-notification=inotify\
   && make -j30 install
```
You might want to consider adding --enable-checking and CFLAGS="-O0 -g3
-ggdb" or equivalent to that until this bug has been found.

When I using emacs, I got crash, the backtrace is :

```

line to your configuration file "/home/exec/.config/gdb/gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the
shell:
         info "(gdb)Auto-loading safe path"
warning: File
"/nix/store/x47hg342iyiw50c1fhqjzz4n0rqy3dhh-isl-0.20/lib/libisl.so.19.1.0-gdb.py"
auto-loading has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load:/nix/store/40yjzm7r5ki59kkk9423dnwbm86x7pyd-gcc-13.2.0-lib".
(gdb) c
The program is not being run.
(gdb) bt
#0  0x00007f9eaeea2efc in __pthread_kill_implementation () from
/nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6
#1  0x00007f9eaee52e86 in raise () from
/nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6
#2  0x0000000000473791 in terminate_due_to_signal (sig=sig@entry=11,
backtrace_limit=backtrace_limit@entry=40) at emacs.c:469
#3  0x0000000000473ccd in handle_fatal_signal (sig=sig@entry=11) at
sysdep.c:1800
#4  0x00000000005c4bf8 in deliver_thread_signal (sig=sig@entry=11,
handler=0x473cc2 <handle_fatal_signal>) at sysdep.c:1792
#5  0x00000000005c4c7c in deliver_fatal_thread_signal (sig=11) at
sysdep.c:1812
#6  handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized
out>) at sysdep.c:1950
#7  <signal handler called>
#8  fontset_find_font (fontset=fontset@entry=0x0, c=c@entry=127802,
face=face@entry=0x13fec610, charset_id=charset_id@entry=-1,
fallback=fallback@entry=false)
     at /home/exec/Projects/git.savannah.gnu.org/git/emacs/src/lisp.h:2127
#9  0x00000000006dd64d in fontset_font (fontset=fontset@entry=0x0,
c=c@entry=127802, face=face@entry=0x13fec610, id=-1) at fontset.c:793
Do you still have the core file?

Can you print *face in this stack frame? The relevant gdb commands are
"frame 9" followed by "p *face".

c is ?🌺 .  Are you using that character in your mode line, by any
chance?  Does it show up for you in Emacs?

I believe the crash is related to the font, but I can't reproduce it. It
happens about once a day.
What would also be helpful would be to source .gdbinit from your src/
directory, (gdb:
"source/home/exec/Projects/git.savannah.gnu.org/git/emacs/src/.gdbinit"),
then "pp Vfontset_table" to see how large it is.

Thanks!

Pip

--------------aeXu043rZi2x9Y96EtdzRAag--