From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58042: 29.0.50; ASAN use-after-free in re_match_2_internal Date: Wed, 05 Oct 2022 16:40:34 +0300 Message-ID: <835ygytmlp.fsf@gnu.org> References: <83edvnv965.fsf@gnu.org> <83pmf6u76i.fsf@gnu.org> <83mtaau43p.fsf@gnu.org> <83ilkytyif.fsf@gnu.org> <87y1tuv851.fsf@yahoo.com> <87pmf6v7hy.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39608"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, alan@idiocy.org, 58042@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 05 15:41:22 2022 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 1og4eI-000A9H-BY for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Oct 2022 15:41:22 +0200 Original-Received: from localhost ([::1]:55032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1og4eH-0004DB-CR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Oct 2022 09:41:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1og4dy-0004Aj-Rp for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 09:41:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57240) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1og4dy-0007K4-In for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 09:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1og4dy-0006fv-EP for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 09:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Oct 2022 13:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58042 X-GNU-PR-Package: emacs Original-Received: via spool by 58042-submit@debbugs.gnu.org id=B58042.166497724425621 (code B ref 58042); Wed, 05 Oct 2022 13:41:02 +0000 Original-Received: (at 58042) by debbugs.gnu.org; 5 Oct 2022 13:40:44 +0000 Original-Received: from localhost ([127.0.0.1]:56317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1og4dg-0006fB-5t for submit@debbugs.gnu.org; Wed, 05 Oct 2022 09:40:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1og4dd-0006ex-Nx for 58042@debbugs.gnu.org; Wed, 05 Oct 2022 09:40:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1og4dX-0007Gx-Lb; Wed, 05 Oct 2022 09:40:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=K87NWHbW78TGR6Ngubt3QIrswDZqsRdC0Qkz7QOAqRA=; b=X3/aRnjr+8oS 2AUaRe8mdCouOfUoyHlCYgzVROhPAzORPwv/1qi/ITiXfm2sJity+TTt0v+yfFsE5i73aVP6vdHCO GnSE68OOyiFKo6pRvifV/0gceOOWui1odXSY6G1/GJ8sgrvbRPJzjSROidkh9dahFAIBn6Clp8AEL 2VSGfKslhnNoXXA3oR2ltBb15rflAZEckNZOuTaSq3MGoCZU+vEhCAMVQHHqvw0rbk8U4B6XsOJKt j8RRMgCixNuBuzu9QsjrySnRktCULNkiDjAxBAOdrBiiRQ1xjgEuE9KwBxLr7IU6NsR/rAMDO4VS/ dx4y8sr1olsFlobLHC7IZA==; Original-Received: from [87.69.77.57] (port=3850 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1og4dW-0007nr-OR; Wed, 05 Oct 2022 09:40:35 -0400 In-Reply-To: <87pmf6v7hy.fsf@yahoo.com> (message from Po Lu on Wed, 05 Oct 2022 19:23:53 +0800) 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:244532 Archived-At: > From: Po Lu > Cc: Eli Zaretskii , Alan Third , > 58042@debbugs.gnu.org > Date: Wed, 05 Oct 2022 19:23:53 +0800 > > >> + if (w->next) > >> + mark_window (w->next); > >> + > >> /* Filter out killed buffers from both buffer lists > >> in attempt to help GC to reclaim killed buffers faster. > >> We can do it elsewhere for live windows, but this is the > > > > Indeed, that seems to work! > > Right. I've not had the time to investigate why unmarked windows remain > in the window tree Maybe those windows were deleted?