unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Amin Bandali <bandali@gnu.org>
Cc: eric@ericabrahamsen.net, 44506@debbugs.gnu.org
Subject: bug#44506: 28.0.50; Segfault on opening a particular message in Gnus in terminal/tty
Date: Sat, 07 Nov 2020 22:29:42 +0200	[thread overview]
Message-ID: <83y2jc6hc9.fsf@gnu.org> (raw)
In-Reply-To: <874km1djdi.fsf@gnu.org> (message from Amin Bandali on Sat, 07 Nov 2020 15:03:53 -0500)

> From: Amin Bandali <bandali@gnu.org>
> Cc: 44506@debbugs.gnu.org, Eric Abrahamsen <eric@ericabrahamsen.net>
> Date: Sat, 07 Nov 2020 15:03:53 -0500
> 
> After some bisecting of my config files, I narrowed the segaulting of
> Gnus when opening that message down to inclusion of (require 'ebdb-gnus)
> in my configs.  ebdb-gnus is part of EBDB, available on GNU ELPA.  I'm
> Cc'ing Eric, EBDB's creator and maintainer, in case he might have any
> ideas.

I don't see anything in EBDB that could cause Emacs to use static
compositions, but maybe I'm missing something.

> > 	  if (src->u.cmp.automatic)
> > 	    {
> > 	      gstring = composition_gstring_from_id (src->u.cmp.id);
> > 	      required = src->slice.cmp.to - src->slice.cmp.from + 1;
> > 	    }
> > 	  else
> > 	    {
> > 	      cmp = composition_table[src->u.cmp.id];  <<<<<<<<<<<<<<<
> > 	      required = cmp->glyph_len;
> > 	    }
> >
> > If that is true, then I don't understand how it happened: we don't use
> > any compositions except automatic in Emacs, so I'm unsure how you get
> > to that place.  Can you see which place in the code indeed crashes and
> > why?
> 
> GDB's source display does indeed highlight that line for me.  Is this
> the confirmation you were looking for, or did you mean I should look
> into disabling optimization and *then* run Emacs through GDB to collect
> the backtrace?

Reproducing in an unoptimized build would be the most efficient way of
telling if that's indeed something related to static compositions.

Thanks.





  reply	other threads:[~2020-11-07 20:29 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-07 18:39 bug#44506: 28.0.50; Segfault on opening a particular message in Gnus in terminal/tty Amin Bandali
2020-11-07 18:58 ` Eli Zaretskii
2020-11-07 20:03   ` Amin Bandali
2020-11-07 20:29     ` Eli Zaretskii [this message]
2020-11-08  4:03       ` Eric Abrahamsen
2020-11-08 14:56         ` Eli Zaretskii
2020-11-08 18:27           ` Amin Bandali
2020-11-08 18:54             ` Eli Zaretskii
2020-11-08 19:20               ` Eli Zaretskii
2020-11-08 20:39                 ` Amin Bandali
2020-11-09  3:31                   ` Eli Zaretskii
2020-11-09  4:43                     ` Amin Bandali
2020-11-09  7:04                       ` Eli Zaretskii
2020-11-09 15:57                         ` Eli Zaretskii
2020-11-10  5:42                           ` Amin Bandali
2020-11-10  5:48                           ` Eric Abrahamsen
2020-11-10 15:31                             ` Eli Zaretskii
2020-11-13  5:20                               ` Amin Bandali
2020-11-14 12:14                                 ` Eli Zaretskii
2020-11-14 17:19                                   ` Amin Bandali
2022-04-22 13:38                                   ` Lars Ingebrigtsen
2020-11-08  4:05       ` Eric Abrahamsen

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=83y2jc6hc9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=44506@debbugs.gnu.org \
    --cc=bandali@gnu.org \
    --cc=eric@ericabrahamsen.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 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).