From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56095: 29.0.50; nsterm.m, use after free Date: Mon, 20 Jun 2022 09:22:32 +0800 Message-ID: <87r13kw2lj.fsf@yahoo.com> References: Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16625"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 56095@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 20 03:23:25 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 1o368T-0004Du-Ff for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 03:23:25 +0200 Original-Received: from localhost ([::1]:33750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o368S-0001nj-GA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jun 2022 21:23:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3686-0001mv-Bn for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 21:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3686-0008S1-3O for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 21:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3686-0006FV-08 for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 21:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 01:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56095 X-GNU-PR-Package: emacs Original-Received: via spool by 56095-submit@debbugs.gnu.org id=B56095.165568816923988 (code B ref 56095); Mon, 20 Jun 2022 01:23:01 +0000 Original-Received: (at 56095) by debbugs.gnu.org; 20 Jun 2022 01:22:49 +0000 Original-Received: from localhost ([127.0.0.1]:53570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o367s-0006Eq-S1 for submit@debbugs.gnu.org; Sun, 19 Jun 2022 21:22:49 -0400 Original-Received: from sonic303-22.consmr.mail.ne1.yahoo.com ([66.163.188.148]:39556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o367q-0006EZ-Ge for 56095@debbugs.gnu.org; Sun, 19 Jun 2022 21:22:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655688160; bh=czPFdns2YZk7lrbaqA4Nc9yHksg4AmJUTTri5SNEWKE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=OmRZvPvaSdFvG5k/Ego3N0c7FGSPiWCJb6sVwG/D5ntoM78rZP94Y+wM+ohdiDtDE6eEIKL5tEZQHJjv3HQKHGpKynuc6lX6Kw0z7zwXelM/MfDa48Ti7mK/VpGQMYXewFAjvoXvwsdWu4ENUrp7SPs6djPAsTxskFRyYVRXcAtZOEr/UnXen+N1KVBzo8FIMWX4qZ0goyF3gwLbBIrkEJPtWwIsCoRHr5w6FlxbmGq+xluSMhNOPradch2gqX1x2dZQdJo6d/3IxkoPKcDWOqGiCprEb1yWCCXLuZgQWzWW8LKRNGfB67y50oSHGi+h60jNQ0dM1Q+9yEt+U9B3AQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655688160; bh=UMLM0skYL1hdQMow4b0xF63xTRl0X4+mGmX9e7WzHYk=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Xa3yYsTkdT2wXLiyK5mvT9UiF39mzC2zP2nOKpCidPR3fbI3Ea5pSYawIq7LKIeyi+7bwBilyAFPdQTpQmfjVuzkxVaebLIO4cyF8kE9W1gkcSoh7hjak7a5mgqBY4Ui4920Jc5eaUuUrjSYZ5axG9SqGyKKDLXzhZak2R1J9xkCWMD5ZEBTFwhQhDesxDhn1pnEjHC31pTSolI/vp2S6Qexywn8Vr0pKoGrS7cMa1QeOmVDDETEkocos99oog2NHKGKV9uTDPdWK4EszIxrCJkBBptlIB4r4RSzRNONRYQx2yR/v7pIxdROeuKmRNHDopOTcKDuaJGeppa9aLM1EQ== X-YMail-OSG: LjR.4rUVM1mJ.BIwmzvtgMPHyAmdV.CQ9qvY9kjk.Lz5hj9Cekf_ZAYMTUEhT1L HFlpM8P_Ykai6VCZjentsB7AtL7T_eQY..bx9RH0BRQV6Qhz5rCXQGP6onxsjpinfIuhow.HdOAD ifVlIhwUD2A5ZM0OPeOI6pKsFd_w47kteJplx66PhFIscgiel6NaDnX3N69DkCZxgn3ybpuKcwgk _nUiLMp4776aetQQlIo7qb3EOI0jjBEbh.LdOxvpgzdGbMwlojA6dOqWA.RACKcJN.DCHojcDmME b..nV.nTVXxi2whlRcXurbRSELYewucaSmXj07fGN7I1bpVgDjqHpa2BKDIc5C9CAqfNoK2np0MI PmcUeErHuVQei9Dp1rhZ.4HlPIILA6ZCtfTZ3b8foBDapDKfS1F8xqVgmY4odJF47MHCBsesW57B dLl1.lm8SNjAFTKTfJmbnwJjIX1YQPWBabzofiTDmZTT.7xKhHOpZyoGCkia1N53D2W0XI3LakHC xiuqDwnLzgTGKSg8doF7fHVJfv3X7C5gJZv1tAQ79UwAiMXj1CMBz9ozLKK50qdQDgB9IDBsEF2t vvNFdwvCQEI4.sOChLFc2J6bI_9ZEjQcLd4nvfcT9mvpVKBBr6qkCl3VVCMz31Ex.LRnzvIPY2f. MZOeRlB5o99mQ5wuU6fEAXTuHZRaNp1KQItgULWkZvtf8rnGcIFeQEcCxmVukzjSqAPxhhqlPTFv IAQ4yKxgci.bztllPu.o6KCXnQGIJLmgN9pN.MCLg6OnlMmlP7QKaUjQaWTxEjQu0b4b5lP9aG6d vFip9.qnJfQeUpcKyO2ZPkcVMgLgKlyHSLoE3i5dNj X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Mon, 20 Jun 2022 01:22:40 +0000 Original-Received: by hermes--canary-production-sg3-559fcd5995-zgdgz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9dd1bba5c091da95ece1fb1b61e2fb3e; Mon, 20 Jun 2022 01:22:36 +0000 (UTC) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Sun, 19 Jun 2022 16:28:14 +0200") X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:234839 Archived-At: Gerd M=C3=B6llmann writes: > So, I'm trying Emacs on MacOS now, get some non-reproducible > crashes, built master with ASAN, and the first thing it found is this: > > =3D=3D61522=3D=3DERROR: AddressSanitizer: heap-use-after-free on address = 0x00012d7deb90 at pc 0x0001008c1514 bp 0x00016fdf7230 sp 0x00016fdf7228 > WRITE of size 8 at 0x00012d7deb90 thread T0 > =3D=3D61522=3D=3DWARNING: Can't read from symbolizer at fd 25 > =3D=3D61522=3D=3DWARNING: Can't read from symbolizer at fd 26 > =3D=3D61522=3D=3DWARNING: Can't read from symbolizer at fd 27 > =3D=3D61522=3D=3DWARNING: Can't read from symbolizer at fd 28 > =3D=3D61522=3D=3DWARNING: Failed to use and restart external symbolizer! > #0 0x1008c1510 in wset_vertical_scroll_bar+0x4c (/Users/gerd/repos/em= acs/src/emacs:arm64+0x1008c1510) > #1 0x1008c19a0 in -[EmacsScroller judge]+0x360 (/Users/gerd/repos/ema= cs/src/emacs:arm64+0x1008c19a0) > #2 0x1008d641c in ns_judge_scroll_bars+0x224 (/Users/gerd/repos/emacs= /src/emacs:arm64+0x1008d641c) > #3 0x1000fa4ec in redisplay_internal+0x4ca4 (/Users/gerd/repos/emacs/= src/emacs:arm64+0x1000fa4ec) > ... Isn't that a bug, since scroll bars should only be judged for windows that are still reachable?