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.help Subject: Re: how to track down "invalid face attribute" errors? Date: Sun, 25 Sep 2022 17:01:39 +0300 Message-ID: <831qrzmu2k.fsf@gnu.org> References: <87k05rr79k.fsf@ucl.ac.uk> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28642"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 25 16:03:27 2022 Return-path: Envelope-to: geh-help-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 1ocSEA-0007Hz-CA for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 25 Sep 2022 16:03:26 +0200 Original-Received: from localhost ([::1]:47800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocSE9-0000qw-Df for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 25 Sep 2022 10:03:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocSCc-0000os-Sk for help-gnu-emacs@gnu.org; Sun, 25 Sep 2022 10:01:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56294) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocSCc-00039r-LM for help-gnu-emacs@gnu.org; Sun, 25 Sep 2022 10:01:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=OBrjSybRuQNKdjynzcrJKvInaI7AkkCygv4zP51voaU=; b=IlS/Pap/maHJ 13iNMuo0FworWMP2tqwFBDMyFwy+1pz3z+joX0fU2Vep3UkZDenHahdMTh8t8I1kO3litNSaN5OOJ Gy18erJxXv8lqZQ4+WErKEe6iU/ohM3Q+0uwVVOUFPYCSWvos2u8l921us3avZOt1U+0dGbayo3PO E/R0E3nGNCrfx+c4qSKnhsMLhNCbLnpL+cVOXJe123SRnebh3pgsoKnx05X9hjj8wzxfBdb46+3Cv RJoX5VfLdvSeZaBrJh/BO64y2JsjokztNbvX2M4eBPcVi4NJnbcOVX6hNQQb+ISJeRU9S63aNZ7K8 3QRyuPBBfu/CYeJJLUuetQ==; Original-Received: from [87.69.77.57] (port=4726 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocSCb-0001aR-Oi for help-gnu-emacs@gnu.org; Sun, 25 Sep 2022 10:01:50 -0400 In-Reply-To: <87k05rr79k.fsf@ucl.ac.uk> (message from Eric S Fraga on Sun, 25 Sep 2022 13:03:03 +0100) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139625 Archived-At: > From: Eric S Fraga > Date: Sun, 25 Sep 2022 13:03:03 +0100 > > some package I'm using is leading to errors of the form > > Invalid face attribute :foreground nil [54 times] > > can anybody suggest how I can track down which package/function is > causing this? Debugging on error doesn't catch this. All web searches > lead me to specific packages that have had this error in the past (none > of which I use). Can you run Emacs under GDB? If so, put a breakpoint on the line in xfaces.c which emits this message, and use the backtrace to find out which face causes it.