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: Tue, 06 Apr 2021 13:24:19 -0400 Message-ID: References: <87im5ofp3z.fsf@md5i.com> <834kgrifrt.fsf@gnu.org> <106ce987-1a45-bbdf-3897-445baa99a476@gmx.at> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11334"; 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 Tue Apr 06 19:25:46 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 1lTpST-0002lw-Uj for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 19:25:45 +0200 Original-Received: from localhost ([::1]:59002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTpSS-0002eO-VC for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 13:25:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTpRo-0002cU-8d for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 13:25:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58257) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTpRm-00042W-EV for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 13:25:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTpRm-0005Ps-Ai for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 13:25: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: Tue, 06 Apr 2021 17:25:02 +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.161772987420772 (code B ref 47244); Tue, 06 Apr 2021 17:25:02 +0000 Original-Received: (at 47244) by debbugs.gnu.org; 6 Apr 2021 17:24:34 +0000 Original-Received: from localhost ([127.0.0.1]:41568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTpRJ-0005Oy-TN for submit@debbugs.gnu.org; Tue, 06 Apr 2021 13:24:34 -0400 Original-Received: from taper.sei.cmu.edu ([147.72.252.16]:40078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTpRG-0005Ok-Tq for 47244@debbugs.gnu.org; Tue, 06 Apr 2021 13:24:32 -0400 Original-Received: from delp.sei.cmu.edu (delp.sei.cmu.edu [10.64.21.31]) by taper.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 136HOPid029719; Tue, 6 Apr 2021 13:24:25 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 taper.sei.cmu.edu 136HOPid029719 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cert.org; s=yc2bmwvrj62m; t=1617729865; bh=s1BqALHq1xRuqBogskXdZtsItSscHi5Bs+qoAtXv884=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=OY7iahV8/H3NjDOMusxr1sUkXPGXt2+lZKPgTuX13qlBh+bVlS6doGN7Y8+6KchMF SBphp6INL81i8gX4x3dhPmKeLqU4HkxSwW0gSHmvSWuhdHUbOTlBz4Ud2gAxSrqkjs UbQygwOsB0bhEYG0xb3J/GEDs/FEKLsUJH9MTNwo= 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 136HOKdP007085; Tue, 6 Apr 2021 13:24:20 -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 136HOJ65025873; Tue, 6 Apr 2021 13:24:19 -0400 Original-Received: (from mwd@localhost) by lx-birch.ad.sei.cmu.edu (8.14.7/8.14.7) id 136HOJnF025870; Tue, 6 Apr 2021 13:24:19 -0400 X-Authentication-Warning: lx-birch.ad.sei.cmu.edu: mwd set sender to mwd@cert.org using -f In-Reply-To: <79cfe67d-3a2c-952d-7c51-20e8a4859380@gmx.at> (martin rudalics's message of "Tue, 6 Apr 2021 13:00:37 -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:203643 Archived-At: martin rudalics writes: > >> The mysterious aspect is (2): Why did window_list skip the *Server* > >> window? > > > > Good question. I plan to set Vwindow_list to nil and call it to see > > what happens. > > This should resolve the mystery. I wish it did. After doing this, Vwindow_list has six entries, one for each selected_window on each frame, and one for each minibuffer window on each frame. This includes the "*Server*" buffer. > >> What is the value of FRAME_ROOT_WINDOW (f) where f is the > >> *Server* frame? What is the name of that window's buffer? > > > > It's a window containing the buffer "*Server*". > > So a bad FRAME_ROOT_WINDOW can't be the cause for (2). > > >> IIUC the *Server* frame does not have a minibuffer window - correct? > > > > It didn't appear in Vwindow_list, but it does have a minibuffer. > > > > (gdb) p $116->minibuffer_window > > $139 = XIL(0x555556fc8185) > > (gdb) xwindow > > $140 = (struct window *) 0x555556fc8180 > > 84x1+0+59 > > (gdb) p $140->contents > > $141 = XIL(0x7ffff2a3cb15) > > (gdb) xbuffer > > $142 = (struct buffer *) 0x7ffff2a3cb10 > > 0x7ffff2d244ea " *Minibuf-0*" > > > > I will note that the window itself is different than the one on the > > Vwindow_list with the same contents. > > Are you sure it's on the same frame as the *Server* window (w->frame > gives you that)? What is the value of w->next for the *Server* window? I am certain. w->next on that window is a minibuffer window. -- Michael Welsh Duggan (mwd@cert.org)