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: Thu, 6 Oct 2022 20:36:22 +0200 Message-ID: References: <83fsg1osb1.fsf@gnu.org> <837d1cpzxk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3465"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Cc: 58334@debbugs.gnu.org, luangruo@yahoo.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 06 21:04:49 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 1ogWAr-0000dH-3q for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 21:04:49 +0200 Original-Received: from localhost ([::1]:44014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogWAp-0000vz-Rs for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 15:04:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogVjz-0007jj-Ad for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 14:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogVjz-00044k-1r for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 14:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogVjy-0001f0-Tw for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 14:37: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: Thu, 06 Oct 2022 18:37: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.16650813936328 (code B ref 58334); Thu, 06 Oct 2022 18:37:02 +0000 Original-Received: (at 58334) by debbugs.gnu.org; 6 Oct 2022 18:36:33 +0000 Original-Received: from localhost ([127.0.0.1]:33569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogVjV-0001e0-1D for submit@debbugs.gnu.org; Thu, 06 Oct 2022 14:36:33 -0400 Original-Received: from mail-ej1-f54.google.com ([209.85.218.54]:33681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogVjR-0001dX-7I for 58334@debbugs.gnu.org; Thu, 06 Oct 2022 14:36:29 -0400 Original-Received: by mail-ej1-f54.google.com with SMTP id q9so1981711ejd.0 for <58334@debbugs.gnu.org>; Thu, 06 Oct 2022 11:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=Sncow3erFB87WWwyS7v+8yju70nPwv9sqdGHXKNemz8=; b=VBJQD6//5IAMyqlvPgUflGGbGIDUqXB5AblDGz4pWCf0lSqLc1tEDGVOhjhTlj7Ut/ XahcPm0AiWVb2fpFrZeCnTMOxlyTvTs6G3o7Z6Xgt1m+K+OtFlivyKsILkgN8uxuCT4L 2ngtIqxlIJbqL2KdGJ+toM3RClkzNMxmNrihf6nkzQZ2BAuzVNapSBu1UYsdbTrHvBFi K0pud8QF4q3v5gSjDSJwkXWoanVupP4rCUiGVsaMTjKSsEFNhI/UIPu83nXLKi4HicNC omibHrgVAzKmMfdDs3AwYa+q9kCX7qxZh0xJumTGWdMKQ2F7xEEglDKDckiPhXJGBewD TibA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=Sncow3erFB87WWwyS7v+8yju70nPwv9sqdGHXKNemz8=; b=gSAAElDHJcQFZw6C1GsP6yWkxnT1XIaoSeIqp6mFUPl6TqS4a8Xh/et1vOXXkU605W rVzP6dsTpZBZNKhwDAcoF6SNosIibUJwI5YNTGV+Bo7iRhM9K7VLOZJUeDFUBm1H6yNa 6m9PwunT3PVjEDI4ppPXmzu+wyTvpzA9Tlkk44kXawvD3G7IdTqxKDj2o+mnkwzm3JxL 5WZEbH6LXPocUZMf4I6qq3ejN4TvRZISkjXODk2Ck0L9467tLhPT4pSyleNELtIFvHfP PNpVg/2VwKlg5QV6oKb6y4bFl6CquKMu4WHgQ8qVlEQrln3mcP5r5IZLh8Uo5iyJ6yot Fqww== X-Gm-Message-State: ACrzQf0LIQrENJVUdO9V4KsY1fEpmVfvHVEFMhP5XS/gAtgq3FLgOacQ winmLP02CM1bXpwZrxFFzsPNATaIV2IQhg== X-Google-Smtp-Source: AMsMyM59A0apw8mz7QRmFkazec0zE48F0HyM7P+qIZaHSF32pt9eA4mEKvvnDIFJHhxEdOGL2Mhuvw== X-Received: by 2002:a17:907:d07:b0:72e:ec79:ad0f with SMTP id gn7-20020a1709070d0700b0072eec79ad0fmr1095689ejc.296.1665081383540; Thu, 06 Oct 2022 11:36:23 -0700 (PDT) Original-Received: from [192.168.178.21] (pd9e36a85.dip0.t-ipconnect.de. [217.227.106.133]) by smtp.gmail.com with ESMTPSA id 18-20020a170906301200b0073d9a0d0cbcsm71170ejz.72.2022.10.06.11.36.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Oct 2022 11:36:22 -0700 (PDT) Content-Language: en-US In-Reply-To: <837d1cpzxk.fsf@gnu.org> 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:244709 Archived-At: On 22-10-06 20:30 , Eli Zaretskii wrote: > Actually, I no longer think this will help, because redisplay_internal > sets inhibit_free_realized_faces to zero at the beginning... Yeah, I've seen the specbind right now. > Any way of figuring out which face is it that triggers the ASAN? Is > it one of the basic faces, or some non-basic face? I'm afraid no. What about the idea to additionally check for inhibited GC? That is, free faces only if not imhibit_free and not imhibit_gc?