From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#44506: 28.0.50; Segfault on opening a particular message in Gnus in terminal/tty Date: Mon, 09 Nov 2020 21:48:10 -0800 Message-ID: <874klxyd7p.fsf@ericabrahamsen.net> References: <87sg9l57vx.fsf@gnu.org> <83zh3t56zd.fsf@gnu.org> <874km1djdi.fsf@gnu.org> <83y2jc6hc9.fsf@gnu.org> <87mtzsbim5.fsf@ericabrahamsen.net> <83v9ef6gnu.fsf@gnu.org> <877dqvvh53.fsf@gnu.org> <83d00n65mv.fsf@gnu.org> <83blg764g4.fsf@gnu.org> <87v9ef7fc3.fsf@gnu.org> <835z6f5hoz.fsf@gnu.org> <87imafp2b4.fsf@gnu.org> <33F3730E-AF53-4CCC-B688-DEC41075CC69@gnu.org> <83y2ja4j6u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28130"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: bandali@gnu.org, 44506@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 10 06:49: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 1kcMWj-0007Cp-GU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 06:49:09 +0100 Original-Received: from localhost ([::1]:58150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcMWi-0008Jq-8c for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 00:49:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcMWc-0008Jh-4D for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 00:49:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcMWb-0001rx-Qq for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 00:49:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcMWb-0007SA-Nh; Tue, 10 Nov 2020 00:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Tue, 10 Nov 2020 05:49:01 +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.160498730228594 (code B ref 44506); Tue, 10 Nov 2020 05:49:01 +0000 Original-Received: (at 44506) by debbugs.gnu.org; 10 Nov 2020 05:48:22 +0000 Original-Received: from localhost ([127.0.0.1]:36137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcMVx-0007R8-Kr for submit@debbugs.gnu.org; Tue, 10 Nov 2020 00:48:21 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:33514 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcMVv-0007Qu-Ru for 44506@debbugs.gnu.org; Tue, 10 Nov 2020 00:48:20 -0500 Original-Received: from localhost (24-113-150-48.wavecable.com [24.113.150.48]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id F2A07FA0AE; Tue, 10 Nov 2020 05:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1604987293; bh=N8eG+7F04bogncMZRUoFAEH4SuIDLiJowd/oJ0tSnhg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=DAPob/ERcj+qtNxPQoqMDpKPr05MF+CQ86HyJWHFbUB3AWx0KEFTmdsrXBOMvBrS2 g56syue/fb2ADQ7Kd5YKJlJxBhTjlZMAJjIItPFeaYzHsxYqfDHvRcXfIThJE2wxPm UO1DQJO1CO2g0+UV3bukBP1imVq427fZPowxQeqw= In-Reply-To: <83y2ja4j6u.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 Nov 2020 17:57:13 +0200") 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:192991 Archived-At: Eli Zaretskii writes: >> Date: Mon, 09 Nov 2020 09:04:58 +0200 >> From: Eli Zaretskii >> Cc: eric@ericabrahamsen.net, 44506@debbugs.gnu.org >> >> Thanks, but this seems to be from a different GDB session? The vpos >> is 24 instead of 29 and the data of the glyph structure clearly >> differs from what pgrowx displayed in your previous report? I need >> consistent and coherent data from the same crash. >> >> Or maybe you can come up with a reproduction recipe ? That'd really >> make the debugging much more efficient... > > Alternatively, if you can give me an ssh login on that system, and set > up an account for me so that I could reproduce the problem, I could > debug it remotely on your system. I've tried today to come up with a recipe that doesn't involve installing EBDB, but so far have failed. I tried edebugging the various message-displaying functions to see exactly what was causing the bug, but got no segfault so long as the functions were instrumented. Basically EBDB attaches a hook to `gnus-article-prepare-hook', which uses `gnus-fetch-original-field' to pull some data out of the article, looks for records that match that data, and displays the records. With "emacs -Q" there are no records to search or display, so I assumed it must be the header-access functions causing the problem. But I wrote a function that does most of what EBDB does, without actually using EBDB, and it caused no segfault, so I don't know what's going on there, sorry. Eric