From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs Subject: bug#47244: 28.0.50; SIGSEGV in long-runnning Emacs Date: Wed, 07 Apr 2021 11:29:49 -0400 Message-ID: References: <87im5ofp3z.fsf@md5i.com> <745cb501-d742-8797-d07c-00125f60f8ec@gmx.at> <7a37c708-0ac1-3b06-9042-b4b2b6d6c5d6@gmx.at> <87v990r41n.fsf@md5i.com> <4ad20b14-f4a5-07c0-3f86-698d0934d5af@gmx.at> <58c0bfca-02e6-760f-dcff-05fdc4cca135@gmx.at> <870479cc-efd3-3a19-98a3-1d7a8b9346e8@gmx.at> <79cfe67d-3a2c-952d-7c51-20e8a4859380@gmx.at> <87czv6q1f8.fsf@md5i.com> <233daa4b-ca64-955f-2612-49a0503b1938@gmx.at> <8735w2p8oc.fsf@md5i.com> <5181da75-e80d-22e0-bdcb-a0ffdc1bac6a@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28513"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Michael Welsh Duggan , "schwab@linux-m68k.org" , "47244@debbugs.gnu.org" <47244@debbugs.gnu.org> To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 07 17:34:22 2021 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 1lUACA-0007Cr-MC for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Apr 2021 17:34:21 +0200 Original-Received: from localhost ([::1]:46082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUAC9-0001eK-KI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Apr 2021 11:34:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUA90-0008C0-Fm for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2021 11:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUA90-0004dm-4q for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2021 11:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lUA90-00069z-0x for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2021 11:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Welsh Duggan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Apr 2021 15:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47244 X-GNU-PR-Package: emacs Original-Received: via spool by 47244-submit@debbugs.gnu.org id=B47244.161780940323530 (code B ref 47244); Wed, 07 Apr 2021 15:31:01 +0000 Original-Received: (at 47244) by debbugs.gnu.org; 7 Apr 2021 15:30:03 +0000 Original-Received: from localhost ([127.0.0.1]:45042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUA83-00067R-A7 for submit@debbugs.gnu.org; Wed, 07 Apr 2021 11:30:03 -0400 Original-Received: from veto.sei.cmu.edu ([147.72.252.17]:51202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUA7z-00066Q-JK for 47244@debbugs.gnu.org; Wed, 07 Apr 2021 11:30:01 -0400 Original-Received: from delp.sei.cmu.edu (delp.sei.cmu.edu [10.64.21.31]) by veto.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 137FTpSV037957; Wed, 7 Apr 2021 11:29:51 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 veto.sei.cmu.edu 137FTpSV037957 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cert.org; s=yc2bmwvrj62m; t=1617809391; bh=6IUPXixEEh9R9DWDYhNEW/7xLyd4B0rI1aggjbJlunc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=QoKei6FT41UjOMy0K6HBtWfBCDGdPJMnmGxSuRW0RSK/IPKudsF292ts+PTCeiPT2 N98k3uWS6K/IzyOij45OegfVMtAxXvBIWRswWobK1EAPH5Y4li/yef6/HrwEdacRJr X7KCxgeT2EJhZJklj4RNtSu/E3cd6oRo8X+pKazI= Original-Received: from lx-birch.ad.sei.cmu.edu (lx-birch.ad.sei.cmu.edu [10.64.53.120]) by delp.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 137FTnux002718; Wed, 7 Apr 2021 11:29:49 -0400 Original-Received: from lx-birch.ad.sei.cmu.edu (localhost [127.0.0.1]) by lx-birch.ad.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 137FTnam017689; Wed, 7 Apr 2021 11:29:49 -0400 Original-Received: (from mwd@localhost) by lx-birch.ad.sei.cmu.edu (8.14.7/8.14.7) id 137FTnja017686; Wed, 7 Apr 2021 11:29:49 -0400 X-Authentication-Warning: lx-birch.ad.sei.cmu.edu: mwd set sender to mwd@cert.org using -f In-Reply-To: <5181da75-e80d-22e0-bdcb-a0ffdc1bac6a@gmx.at> (martin rudalics's message of "Wed, 7 Apr 2021 09:35:06 -0400") 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:203691 Archived-At: martin rudalics writes: > > I can run with this, but I am uncertain how I should be using it. What > > should I be trapping on and looking at? I'm guessing the same process > > as I used before, but we get another variable we can look at in the > > process? > > Occasionally, with your two visible frames setup for Gnus look at its > value. So far we only know that it can eventually become 2 and by > explicitly setting Vframe_list to nil and triggering a window_list call > it gets set to 6. I'd like to know whether it can become 2 earlier > and/or we can detect some sort of pattern how it gets set to that value. Don't know where to go from here, but I have a breakpoint set on replace_buffer_in_windows_safely_count = 0; conditioned on count != 0. I've hit that, and here's some info. Don't know where to go from here, but I'm happy to give more info if requested. Thread 3.1 "emacs" hit Breakpoint 5, replace_buffer_in_windows_safely ( buffer=XIL(0x555556c75c9d)) at ../../master/src/window.c:3477 3477 replace_buffer_in_windows_safely_count = 0; (gdb) p Vwindow_list $1 = XIL(0x555557f034d3) (gdb) p list_length(Vwindow_list) $2 = 2 (gdb) p Vwindow_list $3 = XIL(0x555557f034d3) (gdb) xlist $4 = 0x55555791df75 Lisp_Vectorlike PVEC_WINDOW $5 = (struct window *) 0x55555791df70 100x57+0+0 --- $6 = 0x5555577f28a5 Lisp_Vectorlike PVEC_WINDOW $7 = (struct window *) 0x5555577f28a0 100x1+0+57 --- nil (gdb) p $5->contents $8 = XIL(0x5555579dc345) (gdb) xbuffer $9 = (struct buffer *) 0x5555579dc340 0x555557e69358 "build.py" (gdb) p $7->contents $10 = XIL(0x7ffff2a3cb25) (gdb) xbuffer $11 = (struct buffer *) 0x7ffff2a3cb20 0x7ffff2d244ea " *Minibuf-0*" (gdb) p window_list_lengths $12 = XIL(0x5555575cd343) (gdb) xlist $13 = 0x1a Lisp_Int0 $14 = 6 --- $15 = 0x1e Lisp_Int1 $16 = 7 --- $17 = 0x1a Lisp_Int0 $18 = 6 --- $19 = 0x1e Lisp_Int1 $20 = 7 --- $21 = 0x1a Lisp_Int0 $22 = 6 --- $23 = 0x1e Lisp_Int1 $24 = 7 --- $25 = 0x1a Lisp_Int0 $26 = 6 --- $27 = 0x1e Lisp_Int1 $28 = 7 --- $29 = 0x1a Lisp_Int0 $30 = 6 --- $31 = 0x22 Lisp_Int0 $32 = 8 --- ... $33 = 93825046649712 (gdb) p Vframe_list $34 = XIL(0x5555582da543) (gdb) xlist $35 = 0x555558285545 Lisp_Vectorlike PVEC_FRAME $36 = (struct frame *) 0x555558285540 "build.py" --- $37 = 0x555556fc830d Lisp_Vectorlike PVEC_FRAME $38 = (struct frame *) 0x555556fc8308 "*Server*" --- $39 = 0x555555eff9dd Lisp_Vectorlike PVEC_FRAME $40 = (struct frame *) 0x555555eff9d8 "F1" --- nil -- Michael Welsh Duggan (mwd@cert.org)