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.devel Subject: Re: MPS: face-cache Date: Tue, 30 Apr 2024 14:09:02 +0300 Message-ID: <86edanqf8x.fsf@gnu.org> References: <87r0eqaslt.fsf@gmail.com> <87mspeas8s.fsf@gmail.com> <87bk5tc1j6.fsf@gmail.com> <877cghc0yy.fsf@gmail.com> <86jzkhu5rv.fsf@gnu.org> <87ttjlabic.fsf@gmail.com> <87v8408wsr.fsf@gmail.com> <87o79sasl5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34796"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eller.helmut@gmail.com, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 30 13:10:02 2024 Return-path: Envelope-to: ged-emacs-devel@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 1s1lN4-0008m1-IZ for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Apr 2024 13:10:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1lMF-0006Mi-40; Tue, 30 Apr 2024 07:09:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1lMC-0006M9-Lo for emacs-devel@gnu.org; Tue, 30 Apr 2024 07:09:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1lMC-0003dY-D0; Tue, 30 Apr 2024 07:09:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=7yG8rYZl0HzjgH4dmxd5R4OEHxNOTaHLkFzUT+AhUow=; b=OPa8Sbm2ZxrbnW/NFCFR PaKPgJldi+1YGVi13BNZBaw96fOV4gd5Qp/lnfU4PRI/cW0Dc9DPx7Ljo0dYcsU3vIzSUJh0hRzgG QROTxl12/mxPzsY8n36LvcdSLOOgXYUPEcfPucL0NSARxcYJv60Wz0UagF5JgBedzJtZNoLn6TNS+ ryeSN03llJGvrYGrBQ+xuVgFhj3smzClr7Wwib1WtTetClOEnneWrwWV38lqlKkwiRKTqo+9bqvuJ xFLUL+5uogPgG7NKbJ44YU7wdHKg8XNoekTHrRlNR8ZhUF7a9qd8bgBKz69DHlxYm5hV1Zm07Xh1Z FezKpkdbiXrEzw==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Mon, 29 Apr 2024 21:36:01 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318413 Archived-At: > From: Gerd Möllmann > Cc: Eli Zaretskii , emacs-devel@gnu.org > Date: Mon, 29 Apr 2024 21:36:01 +0200 > > Helmut Eller writes: > > > There also are glyph matrices in struct frame that aren't traced yet, > > but adding code to fix_frame didn't help. Even struct tty_menu_state > > has glyph matrices; though probably not used in GUI mode. Either way, a > > useful test case. > > Maybe the frame matrix is actually responsible for the crashes. > > Windows on tty frames, don't manage their own memory but use parts of a > frame matrix which the frame malloc's. There are two caveats here, see my other message. > On startup, I believe we have initially a tty frame (invisble). That frame is deleted in the GUI session, but AFAIR is kept in the -nw session and in daemon sessions. So we should probably do something about it as well.