From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22526: 25.0.90; Crash starting gnus Date: Sat, 13 Feb 2016 10:28:37 +0200 Message-ID: <837fi96mkq.fsf@gnu.org> References: <56AFD88B.5040904@gmail.com> <87pow9cc0c.fsf@gnus.org> <83h9hkse78.fsf@gnu.org> <864mdk44q6.fsf@gmail.com> <83mvrcqli1.fsf@gnu.org> <86twlg2e69.fsf@gmail.com> <8360xv9ems.fsf@gnu.org> <8637sz7xmh.fsf@gmail.com> <83io1v7xcd.fsf@gnu.org> <83fuwx7vkv.fsf@gnu.org> <86fuwxk1l1.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455352162 9743 80.91.229.3 (13 Feb 2016 08:29:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Feb 2016 08:29:22 +0000 (UTC) Cc: 22526@debbugs.gnu.org To: Andy Moreton , Fabrice Popineau Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 13 09:29:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aUVZm-0007xs-Ec for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Feb 2016 09:29:10 +0100 Original-Received: from localhost ([::1]:40353 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUVZl-0001rJ-4Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Feb 2016 03:29:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUVZi-0001qA-0q for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2016 03:29:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUVZd-0001TA-VK for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2016 03:29:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUVZd-0001T6-Rw for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2016 03:29:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aUVZd-0000lm-Lf for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2016 03:29:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Feb 2016 08:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22526 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22526-submit@debbugs.gnu.org id=B22526.14553521302939 (code B ref 22526); Sat, 13 Feb 2016 08:29:01 +0000 Original-Received: (at 22526) by debbugs.gnu.org; 13 Feb 2016 08:28:50 +0000 Original-Received: from localhost ([127.0.0.1]:38448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUVZR-0000lK-Uo for submit@debbugs.gnu.org; Sat, 13 Feb 2016 03:28:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36712) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aUVZP-0000l7-PX for 22526@debbugs.gnu.org; Sat, 13 Feb 2016 03:28:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUVZG-0001Ro-FL for 22526@debbugs.gnu.org; Sat, 13 Feb 2016 03:28:42 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUVZG-0001Rk-Bw; Sat, 13 Feb 2016 03:28:38 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3536 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aUVZF-0001mr-JB; Sat, 13 Feb 2016 03:28:38 -0500 In-reply-to: <86fuwxk1l1.fsf@gmail.com> (message from Andy Moreton on Fri, 12 Feb 2016 22:26:02 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112960 Archived-At: > From: Andy Moreton > Date: Fri, 12 Feb 2016 22:26:02 +0000 > > On Fri 12 Feb 2016, Eli Zaretskii wrote: > > >> From: Andy Moreton > >> Date: Fri, 12 Feb 2016 13:34:37 +0000 > >> > >> I have managed to reproduce the crash again, and kept the gdb > >> session running. > > > > Thanks. Now that you've succeeded, I'm going to ask you to terminate > > the debug session and try applying a patch ;-) > > No obvious problems after applying the patch, but it may take a while to > find the right circumstances to trigger any issues. Thanks, let's wait. FWIW, I'm not really sure that patch will fix the problem, for 2 reasons: (1) the code it fixes should only get executed very rarely, if ever; and (2) according to my reading of gap_left, it should have touched these addresses just before hitting the segfault. So I believe there's some other factor at work here I cannot figure out. Maybe Fabrice will have some ideas. Btw, can you attach GDB to Emacs _before_ the problem happens? It could be that the backtrace we see is not entirely reliable when attaching GDB after the segfault. Also, is this an optimized build? I don't think I've seen all the basic data collected by report-emacs-bug about your build; can you post it? Thanks.