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: Thu, 01 Apr 2021 15:31:33 -0400 Message-ID: References: <87im5ofp3z.fsf@md5i.com> <83tuouknpb.fsf@gnu.org> <83sg4eknh5.fsf@gnu.org> <83r1jykmt0.fsf@gnu.org> <2d0dbdc8-3678-cd21-234a-9c63bb004629@gmx.at> <834kgrifrt.fsf@gnu.org> <106ce987-1a45-bbdf-3897-445baa99a476@gmx.at> <745cb501-d742-8797-d07c-00125f60f8ec@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="34772"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "mwd@md5i.com" , "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 Thu Apr 01 21:32:32 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 1lS33L-0008v8-44 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Apr 2021 21:32:32 +0200 Original-Received: from localhost ([::1]:34726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lS33K-0005mU-2o for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Apr 2021 15:32:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lS330-0005li-7B for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 15:32:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47171) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lS32w-0006Vm-9X for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 15:32:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lS32w-0001Pl-5E for bug-gnu-emacs@gnu.org; Thu, 01 Apr 2021 15:32: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: Thu, 01 Apr 2021 19:32: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.16173055075413 (code B ref 47244); Thu, 01 Apr 2021 19:32:02 +0000 Original-Received: (at 47244) by debbugs.gnu.org; 1 Apr 2021 19:31:47 +0000 Original-Received: from localhost ([127.0.0.1]:58717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lS32h-0001PF-DD for submit@debbugs.gnu.org; Thu, 01 Apr 2021 15:31:47 -0400 Original-Received: from veto.sei.cmu.edu ([147.72.252.17]:55608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lS32d-0001Ow-FZ for 47244@debbugs.gnu.org; Thu, 01 Apr 2021 15:31:46 -0400 Original-Received: from korb.sei.cmu.edu (korb.sei.cmu.edu [10.64.21.30]) by veto.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 131JVakb011756; Thu, 1 Apr 2021 15:31:36 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 veto.sei.cmu.edu 131JVakb011756 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cert.org; s=yc2bmwvrj62m; t=1617305496; bh=wVxwoptIiRjNBjHaGIcH5HXUXo9UYAB0r997ipX8W+c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=nPT6Qa2nWus3QZb3hUbapHiw3Aozfq9yu9QW/wm40DBRV4GgjJw2x02iyhqy8ooqh BTDIuLA80OX3tHgu3XbMUDOC3y7ySR29iViXbZjWhKy3QJMntZdnz6U85RYYnOW7vp IRtm1kYdv8eN+nhte/qJNjVDknII64/jT6Cc2Urg= Original-Received: from lx-birch.ad.sei.cmu.edu (lx-birch.ad.sei.cmu.edu [10.64.53.120]) by korb.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id 131JVYeU029453; Thu, 1 Apr 2021 15:31:34 -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 131JVYTd005676; Thu, 1 Apr 2021 15:31:34 -0400 Original-Received: (from mwd@localhost) by lx-birch.ad.sei.cmu.edu (8.14.7/8.14.7) id 131JVXMZ005673; Thu, 1 Apr 2021 15:31:33 -0400 X-Authentication-Warning: lx-birch.ad.sei.cmu.edu: mwd set sender to mwd@cert.org using -f In-Reply-To: (Michael Welsh Duggan's message of "Thu, 1 Apr 2021 14:30: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:203447 Archived-At: Michael Welsh Duggan writes: > martin rudalics writes: > >> > Okay. I got a nice trigger from this. I've added some extra >> > debugging info after the backtrace. >> >> Thanks. Nice but not amusing. Things like that never can happen. So >> presumably *Server* is the buffer you want to get rid off. I can only >> add another diff based on that assumption. Please put a breakpoint on >> that non-sensical >> >> best_window = Qt; >> >> line 3050 in window.c. When it triggers please use "s" to painfully >> step through the entire set_window_buffer and other_buffer_safely below >> and tell me whether you find something fishy: Is other_buffer_safely >> called at all and what is the name of the "buf" it returns? Does >> set_window_buffer for some reason refuse to wset_buffer to the one >> returned by other_buffer_safely? > > The answer, which I sort of suspected, is that it never hit that > breakpoint at all before the assertion fires. I am now skeptical about that debug session and will try to recreate again in a fresh session. (When I did a "list window.c:3050" in gdb I did not get the expected listing.) -- Michael Welsh Duggan (mwd@cert.org)