From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83y2jc6hc9.fsf@gnu.org> References: <87sg9l57vx.fsf@gnu.org> <83zh3t56zd.fsf@gnu.org> <874km1djdi.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35509"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eric@ericabrahamsen.net, 44506@debbugs.gnu.org To: Amin Bandali Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 07 21:30:10 2020 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 1kbUqf-000995-Tv for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 21:30:09 +0100 Original-Received: from localhost ([::1]:50836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbUqe-0000F1-W7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 15:30:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbUqY-0000Ep-Qh for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 15:30:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbUqY-000680-GZ for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 15:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbUqY-00082a-77; Sat, 07 Nov 2020 15:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 07 Nov 2020 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44506 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 44506-submit@debbugs.gnu.org id=B44506.160478099030862 (code B ref 44506); Sat, 07 Nov 2020 20:30:02 +0000 Original-Received: (at 44506) by debbugs.gnu.org; 7 Nov 2020 20:29:50 +0000 Original-Received: from localhost ([127.0.0.1]:59313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbUqL-00081h-Oj for submit@debbugs.gnu.org; Sat, 07 Nov 2020 15:29:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbUqJ-00081R-CR for 44506@debbugs.gnu.org; Sat, 07 Nov 2020 15:29:47 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36786) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbUqD-00066p-My; Sat, 07 Nov 2020 15:29:41 -0500 Original-Received: from [176.228.60.248] (port=3247 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kbUqC-0002iS-L0; Sat, 07 Nov 2020 15:29:41 -0500 In-Reply-To: <874km1djdi.fsf@gnu.org> (message from Amin Bandali on Sat, 07 Nov 2020 15:03:53 -0500) 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" Xref: news.gmane.io gmane.emacs.bugs:192853 Archived-At: > From: Amin Bandali > Cc: 44506@debbugs.gnu.org, Eric Abrahamsen > 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.