From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#56095: 29.0.50; nsterm.m, use after free Date: Mon, 20 Jun 2022 08:02:48 +0200 Message-ID: <1e49efb3-c70d-4c58-82a3-50cca5298858@Spark> References: <87r13kw2lj.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="62b00d8d_4f4ef005_fcf7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4350"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56095@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 20 08:06: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 1o3AYL-00012m-IL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 08:06:25 +0200 Original-Received: from localhost ([::1]:54966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3AYK-0000J5-C1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 02:06:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3AW2-0006Sk-Ax for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 02:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3AW2-0005mI-2r for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 02:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3AW1-00010B-Ug for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 02:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 06:04: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.16557049833783 (code B ref 56095); Mon, 20 Jun 2022 06:04:01 +0000 Original-Received: (at 56095) by debbugs.gnu.org; 20 Jun 2022 06:03:03 +0000 Original-Received: from localhost ([127.0.0.1]:53863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3AV4-0000yw-QJ for submit@debbugs.gnu.org; Mon, 20 Jun 2022 02:03:02 -0400 Original-Received: from mail-ej1-f42.google.com ([209.85.218.42]:35825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3AV3-0000yS-3s for 56095@debbugs.gnu.org; Mon, 20 Jun 2022 02:03:01 -0400 Original-Received: by mail-ej1-f42.google.com with SMTP id me5so18989517ejb.2 for <56095@debbugs.gnu.org>; Sun, 19 Jun 2022 23:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version; bh=50ezrkqyfO/y4SyYLlsS95tBeSAu+Qdr70g60znsQic=; b=ckl96udOtPVFIH4+8JYJp0NgfqP0+w5t7DCq5OwGL8mBSAvmdrzuNaUVuq6kkXcXzI tnoR09czTRbqzWqVKSVtU0qwDz///ky+vZapliaI6y36PqOLSNAgkUdCIkxr3l5VrBhR yyK1CycYCdlKuB7ej9XT//HtiNou0fKjSP+DQprtRujRhMbnbeTSKrlGBeuRRWFYfRtD 9tDapwuR97LAxP7k9pnbhwP+FSVvw1BAhq/Yj9yaD3C3fd4LTb++6K/kJv50eWPKshcv rKoHgWCCKn3Hff9YoIHF7AViROhHe699oDcsz4xUrwnTv3ozMpDD5QNo+dUNkih9kjoR YOLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version; bh=50ezrkqyfO/y4SyYLlsS95tBeSAu+Qdr70g60znsQic=; b=h4ZF/VzOmpLHafxyFUW/gm0cLVoJKAda0JFtsCKS9u0xWRJxrchZ/SvF23AVRdIsSV DYDojX0Y8BySXEkZb5FoYaHQvlQvcjjOiVnVZb6GRVuCHx276odOu/TKE/0MW5iXXslu Vthp+XAPQERBzgKq0H6cMAiE5aUZeaidGJngYl0aAZmYJJT2ebb4xE1ztMScbnc6yotu EVoT0JFF5QBae+IhTaE0/CjLUl4wlKuJlxDmisfMcdEO6pOU1EkKzgG2u9lrNw2hyeZK MiFuNEquRhGUIwnUqu3TOoFyaHRIbUCpYmvFrXCTJCcFqfX1/b0R4hlq/29zPabt8cTg vySQ== X-Gm-Message-State: AJIora8UDbGanGUWQeEfkmSX7qbVAgeB4sPL4J8ZlFZhUZonmvbYKhcn /0ARWXBZz4L+G7nFrt+DK1+NSHc9KOzmww== X-Google-Smtp-Source: AGRyM1vvVBOeItvUbxBadBiSAPZfmVsuLn9GFEo4Qh90LA3RPBPoyOlmueezDlKC4GCFPVBxTE0Yfw== X-Received: by 2002:a17:907:3d8a:b0:70e:6b1:b004 with SMTP id he10-20020a1709073d8a00b0070e06b1b004mr19918977ejc.61.1655704975307; Sun, 19 Jun 2022 23:02:55 -0700 (PDT) Original-Received: from [192.168.178.21] (pd9e3670e.dip0.t-ipconnect.de. [217.227.103.14]) by smtp.gmail.com with ESMTPSA id q17-20020a17090676d100b006fea59ef3a5sm5363864ejn.32.2022.06.19.23.02.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jun 2022 23:02:54 -0700 (PDT) In-Reply-To: <87r13kw2lj.fsf@yahoo.com> X-Readdle-Message-ID: 1e49efb3-c70d-4c58-82a3-50cca5298858@Spark 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:234846 Archived-At: --62b00d8d_4f4ef005_fcf7 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 20. Jun 2022, 03:22 +0200, Po Lu , wrote: > > Isn't that a bug, since scroll bars should only be judged for windows > that are still reachable=3F I'd say no:=C2=A0=C2=A0Ns=5Fjudge=5Fscroll=5Fbars is called for a frame, = and loops over EmascScroller subviews of that frame. I don't see how it i= s could be certain that all EmascScrollers reference a live Emacs window = at that point. --62b00d8d_4f4ef005_fcf7 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
On 20. Jun 2022, 03:22 +0200, Po Lu <luangruo=40= yahoo.com>, wrote:

Isn't that a bug, since scroll bars should only be judged for windows
that are still reachable=3F

I'd say no:&=23160;&=23160;Ns=5Fjudge=5Fscroll=5Fbars is called for a fra= me, and loops over EmascScroller subviews of that frame. I don't see how = it is could be certain that all EmascScrollers reference a live Emacs win= dow at that point.
--62b00d8d_4f4ef005_fcf7--