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#58334: 29.0.50; ASAN heap use after free in gui_produce_glyphs Date: Fri, 07 Oct 2022 10:54:34 +0200 Message-ID: References: <87mta8qx48.fsf@yahoo.com> <83v8ownmi1.fsf@gnu.org> <874jwgqbd6.fsf@yahoo.com> 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="34049"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58334@debbugs.gnu.org, Eli Zaretskii To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 07 10:56:37 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 1ogj9n-0008cr-St for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 10:56:35 +0200 Original-Received: from localhost ([::1]:45370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogj9m-00055F-Ik for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 04:56:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogj8P-00051L-2h for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 04:55:13 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35261) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogj8I-0003ns-86 for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 04:55:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogj8I-0000qJ-3A for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 04:55:02 -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: Fri, 07 Oct 2022 08:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58334 X-GNU-PR-Package: emacs Original-Received: via spool by 58334-submit@debbugs.gnu.org id=B58334.16651328863215 (code B ref 58334); Fri, 07 Oct 2022 08:55:02 +0000 Original-Received: (at 58334) by debbugs.gnu.org; 7 Oct 2022 08:54:46 +0000 Original-Received: from localhost ([127.0.0.1]:34339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogj82-0000pn-50 for submit@debbugs.gnu.org; Fri, 07 Oct 2022 04:54:46 -0400 Original-Received: from mail-ej1-f41.google.com ([209.85.218.41]:44632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogj7y-0000pW-6O for 58334@debbugs.gnu.org; Fri, 07 Oct 2022 04:54:45 -0400 Original-Received: by mail-ej1-f41.google.com with SMTP id o21so9804094ejm.11 for <58334@debbugs.gnu.org>; Fri, 07 Oct 2022 01:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=+Z1kKklZ4kFADtGjANflSquezM2KT4EXE7CctJX+BlM=; b=cUBl9+7HdGipXgw1+/WCRTti5XL4kaxRAm4/IFgaemhTpt6O0pTFS0WH6YHU9lU2oX iwf0llWX+v6rTeOSUQLKX7udRkZQaTDZlI03YWvV/jA+gpdJLXSDJ5OR2bcox51cU2xY PPCpq9h5S9K2v39/Tn9/kyR4VPy0UD8i1DjxjtVLcGNYoP4weZvaWxrtydUGjbfSe4yi 4TxXszJkkVGtY4dOTi5KRcfTERfRvaK2HPjmZNZskv4LDHuQf8JW2v32iNAyDCK5QXxB +FL+FJFrbskBeKF2E80JgzABcpId2OrAOI8OOENr/GzLfXhVlb0x12dupd+8GMRhpCkr mLjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date; bh=+Z1kKklZ4kFADtGjANflSquezM2KT4EXE7CctJX+BlM=; b=5vQ8U+woh4bfy1UDFKIXdzbx/9IkOVvTxzfsEdw3AIIb0K3Jj9K4mTYR6DMcsBas0Z Hvje8kamTWMDfXllClWk9sFIdM8LkklY9w4pzaN70hS+12J0UELT8Y1xGJ2KVDQYQqtf pCq8V0hZEeD+Zp0gmv6guzY/JtxQUf49K/qrIigFQKpFWXfPg5TZ5pCEs34fSaJaQ4tn 9S5P6CO33tuVWcokTUxD5f3opKojjHnTSjJ1Vh+IY1sntB+ehHbPi0jBpxt0edadJnEv eNTJmhCc6lqSzB1ZCpb/wURX0v/85Inu2My47WcjYbRHYDxX1hG+ITVbdfyiafELJydr J+7Q== X-Gm-Message-State: ACrzQf0+BDz+hdZEG4Ad7J+ybXhMp5z3KaS+OYBGS+7L+KkyVEv41b0a w5g3lTVRdbnx9Pjaik8mJwaixJ3dByutlA== X-Google-Smtp-Source: AMsMyM4ogIWNFPdRxO6q2BlblG3WK3I+Ru9JyebxH2hlWkN7+XeWKAY1JLwx7c5tMl9i1Li0SEfkSg== X-Received: by 2002:a17:907:75dc:b0:783:9c71:5e20 with SMTP id jl28-20020a17090775dc00b007839c715e20mr3212319ejc.125.1665132875713; Fri, 07 Oct 2022 01:54:35 -0700 (PDT) Original-Received: from Mini.fritz.box (pd9e36c8d.dip0.t-ipconnect.de. [217.227.108.141]) by smtp.gmail.com with ESMTPSA id o14-20020a50fd8e000000b00459148fbb3csm1023558edt.86.2022.10.07.01.54.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Oct 2022 01:54:35 -0700 (PDT) In-Reply-To: <874jwgqbd6.fsf@yahoo.com> (Po Lu's message of "Fri, 07 Oct 2022 16:36:05 +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:244751 Archived-At: Po Lu writes: > Gerd M=C3=B6llmann writes: > >> And, while vaccuming, I also wondered what happens with the glyph >> matrices, and maybe other global state? > > Isn't input blocked wherever the glyph matrices are modified? > If not, Partly. Eli please correct me if this has changed. Redisplay has two phases: 1. Building desired matrices, that is, what should be on the screen after redisplay. 2. Updating current matrices from desired matrices, and bringing that on the screen. Only phase 2 has input blocked because the current matrices are modified, which are shared state with the GUI code. > how come expose_frame always works correctly? Expose uses only current matrices.